i386: Hyper-V Support extended GVA ranges for TLB flush hypercalls
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 25 May 2022 11:59:47 +0000 (13:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 25 May 2022 19:26:35 +0000 (21:26 +0200)
commitaa6bb5fad58d049c6ea97448d4caba4499d60634
treea8b0cacf9ef47ce0a5e1bacbd26f0c8d776dc6ee
parent9411e8b6faeb1d88d4441c63c5ec072a01b2914e
i386: Hyper-V Support extended GVA ranges for TLB flush hypercalls

KVM kind of supported "extended GVA ranges" (up to 4095 additional GFNs
per hypercall) since the implementation of Hyper-V PV TLB flush feature
(Linux-4.18) as regardless of the request, full TLB flush was always
performed. "Extended GVA ranges for TLB flush hypercalls" feature bit
wasn't exposed then. Now, as KVM gains support for fine-grained TLB
flush handling, exposing this feature starts making sense.

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20220525115949.1294004-5-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