Skip to contentSkip to conversation

(missing) More accurate address decoding for VMX string I/O

PATCH New Leendert van Doorn 1 participant 1 message May 27, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 (missing) More accurate address decoding for VMX string I/O

This patch works a lot better when you have all the modified files.

xen/arch/x86/vmx_platform.c +1 -1
diff -ru xeno-unstable.orig/xen/arch/x86/vmx_platform.c xeno-unstable.mine/xen/arch/x86/vmx_platform.c
@@ -406,7 +406,7 @@
     return DECODE_failure;
 }
 
-static int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len)
+int inst_copy_from_guest(unsigned char *buf, unsigned long guest_eip, int inst_len)
 {
     l1_pgentry_t gpte;
     unsigned long mfn;
xen/include/asm-x86/vmx_vmcs.h +1 -0
diff -ru xeno-unstable.orig/xen/include/asm-x86/vmx_vmcs.h xeno-unstable.mine/xen/include/asm-x86/vmx_vmcs.h
@@ -146,6 +145,7 @@
     CR3_TARGET_VALUES               = 0x00006008, 
     CR3_GUEST_HOST_MASK             = 0x00006208,
     EXIT_QUALIFICATION              = 0x00006400,
+    GUEST_LINEAR_ADDRESS	    = 0x0000640A,
     GUEST_CR0                       = 0x00006800,
     GUEST_CR3                       = 0x00006802,
     GUEST_CR4                       = 0x00006804,