ia64/xen-unstable

changeset 15833:447db1235adf

hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Sep 06 11:34:38 2007 +0100 (2007-09-06)
parents 4b5f3a087737
children 453f87d6e7f0
files xen/arch/x86/hvm/irq.c
line diff
     1.1 --- a/xen/arch/x86/hvm/irq.c	Thu Sep 06 11:31:02 2007 +0100
     1.2 +++ b/xen/arch/x86/hvm/irq.c	Thu Sep 06 11:34:38 2007 +0100
     1.3 @@ -306,7 +306,14 @@ int hvm_vcpu_ack_pending_irq(struct vcpu
     1.4      switch ( type )
     1.5      {
     1.6      case hvm_intack_nmi:
     1.7 +#if 0
     1.8          return test_and_clear_bool(v->nmi_pending);
     1.9 +#else
    1.10 +        if ( test_and_clear_bool(v->nmi_pending) )
    1.11 +            gdprintk(XENLOG_WARNING, "Dropping NMI delivery to %d:%d\n",
    1.12 +                     v->domain->domain_id, v->vcpu_id);
    1.13 +        break;
    1.14 +#endif
    1.15      case hvm_intack_lapic:
    1.16          return ((*vector = cpu_get_apic_interrupt(v)) != -1);
    1.17      case hvm_intack_pic: