[PATCH] KVM: Simplify test for interrupt window
authorDor Laor <dor.laor@qumranet.com>
Sat, 6 Jan 2007 00:37:00 +0000 (16:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Sat, 6 Jan 2007 07:55:28 +0000 (23:55 -0800)
commit022a93080c269e913793bea3a9a7fed06ca7d29b
tree2d7306a5206bb4c9cc147b0b1ed06e211695be10
parent68a99f6d37aa65e848e09ec6ea52848e93bd5de2
[PATCH] KVM: Simplify test for interrupt window

No need to test for rflags.if as both VT and SVM specs assure us that on exit
caused from interrupt window opening, 'if' is set.

Signed-off-by: Dor Laor <dor.laor@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/kvm/svm.c
drivers/kvm/vmx.c