2009/9/7 Anton Protopopov <[email protected]>
> 2009/9/7 Mark McLoughlin <[email protected]>
>
> 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
>>
>
> Thanks, I will try them tomorrow.
>
It didn't help. The capabilities changed to
<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>
<machine>pc</machine>
<machine>isapc</machine>
</domain>
</arch>
<features>
<acpi default='on' toggle='yes'/>
<apic default='on' toggle='no'/>
</features>
</guest>
But after defining a domain, I get
# grep machine= $xml
<type arch='x86_64' machine='pc-0.11'>hvm</type>
again.
--
Libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list