more VMX real mode emulation fixes
Status from this message: Applied, thanks.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 14 repliesApplied
- v15 patches 0 repliesSuperseded
Changes in v2 from the cover letter
- emulate_invalid_guest_state=0 broke again. Fix it.
- additional patch to handle IO during emulation caused by #GP
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | KVM: emulator: drop RPL check from linearize() functionarch/ | +1 | 7 replies | |
| 2/6 | KVM: emulator: implement fninit, fnstsw, fnstcwarch/ | +125 | 0 replies | |
| 3/6 | KVM: VMX: make rmode_segment_valid() more strict.arch/ | +1 | 0 replies | |
| 4/6 | KVM: VMX: fix emulation of invalid guest state.arch/ | +68 | 0 replies | |
| 5/6 | KVM: VMX: Do not fix segment register during vcpu initialization.arch/ | +5 | 0 replies | |
| 6/6 | KVM: VMX: handle IO when emulation is due to #GP in real mode.arch/ | +41 | 6 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCHv2 0/6] more VMX real mode emulation fixes
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.
Changelog:
v1 -> v2:
- emulate_invalid_guest_state=0 broke again. Fix it.
- additional patch to handle IO during emulation caused by #GP
Gleb Natapov (6):
KVM: emulator: drop RPL check from linearize() function
KVM: emulator: implement fninit, fnstsw, fnstcw
KVM: VMX: make rmode_segment_valid() more strict.
KVM: VMX: fix emulation of invalid guest state.
KVM: VMX: Do not fix segment register during vcpu initialization.
KVM: VMX: handle IO when emulation is due to #GP in real mode.
arch/x86/kvm/emulate.c | 133 +++++++++++++++++++++++++++-- arch/x86/kvm/vmx.c | 219 +++++++++++++++++++++++++----------------------- 2 files changed, 241 insertions(+), 111 deletions(-)
Signature · 1 line
1.7.10.4