ia64/xen-unstable
changeset 13165:f1ddc050d848
[HVM] Missing gva->gpa translation in MMIO MOVS handler
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author | Tim Deegan <Tim.Deegan@xensource.com> |
---|---|
date | Thu Dec 21 20:44:35 2006 +0000 (2006-12-21) |
parents | 63bd462b1f45 |
children | f7ac2c963f77 |
files | xen/arch/x86/hvm/platform.c |
line diff
1.1 --- a/xen/arch/x86/hvm/platform.c Thu Dec 21 17:39:32 2006 +0000 1.2 +++ b/xen/arch/x86/hvm/platform.c Thu Dec 21 20:44:35 2006 +0000 1.3 @@ -965,7 +965,7 @@ void handle_mmio(unsigned long gpa) 1.4 if ( ad_size == WORD ) 1.5 addr &= 0xFFFF; 1.6 addr += hvm_get_segment_base(v, x86_seg_es); 1.7 - if ( addr == gpa ) 1.8 + if ( shadow_gva_to_gpa(v, addr) == gpa ) 1.9 { 1.10 enum x86_segment seg; 1.11