emulate_invalid_guest_state=0 still does not work since last patch of my previous series was not applied. It causes kvm to emulate code that previously kvm managed to run in vm86 and this, in turn, causes emulation errors for instructions kvm does not know how to emulate. Patch 2 of the series should fix that. Patch 3 is exactly same as 4/4 from previous series. Other patches are clean-ups. Gleb Natapov (7): KVM: VMX: cleanup rmode_segment_valid() KVM: VMX: relax check for CS register in rmode_segment_valid() KVM: VMX: return correct segment limit and flags for CS/SS registers in real mode KVM: VMX: use fix_rmode_seg() to fix all code/data segments KVM: VMX: remove redundant code from vmx_set_segment() KVM: VMX: clean-up vmx_set_segment() KVM: VMX: remove unneeded temporary variable from vmx_set_segment() arch/x86/kvm/vmx.c | 73 ++++++++++++++-------------------------------------- 1 file changed, 19 insertions(+), 54 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