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

[Xen-changelog] [xen-unstable] hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1189074878 -3600
# Node ID 447db1235adf1bc59bbd76c951716c3df7ee8843
# Parent  4b5f3a0877377970e17153e9c5487326caa9dfd3
hvm: Ignore NMI deliveries for now, until hardware taskswitch is emulated.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 xen/arch/x86/hvm/irq.c |    7 +++++++
 1 files changed, 7 insertions(+)

diff -r 4b5f3a087737 -r 447db1235adf xen/arch/x86/hvm/irq.c
--- a/xen/arch/x86/hvm/irq.c    Thu Sep 06 11:31:02 2007 +0100
+++ b/xen/arch/x86/hvm/irq.c    Thu Sep 06 11:34:38 2007 +0100
@@ -306,7 +306,14 @@ int hvm_vcpu_ack_pending_irq(struct vcpu
     switch ( type )
     {
     case hvm_intack_nmi:
+#if 0
         return test_and_clear_bool(v->nmi_pending);
+#else
+        if ( test_and_clear_bool(v->nmi_pending) )
+            gdprintk(XENLOG_WARNING, "Dropping NMI delivery to %d:%d\n",
+                     v->domain->domain_id, v->vcpu_id);
+        break;
+#endif
     case hvm_intack_lapic:
         return ((*vector = cpu_get_apic_interrupt(v)) != -1);
     case hvm_intack_pic:

_______________________________________________
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®.