]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: x86 emulator: fix return values of syscall/sysenter/sysexit emulations
authorGleb Natapov <gleb@redhat.com>
Thu, 18 Mar 2010 13:20:12 +0000 (15:20 +0200)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:08 +0000 (12:16 +0300)
commit2e901c4cf4b550ad37840870246e835889cf7322
tree8a87b5a2b3c65baea8fe4ba0acc4f398d23bb258
parent1e470be5a10801cb1c5c145f2cd9e0f5ebaf4f2e
KVM: x86 emulator: fix return values of syscall/sysenter/sysexit emulations

Return X86EMUL_PROPAGATE_FAULT is fault was injected. Also inject #UD
for those instruction when appropriate.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c