WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] (missing) More accurate address decoding for VMX str

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] (missing) More accurate address decoding for VMX string I/O
From: Leendert van Doorn <leendert@xxxxxxxxxxxxxx>
Date: Thu, 26 May 2005 23:01:08 -0400
Delivery-date: Fri, 27 May 2005 03:32:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM T.J. Watson Research Center
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] (missing) More accurate address decoding for VMX string I/O, Leendert van Doorn <=