Skip to contentSkip to conversation

kexec: Reserve hypercall number

PATCH In review Horms 2 participants 4 messages Aug 21, 2006 – Aug 31, 2006

lore
Share & tools
lore

Horms

author
#0 lore raw

PATCH 1/1 kexec: Reserve hypercall number

Hi,

this patch reserves a hypercall number for kexec, to ensure that it isn't a moving target.

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/

kexec: Reserve hypercall number

This is a micro-excerpt from the kexec patches that are being worked on. It just reserves hypercall number 35 ensure that is isn't a moving target.

xen/include/public/xen.h +1 -0
@@ -61,6 +61,7 @@
 #define __HYPERVISOR_event_channel_op     32
 #define __HYPERVISOR_physdev_op           33
 #define __HYPERVISOR_hvm_op               34
+#define __HYPERVISOR_kexec_op             35
 
 /* Architecture-specific hypercall definitions. */
 #define __HYPERVISOR_arch_0               48

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

author
#1 lore raw
Quoted 4 lines · Horms

Hi,

this patch reserves a hypercall number for kexec, to ensure that it isn't a moving target.

I notice that since I sent this patch two new hypercall numbers have been added, __HYPERVISOR_sysctl and __HYPERVISOR_domctl, but this patch remains neither merged nor nacked.

Is reserving a hypercall number for kexec acceptable?

Quoted 19 lines

kexec: Reserve hypercall number

This is a micro-excerpt from the kexec patches that are being worked on. It just reserves hypercall number 35 ensure that is isn't a moving target.

xen/include/public/xen.h +1 -0
@@ -61,6 +61,7 @@
 #define __HYPERVISOR_event_channel_op     32
 #define __HYPERVISOR_physdev_op           33
 #define __HYPERVISOR_hvm_op               34
+#define __HYPERVISOR_kexec_op             35
 
 /* Architecture-specific hypercall definitions. */
 #define __HYPERVISOR_arch_0               48
#2 lore raw
Quoted 8 lines · Horms
Quoted 2 lines

this patch reserves a hypercall number for kexec,
to ensure that it isn't a moving target.

I notice that since I sent this patch two new hypercall numbers have been added, __HYPERVISOR_sysctl and __HYPERVISOR_domctl, but this patch remains neither merged nor nacked.

Is reserving a hypercall number for kexec acceptable?

Yes, I've now done so.

-- Keir

author
#3 lore raw
Quoted 8 lines · Keir Fraser
Quoted 3 lines · Horms
Quoted 2 lines

this patch reserves a hypercall number for kexec,
to ensure that it isn't a moving target.

Quoted 7 lines
Quoted 5 lines

I notice that since I sent this patch two new hypercall numbers have been added, __HYPERVISOR_sysctl and __HYPERVISOR_domctl, but this patch remains neither merged nor nacked.

Is reserving a hypercall number for kexec acceptable?

Yes, I've now done so.

Awsome, thanks.

Signature · 3 lines
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/