qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [libvirt] [PATCH 0/9] i386: query-cpu-model-expansion t


From: David Hildenbrand
Subject: Re: [Qemu-devel] [libvirt] [PATCH 0/9] i386: query-cpu-model-expansion test script
Date: Thu, 19 Jan 2017 18:21:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

>> Also think about "query-cpu-model-expansion model=host type=static",
>> which will primarily be used by libvirt on s390x. There is no way to
>> expand this into a static cpu model. Faking anything will just hide errors.
> 
> Yes, static expansion of host model must always return an error
> if it's not possible to expand.
> 
>>
>> If "host" can't be expanded, QEMU has to be treated like there is no CPU
>> model support (as for older QEMU versions).
> 
> OK. I will propose a patch updating the query-cpu-model-expansion
> documentation to be more explicit about it.

The only real alternative I see would be disabling the query-cpu-model-*
interface completely if KVM support is not available.

This would however mean, that the same QEMU binary would have the
interface when running under TCG, but not when running under KVM on an
old KVM version.

That also doesn't really feel right, or what do you think?

-- 

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]