Re: [kvm-devel] Re: expose host CPU features to guests

Avi Kivity
2007-09-09T15:29:16Z

Paul Brook wrote:
> On Sunday 09 September 2007, Jamie Lokier wrote:
>
>> Avi Kivity wrote:
>>
>>> Let's start with '-cpu host' as 'cpu host-cpuid' and implement '-cpu
>>> host-os' on the first bug report? I have a feeling we won't ever see it.
>>>
>> In other words, host-os is what _I'd_ implement because I care too
>> much about the poor obscure users and think it's the safe option, but
>> I'm not doing the implementing here ;-)
>>
>
> I agree. If the host OS has disabled a feature, it's a fair bet it's done that
> for a reason.
>
>

The reason may not be relevant to the guest.

> What you really want to do is ask your virtualization module what features it
> supports.
>

Yes, that needs to be an additional filter.

--
error compiling committee.c: too many arguments to function