On Mon, Nov 26, 2018 at 02:59:58PM +0100, Vitaly Kuznetsov wrote: > It was found that QMP users of QEMU (e.g. libvirt) may need > HV_CPUID_ENLIGHTMENT_INFO.EAX/HV_CPUID_NESTED_FEATURES.EAX information. In > particular, 'hv_tlbflush' and 'hv_evmcs' enlightenments are only exposed in > HV_CPUID_ENLIGHTMENT_INFO.EAX. > > HV_CPUID_NESTED_FEATURES.EAX is exposed for two reasons: convenience > (we don't need to export it from hyperv_handle_properties() and as > future-proof for Enlightened MSR-Bitmap, PV EPT invalidation and > direct virtual flush features. > > Signed-off-by: Vitaly Kuznetsov <vkuzn...@redhat.com> > --- > target/i386/cpu.c | 30 +++++++++++++++++ > target/i386/cpu.h | 2 ++ > target/i386/kvm.c | 85 +++++++++++++++++++++++++---------------------- > 3 files changed, 77 insertions(+), 40 deletions(-)
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>