|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] A simple cleanup
Reuse idtv_info to avoid double read of IDT_VECTORING.
Signed-off-by: Eddie Dong <eddie.dong@xxxxxxxxx>
diff -r 694b7daa353c xen/arch/x86/hvm/vmx/vmx.c
--- a/xen/arch/x86/hvm/vmx/vmx.c Wed Sep 17 14:16:02 2008 +0100
+++ b/xen/arch/x86/hvm/vmx/vmx.c Mon Apr 27 17:14:12 2009 +0800
@@ -2098,7 +2098,7 @@ asmlinkage void vmx_vmexit_handler(struc
* (NB. If we emulate this IRET for any reason, we should re-clear!)
*/
if ( unlikely(intr_info & INTR_INFO_NMI_UNBLOCKED_BY_IRET) &&
- !(__vmread(IDT_VECTORING_INFO) & INTR_INFO_VALID_MASK) &&
+ !(idtv_info & INTR_INFO_VALID_MASK) &&
(vector != TRAP_double_fault) )
__vmwrite(GUEST_INTERRUPTIBILITY_INFO,
__vmread(GUEST_INTERRUPTIBILITY_INFO)
clean1.patch
Description: clean1.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] A simple cleanup,
Dong, Eddie <=
|
|
|
|
|