Skip to contentSkip to conversation

Nested Virtualization: interrupts (generic part)

PATCH In review Christoph Egger 1 participant 1 message Dec 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 8/12 Nested Virtualization: interrupts (generic part)

Signature · 7 lines
-- 
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632

# HG changeset patch
# User cegger
# Date 1292839439 -3600
Handle interrupts (generic part)

xen/arch/x86/hvm/hvm.c +8 -0
diff -r 496c029072b1 -r c8531969c8eb xen/arch/x86/hvm/hvm.c
@@ -2446,6 +2446,14 @@ enum hvm_intblk hvm_interrupt_blocked(st
 
     ASSERT(v == current);
 
+    if ( nestedhvm_enabled(v->domain) ) {
+        enum hvm_intblk intr;
+
+        intr = nhvm_interrupt_blocked(v);
+        if ( intr != hvm_intblk_none )
+            return intr;
+    }
+
     if ( (intack.source != hvm_intsrc_nmi) &&
          !(guest_cpu_user_regs()->eflags & X86_EFLAGS_IF) )
         return hvm_intblk_rflags_ie;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel