Skip to contentSkip to conversation

Upgrade all hypercalls to use the new guest_handle interface (on the Xen side).

PATCH Hollis Blanchard 1 participant 1 message Mar 8, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 15 lines · Xen patchbot -unstable

diff -r b41ad96f1242 -r 4293d6760cef xen/include/public/event_channel.h

xen/include/public/event_channel.h        Tue Mar  7 17:40:42 2006 renamed from xen/include/public/event_channel.h        Tue Mar  7 15:48:36 2006 +1 -0
@@ -189,6 +189,7 @@
          evtchn_unmask_t           unmask;
      } u;
  } evtchn_op_t;
+DEFINE_GUEST_HANDLE(evtchn_op_t);


 #endif /* __XEN_PUBLIC_EVENT_CHANNEL_H__ */

diff -r b41ad96f1242 -r 4293d6760cef xen/include/xen/hypercall.h

xen/include/xen/hypercall.h       Tue Mar  7 17:40:42 2006 renamed from xen/include/xen/hypercall.h       Tue Mar  7 15:48:36 2006 +0 -0

...

Quoted 5 lines

-struct evtchn_op;
 extern long
 do_event_channel_op(
-    struct evtchn_op *uop);
+    GUEST_HANDLE(evtchn_op_t) uop);

This change means we need the following patch. Please apply.

xen/include/xen/hypercall.h Wed Mar 8 15:56:42 2006 renamed from xen/include/xen/hypercall.h Wed Mar 8 19:35:16 2006 +1 -0
diff -r 477f444f6fe8 xen/include/xen/hypercall.h
@@ -10,6 +10,7 @@
 #include <xen/time.h>
 #include <public/xen.h>
 #include <public/acm_ops.h>
+#include <public/event_channel.h>
 #include <asm/hypercall.h>
 
 extern long
Signature · 2 lines
Hollis Blanchard
IBM Linux Technology Center