diff mbox series

[XTF,6/6] event_channels: Add EVTCHNOP_bind_vcpu hypercall support

Message ID 20200417070528.48329-7-wipawel@amazon.de (mailing list archive)
State New, archived
Headers show
Series Add time management functionality | expand

Commit Message

Wieczorkiewicz, Pawel April 17, 2020, 7:05 a.m. UTC
Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
---
 include/xen/event_channel.h | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/include/xen/event_channel.h b/include/xen/event_channel.h
index 62ee95a..6253b89 100644
--- a/include/xen/event_channel.h
+++ b/include/xen/event_channel.h
@@ -2,6 +2,7 @@ 
 #define XEN_PUBLIC_EVENT_CHANNEL_H
 
 #define EVTCHNOP_send             4
+#define EVTCHNOP_bind_vcpu        8
 #define EVTCHNOP_init_control    11
 #define EVTCHNOP_expand_array    12
 
@@ -22,6 +23,12 @@  struct evtchn_expand_array {
     uint64_t array_gfn;
 };
 
+struct evtchn_bind_vcpu {
+    /* IN parameters. */
+    evtchn_port_t port;
+    uint32_t vcpu;
+};
+
 #endif /* XEN_PUBLIC_EVENT_CHANNEL_H */
 
 /*