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

Mark McLoughlin markmc at redhat.com
Mon Sep 7 13:43:59 UTC 2009


On Mon, 2009-09-07 at 14:40 +0400, Anton Protopopov wrote:

>         Also, what is the output of 'virsh capabilities' ?
> <guest>
>     <os_type>hvm</os_type>
>     <arch name='x86_64'>
>       <wordsize>64</wordsize>
>       <emulator>/usr/bin/qemu-system-x86_64</emulator>
>       <machine>pc-0.11</machine>
>       <machine canonical='pc-0.11'>pc</machine>
>       <machine>pc-0.10</machine>
>       <machine>isapc</machine>
>       <domain type='qemu'>
>       </domain>
>       <domain type='kvm'>
>         <emulator>/usr/bin/kvm</emulator>
>       </domain>
...
>         What does 'qemu -M ?' and 'kvm -M ?' give?
>   # qemu -M ?
>   Supported machines are:
>   pc         Standard PC (alias of pc-0.11)
>   pc-0.11    Standard PC (default)
>   pc-0.10    Standard PC, qemu 0.10
>   isapc      ISA-only PC
>   # kvm -M ?
>   Supported machines are:
>   pc         Standard PC (default)
>   isapc      ISA-only PC

Thanks, that shows the problem clearly. We need to probe the kvm binary
for the machine types it supports and include it in its domain info.

Please try out the four patches following

Cheers,
Mark.




More information about the libvir-list mailing list