On 25/12/2014 01:52, Nadav Amit wrote: > Few more emulator fixes. Each is logically independent from the others. > > The first one is the most interesting one. It appears that the current > behavior may cause the VM to enter the page-fault handler twice on certain > faulting write accesses. If you do not like my solution, please propose a > better one. > > The fourth (JMP/CALL using call- or task-gate) is not a fix, but returns an > error instead of emulating the wrong (#GP) exception. > > Thanks for reviewing the patches. > > Nadav Amit (8): > KVM: x86: #PF error-code on R/W operations is wrong > KVM: x86: pop sreg accesses only 2 bytes > KVM: x86: fnstcw and fnstsw may cause spurious exception > KVM: x86: JMP/CALL using call- or task-gate causes exception > KVM: x86: em_call_far should return failure result > KVM: x86: POP [ESP] is not emulated correctly > KVM: x86: Do not set access bit on accessed segments > KVM: x86: Access to LDT/GDT that wraparound is incorrect > > arch/x86/include/asm/kvm_host.h | 12 ++++ > arch/x86/kvm/emulate.c | 138 ++++++++++++++++++++++++++-------------- > arch/x86/kvm/mmu.h | 12 ---- > 3 files changed, 103 insertions(+), 59 deletions(-) > I'm applying patches 2-8. I want to play a bit more with patch 1. Paolo -- 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