OSDN Git Service

i386: Implement pseudo 'hv-avic' ('hv-apicv') enlightenment
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 2 Sep 2021 09:35:28 +0000 (11:35 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 1 Oct 2021 17:04:45 +0000 (19:04 +0200)
commite1f9a8e8c90ae54387922e33e5ac4fd759747d01
treebe75154742d88bbf4c22d17d65d75958da14cabe
parent050716292a63f4969b32cac32b85774521738ef5
i386: Implement pseudo 'hv-avic' ('hv-apicv') enlightenment

The enlightenment allows to use Hyper-V SynIC with hardware APICv/AVIC
enabled. Normally, Hyper-V SynIC disables these hardware features and
suggests the guest to use paravirtualized AutoEOI feature. Linux-4.15
gains support for conditional APICv/AVIC disablement, the feature
stays on until the guest tries to use AutoEOI feature with SynIC. With
'HV_DEPRECATING_AEOI_RECOMMENDED' bit exposed, modern enough Windows/
Hyper-V versions should follow the recommendation and not use the
(unwanted) feature.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20210902093530.345756-7-vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
docs/hyperv.txt
target/i386/cpu.c
target/i386/cpu.h
target/i386/kvm/hyperv-proto.h
target/i386/kvm/kvm.c