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

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



# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Date 1166733875 0
# Node ID f1ddc050d848c5c1c1c846d06f3930e34e7811d7
# Parent  63bd462b1f457354459c6865a0d1659b53904e95
[HVM] Missing gva->gpa translation in MMIO MOVS handler
Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/platform.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 63bd462b1f45 -r f1ddc050d848 xen/arch/x86/hvm/platform.c
--- a/xen/arch/x86/hvm/platform.c       Thu Dec 21 17:39:32 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®.