aboutsummaryrefslogtreecommitdiff
path: root/include/hw/hyperv/hyperv-proto.h
diff options
context:
space:
mode:
authorRoman Kagan <rkagan@virtuozzo.com>2018-09-21 11:22:14 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2018-10-19 13:44:14 +0200
commite6ea9f45b72fe83d49adda948ff397dafc00c68f (patch)
tree3ee2f2ccf099e8954effcf3a2139653a735fc173 /include/hw/hyperv/hyperv-proto.h
parentf5642f8b458ba578c1ea94b9ad773e1e5c6cb615 (diff)
downloadqemu-e6ea9f45b72fe83d49adda948ff397dafc00c68f.zip
qemu-e6ea9f45b72fe83d49adda948ff397dafc00c68f.tar.gz
qemu-e6ea9f45b72fe83d49adda948ff397dafc00c68f.tar.bz2
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>
Diffstat (limited to 'include/hw/hyperv/hyperv-proto.h')
-rw-r--r--include/hw/hyperv/hyperv-proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/hyperv/hyperv-proto.h b/include/hw/hyperv/hyperv-proto.h
index 2dc78ee..21dc28a 100644
--- a/include/hw/hyperv/hyperv-proto.h
+++ b/include/hw/hyperv/hyperv-proto.h
@@ -21,6 +21,7 @@
#define HV_STATUS_INVALID_ALIGNMENT 4
#define HV_STATUS_INVALID_PARAMETER 5
#define HV_STATUS_INSUFFICIENT_MEMORY 11
+#define HV_STATUS_INVALID_PORT_ID 17
#define HV_STATUS_INVALID_CONNECTION_ID 18
#define HV_STATUS_INSUFFICIENT_BUFFERS 19