| 
    
 [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V2] xen: vmx: Use an INT 2 call to process real NMI's instead of self_nmi() in VMEXIT handler
 On 15/11/12 16:41, Tim Deegan wrote: Hi, At 10:06 +0000 on 14 Nov (1352887560), Jan Beulich wrote: Both AMD and Intel has an identical setup with regard to stacks and general "what happens when we taken one of these interrupts". As Andy Cooper is about to post, there are ways to solve the nesting of either of these interrupts. There are subtle differences between Intel and AMD in how the actual interrupt gets handled when the processor is currently running a HVM guest, which is why the patch in this thread is "Intel only", because the Intel system "eats" the NMI, and it needs to be "reissued". On AMD, the interrupts are held pending until the guest has exited into the Hypervisor, and then taken after the processor executes the STGI (Set Global Interrupt Enable) instruction - analogous to what happens when you have a CLI and STI for ordinary interrupts. The issues with regards to nesting of NMI and MCE is completely different from the "how do we issue an NMI from the HVM handling code when the guest got interrupted by NMI". Nested NMI and nested MCE is the same problem on both AMD and Intel processors, and need a completely separate solution [Andy is working on this]. -- Mats _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel 
 
 
  | 
  
![]()  | 
            
         Lists.xenproject.org is hosted with RackSpace, monitoring our  |