hyperv: process SIGNAL_EVENT hypercall
commite6ea9f45b72fe83d49adda948ff397dafc00c68f
authorRoman Kagan <rkagan@virtuozzo.com>
Fri, 21 Sep 2018 08:22:14 +0000 (21 11:22 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 19 Oct 2018 11:44:14 +0000 (19 13:44 +0200)
tree3ee2f2ccf099e8954effcf3a2139653a735fc173
parentf5642f8b458ba578c1ea94b9ad773e1e5c6cb615
hyperv: process SIGNAL_EVENT hypercall

Add handling of SIGNAL_EVENT hypercall.  For that, provide an interface
to associate an EventNotifier with an event connection number, so that
it's signaled when the SIGNAL_EVENT hypercall with the matching
connection ID is called by the guest.

Support for using KVM functionality for this will be added in a followup
patch.

Signed-off-by: Roman Kagan <rkagan@virtuozzo.com>
Message-Id: <20180921082217.29481-8-rkagan@virtuozzo.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/hyperv/hyperv.c
include/hw/hyperv/hyperv-proto.h
include/hw/hyperv/hyperv.h
target/i386/hyperv.c