Skip to contentSkip to conversation

Nested Virtualization: interrupts (generic part)

PATCH In review Christoph Egger 2 participants 2 messages Mar 9, 2011 – Mar 29, 2011

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 1298892117 -3600
Handle interrupts (generic part)

xen/arch/x86/hvm/hvm.c +8 -0
diff -r cccf815a82a7 -r e842b80fcee0 xen/arch/x86/hvm/hvm.c
@@ -2539,6 +2539,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

#1 lore raw

Acked by [email protected]

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Christoph Egger
Sent: Wednesday, March 09, 2011 10:25 PM
To: [email protected]
Subject: [Xen-devel] [PATCH 08/12] Nested Virtualization: interrupts (generic part)

--
---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