direct-io.hg

changeset 14123:a70cf505aef9

[HVM] Shadow: always use mmio_space() to detect MMIO addresses
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Mon Feb 26 10:22:38 2007 +0000 (2007-02-26)
parents 78c0ae1f77f2
children eefbc33a41ab
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Mon Feb 26 09:28:30 2007 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Mon Feb 26 10:22:38 2007 +0000
     1.3 @@ -2394,7 +2394,8 @@ static int validate_gl1e(struct vcpu *v,
     1.4      gfn = guest_l1e_get_gfn(*new_gl1e);
     1.5      gmfn = vcpu_gfn_to_mfn(v, gfn);
     1.6  
     1.7 -    mmio = (is_hvm_vcpu(v) && paging_vcpu_mode_translate(v) && !mfn_valid(gmfn));
     1.8 +    mmio = (is_hvm_vcpu(v) && paging_vcpu_mode_translate(v) && 
     1.9 +            mmio_space(gfn_to_paddr(gfn)));
    1.10      l1e_propagate_from_guest(v, new_gl1e, _mfn(INVALID_MFN), gmfn, &new_sl1e, 
    1.11                               ft_prefetch, mmio);
    1.12