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

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

 



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@xxxxxxxxxx/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.

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]