[virt-tools-list] [PowerKVM][RFC]setting machine type in virt-manager

Li Zhang zhlcindy at linux.vnet.ibm.com
Tue Dec 6 07:28:23 UTC 2011


On 12/05/2011 03:23 AM, Richard W.M. Jones wrote:
> On Wed, Nov 30, 2011 at 08:27:14AM -0700, Eric Blake wrote:
>> On 11/30/2011 02:01 AM, Li Zhang wrote:
>>>> - Never show anything about the machine type for i686/x86_64 guests.
>>>> Reason is that on fedora at least we have machine types like fedora13,
>>>> fedora14, etc. which maybe confuse the user into thinking it has
>>>> something to do with the OS installed in the guest (which it doesn't at
>>>> all).
>>>>
>>>> Thanks,
>>>> Cole
>>>>
>>>
>>> Hi Cole,
>>>
>>> Understand.
>>> BTW, Isn't machine type 'pc' for X86 architecture?
>>> fedora13 and fedora4 seem like OS type.
>>> Would you please correct me if I am wrong?
>>
>> Machine type 'fedora-13' is a Fedora-specific alias for machine type
>> 'pc-0.13' - that is, Fedora 13 was using qemu 0.12 but backported a
>> patch that added some machine features from qemu 0.13, so it invented
>> the name 'fedora-13' to expose those differences in default
>> capabilities.  It is a deprecated machine type (see bug
>> https://bugzilla.redhat.com/show_bug.cgi?id=754772), and there are plans
>> to silently convert 'fedora-13' into 'pc-0.13' prior to Fedora 18.
>>
>> It has nothing to do with whether the guest or the host is running
>> Fedora 13 or any other version (although it will only appear in qemu
>> running on a fedora host).
>
> Does any guest really care about the machine type apart from Windows?
>
> Since we can detect guests, perhaps we should give Linux guests the
> latest machine type always?  (maybe doing this in a process outside
> libvirt)
>
> Rich.
>

I think mac will care about the machine type, if it only support macOS.
And I think if some guests are installed with old machine type, there
will be some problems to boot with latest machine type, if qemu set
the latest machine type as default.




More information about the virt-tools-list mailing list