From: Roman Kagan Subject: [PATCH v4 0/2] kvm: x86: hyperv: guest->host event signaling via eventfd Date: Tue, 12 Dec 2017 17:29:00 +0300 Message-ID: <20171212142902.29403-1-rkagan@virtuozzo.com> Mime-Version: 1.0 Content-Type: text/plain Cc: "Denis V. Lunev" , Konrad Rzeszutek Wilk , Vitaly Kuznetsov , David Hildenbrand To: kvm@vger.kernel.org, Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= Return-path: Received: from mail-eopbgr40137.outbound.protection.outlook.com ([40.107.4.137]:19264 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752256AbdLLO3P (ORCPT ); Tue, 12 Dec 2017 09:29:15 -0500 Sender: kvm-owner@vger.kernel.org List-ID: Make it possible for guests using Hyper-V emulation to do guest->host notification via EVENT_SIGNAL hypercall without a user exit. v3 -> v4: - switch to kvm_vcpu_read_guest and take srcu_read_lock around it - rework and document the interpretation of the hypercall parameter - merge !fast version into kvm_hvcall_signal_event for brevity v2 -> v3: - expand docs on allowed values and return codes - fix uninitialized return - style fixes v1 -> v2: - make data types consistent - get by without the recently dropped struct hv_input_signal_event - fix subject prefixes Roman Kagan (2): kvm: x86: factor out kvm.arch.hyperv (de)init kvm: x86: hyperv: guest->host event signaling via eventfd Documentation/virtual/kvm/api.txt | 31 ++++++++++ arch/x86/include/asm/kvm_host.h | 2 + arch/x86/kvm/hyperv.h | 4 ++ include/uapi/linux/kvm.h | 13 +++++ arch/x86/kvm/hyperv.c | 117 +++++++++++++++++++++++++++++++++++++- arch/x86/kvm/x86.c | 13 ++++- 6 files changed, 178 insertions(+), 2 deletions(-) -- 2.14.3