[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt][qemu] unable to start guest under kvm



On Mon, 2009-09-07 at 14:07 +0400, Anton Protopopov wrote:
> Hi, all.
> 
> I have the following problem: when I creating a guest, libvirt
> resolves
>     <type ... machine="pc" ...>
> to
>     <type ... machine="pc-0.11" ...>
> as provided by
> http://www.mail-archive.com/libvir-list redhat com/msg15014.html
> 
> When <type ... machine="pc-0.11" ...> or <type ...
> machine="pc-0.10" ...> is set, I get
> two following errors (which would happend is unpredictable)
>   # virsh -c qemu:///system start $d
>   error: Failed to start domain Desktop
>   error: internal error unable to start guest: Supported machines are:
>   pc         Standard PC (default)
>   isapc      ISA-only PC
> and
>   # virsh -c qemu:///system start $d
>   error: Failed to start domain Desktop
>   error: monitor socket did not show up.: Connection refused
> When <type ... machine="pc" ...> is set, this guest starts
> successfully.

What does 'virsh dumpxml $d | grep emulator' give?

Also, what is the output of 'virsh capabilities' ?

> The domain type of this machine is "kvm". But I have 
>   # qemu --version && kvm --help | head -1
>   QEMU PC emulator version 0.11.50, Copyright (c) 2003-2008 Fabrice
> Bellard
>   QEMU PC emulator version 0.10.0 (kvm-devel), Copyright (c) 2003-2008
> Fabrice Bellard
> on that HN.

What does 'qemu -M ?' and 'kvm -M ?' give?

> - why does libvirt sets machine to "pc-0.11" even if kvm qemu version
> is 0.10?
> - why does an error occure if I set <type ... machine="pc-0.10 ... ">

I suspect the capabilities output is saying that /usr/bin/kvm supports
the pc-0.11 machine type, when in fact only /usr/bin/qemu supports it

Cheers,
Mark.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]