KVM: VMX: Enhance invalid guest state emulation
authorMohammed Gamal <m.gamal005@gmail.com>
Tue, 1 Sep 2009 10:48:18 +0000 (12:48 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:09 +0000 (09:32 +0200)
- Change returned handle_invalid_guest_state() to return relevant exit codes
- Move triggering the emulation from vmx_vcpu_run() to vmx_handle_exit()
- Return to userspace instead of repeatedly trying to emulate instructions that have already failed

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found