ia64/xen-unstable

changeset 11911:49d16162a585

[HVM] Pass all non-RAM memory accesses to handle_mmio().

It is up to handle_mmio() to correctly handle accesses outside
valid device mmio regions.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Fri Oct 20 09:30:23 2006 +0100 (2006-10-20)
parents 068aed15496d
children 328606e0705f
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Fri Oct 20 09:28:31 2006 +0100
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Fri Oct 20 09:30:23 2006 +0100
     1.3 @@ -2865,15 +2865,6 @@ static int sh_page_fault(struct vcpu *v,
     1.4  
     1.5   mmio:
     1.6      perfc_incrc(shadow_fault_mmio);
     1.7 -    if ( !hvm_apic_support(d) && (gpa >= 0xFEC00000) )
     1.8 -    {
     1.9 -        /* Need to deal with these disabled-APIC accesses, as
    1.10 -         * handle_mmio() apparently does not currently do that. */
    1.11 -        /* TJD: What about it, then?   For now, I'm turning this BUG() 
    1.12 -         * into a domain_crash() since we don't want to kill Xen. */
    1.13 -        SHADOW_ERROR("disabled-APIC access: not supported\n.");
    1.14 -        domain_crash(d); 
    1.15 -    }
    1.16      sh_audit_gw(v, &gw);
    1.17      unmap_walk(v, &gw);
    1.18      SHADOW_PRINTK("mmio\n");