Re: [RFC PATCH] kvm: Enable -cpu option to hide KVM

Paolo Bonzini
2014-06-02T15:55:12Z

Il 02/06/2014 16:42, Alex Williamson ha scritto:
>> > Same as your "no-kvm", just with the default flipped from false to true.
> Ah, easy enough. Do we want to limit the scope a bit by indicating
> exactly what is getting disabled, perhaps kvm-msr=on|off? Thanks,

The capabilities are actually already available for selective disabling
via CPUID features (search for kvm_feature_name). What's missing is a
master property to disable the CPUID leaves themselves, so your patch
provides exactly what's needed.

Paolo