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

[Xen-changelog] [xen-3.0.4-testing] [HVM] Missing gva->gpa translation in MMIO MOVS handler



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1166733875 0
# Node ID 6a78bb9375d4a6391ebdce28d1c0a177a8633668
# Parent  4ead5a65e06326473ffe498acfd4d5d8e729e6ee
[HVM] Missing gva->gpa translation in MMIO MOVS handler
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>

Based on xen-unstable changeset 13129:f1ddc050d848c5c1c1c846d06f3930e34e7811d7
---
 xen/arch/x86/hvm/platform.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4ead5a65e063 -r 6a78bb9375d4 xen/arch/x86/hvm/platform.c
--- a/xen/arch/x86/hvm/platform.c       Thu Dec 21 14:33:37 2006 +0000
+++ b/xen/arch/x86/hvm/platform.c       Thu Dec 21 20:44:35 2006 +0000
@@ -965,7 +965,7 @@ void handle_mmio(unsigned long gpa)
         if ( ad_size == WORD )
             addr &= 0xFFFF;
         addr += hvm_get_segment_base(v, x86_seg_es);
-        if ( addr == gpa )
+        if ( shadow_gva_to_gpa(v, addr) == gpa )
         {
             enum x86_segment seg;
 

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


 


Rackspace

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