On 01/12/2016 01:50 PM, Andrey Smetanin wrote:
The patch implements userspace exit 'KVM_EXIT_HYPERV_HCALL'
for Hyper-V VMBus hypercalls(postmsg, signalevent)
to handle these hypercalls by QEMU.
Signed-off-by: Andrey Smetanin <asmeta...@virtuozzo.com>
Reviewed-by: Roman Kagan <rka...@virtuozzo.com>
CC: Gleb Natapov <g...@kernel.org>
CC: Paolo Bonzini <pbonz...@redhat.com>
CC: Joerg Roedel <j...@8bytes.org>
CC: "K. Y. Srinivasan" <k...@microsoft.com>
CC: Haiyang Zhang <haiya...@microsoft.com>
CC: Roman Kagan <rka...@virtuozzo.com>
CC: Denis V. Lunev <d...@openvz.org>
CC: qemu-devel@nongnu.org
Andrey Smetanin (5):
kvm/x86: Rename Hyper-V long spin wait hypercall
drivers/hv: Move VMBus hypercall codes into Hyper-V UAPI header
kvm/x86: Pass return code of kvm_emulate_hypercall
kvm/x86: Hyper-V VMBus hypercall userspace exit
kvm/x86: Reject Hyper-V hypercall continuation
Documentation/virtual/kvm/api.txt | 8 ++++++++
arch/x86/include/uapi/asm/hyperv.h | 4 +++-
arch/x86/kvm/hyperv.c | 39 +++++++++++++++++++++++++++++---------
arch/x86/kvm/hyperv.h | 1 +
arch/x86/kvm/svm.c | 3 +--
arch/x86/kvm/vmx.c | 3 +--
arch/x86/kvm/x86.c | 3 +++
drivers/hv/hv.c | 5 +++--
drivers/hv/hyperv_vmbus.h | 6 ------
include/uapi/linux/kvm.h | 7 +++++++
10 files changed, 57 insertions(+), 22 deletions(-)
ping