[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] (missing) More accurate address decoding for VMX string I/O



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

Signed-Off-By: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>


diff -ru xeno-unstable.orig/xen/arch/x86/vmx_platform.c 
xeno-unstable.mine/xen/arch/x86/vmx_platform.c
--- xeno-unstable.orig/xen/arch/x86/vmx_platform.c      2005-05-23 
08:35:02.000000000 -0400
+++ xeno-unstable.mine/xen/arch/x86/vmx_platform.c      2005-05-26 
23:16:05.000000000 -0400
@@ -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;
diff -ru xeno-unstable.orig/xen/include/asm-x86/vmx_vmcs.h 
xeno-unstable.mine/xen/include/asm-x86/vmx_vmcs.h
--- xeno-unstable.orig/xen/include/asm-x86/vmx_vmcs.h   2005-05-22 
22:54:41.000000000 -0400
+++ xeno-unstable.mine/xen/include/asm-x86/vmx_vmcs.h   2005-05-26 
23:16:05.000000000 -0400
@@ -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,

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.