This series goes on top of my previous one: "Fix emulate_invalid_guest_state=0 part 2". It does not only fixes bugs, but also does a nice cleanup of VMX real mode emulation. All real mode segment register mangling is now contained in fix_rmode_seg() function. Gleb Natapov (5): KVM: emulator: drop RPL check from linearize() function KVM: emulator: implement fninit, fnstsw, fnstcw KVM: VMX: make rmode_segment_valid() more strict. KVM: VMX: fixing emulation of invalid guest state. KVM: VMX: Do not fix segment register during vcpu initialization. arch/x86/kvm/emulate.c | 133 +++++++++++++++++++++++++++++++++++++++++++++--- arch/x86/kvm/vmx.c | 121 +++++++++++++++++++++---------------------- 2 files changed, 185 insertions(+), 69 deletions(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html