From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrZA-000655-2G for qemu-devel@nongnu.org; Thu, 11 Feb 2016 08:45:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTrZ6-0004BR-85 for qemu-devel@nongnu.org; Thu, 11 Feb 2016 08:45:52 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:43340 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrZ5-00046G-Pz for qemu-devel@nongnu.org; Thu, 11 Feb 2016 08:45:48 -0500 From: Andrey Smetanin Date: Thu, 11 Feb 2016 16:44:56 +0300 Message-Id: <1455198301-7361-1-git-send-email-asmetanin@virtuozzo.com> Subject: [Qemu-devel] [PATCH v3 0/5] KVM: Hyper-V VMBus hypercalls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org Cc: Gleb Natapov , Joerg Roedel , qemu-devel@nongnu.org, Roman Kagan , "Denis V. Lunev" , Paolo Bonzini , "K. Y. Srinivasan" , Haiyang Zhang The patch implements userspace exit 'KVM_EXIT_HYPERV' for Hyper-V VMBus hypercalls(postmsg, signalevent) to handle these hypercalls by QEMU. Changes v3: * use vcpu->arch.complete_userspace_io to setup hypercall result * rebase for 'next-20160211' Changes v2: * use KVM_EXIT_HYPERV for hypercalls Signed-off-by: Andrey Smetanin Reviewed-by: Roman Kagan CC: Gleb Natapov CC: Paolo Bonzini CC: Joerg Roedel CC: "K. Y. Srinivasan" CC: Haiyang Zhang CC: Roman Kagan CC: Denis V. Lunev 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: Reject Hyper-V hypercall continuation kvm/x86: Hyper-V VMBus hypercall userspace exit Documentation/virtual/kvm/api.txt | 6 +++++ arch/x86/include/uapi/asm/hyperv.h | 4 ++- arch/x86/kvm/hyperv.c | 50 +++++++++++++++++++++++++++++++------- arch/x86/kvm/svm.c | 3 +-- arch/x86/kvm/vmx.c | 3 +-- drivers/hv/connection.c | 2 +- drivers/hv/hv.c | 2 +- drivers/hv/hyperv_vmbus.h | 6 ----- include/uapi/linux/kvm.h | 6 +++++ 9 files changed, 60 insertions(+), 22 deletions(-) -- 2.4.3