This changes an interface header; the patch touching the hypervisor
code only is attached.
As usual, written and tested on 2.6.25-rc5 and made apply to the 2.6.18
tree without further testing.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
Index: head-2008-03-11/arch/x86_64/kernel/xen_entry.S
===================================================================
--- head-2008-03-11.orig/arch/x86_64/kernel/xen_entry.S
+++ head-2008-03-11.orig/arch/x86_64/kernel/xen_entry.S
@@ -34,7 +34,3 @@
XEN_LOCKED_UNBLOCK_EVENTS(reg) ; \
XEN_PUT_VCPU_INFO(reg)
#define XEN_TEST_PENDING(reg) testb $0xFF,evtchn_upcall_pending(reg)
-
-VGCF_IN_SYSCALL = (1<<8)
-
-
Index: head-2008-03-11/include/xen/interface/arch-x86/xen-x86_64.h
===================================================================
--- head-2008-03-11.orig/include/xen/interface/arch-x86/xen-x86_64.h
+++ head-2008-03-11/include/xen/interface/arch-x86/xen-x86_64.h
@@ -97,8 +97,6 @@
#define machine_to_phys_mapping ((unsigned long *)HYPERVISOR_VIRT_START)
#endif
-#ifndef __ASSEMBLY__
-
/*
* int HYPERVISOR_set_segment_base(unsigned int which, unsigned long base)
* @which == SEGBASE_* ; @base == 64-bit base address
@@ -133,6 +131,9 @@
#define _VGCF_in_syscall 8
#define VGCF_in_syscall (1<<_VGCF_in_syscall)
#define VGCF_IN_SYSCALL VGCF_in_syscall
+
+#ifndef __ASSEMBLY__
+
struct iret_context {
/* Top of stack (%rsp at point of hypercall). */
uint64_t rax, r11, rcx, flags, rip, cs, rflags, rsp, ss;
xen-x86_64-vgcf.patch
Description: Text document
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|