]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Fix nop emulation
authorMohammed Gamal <m.gamal005@gmail.com>
Wed, 4 Aug 2010 11:41:04 +0000 (14:41 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:50:41 +0000 (10:50 +0200)
commit7414082a67c173ddbaa7e1f2e7152aaf24f739fa
treeee0db9085fab5767d0c5434bb65b729cf65eb5da
parent7c5026877522592eada3a3921cb31c91a2df69ee
KVM: x86 emulator: Fix nop emulation

If a nop instruction is encountered, we jump directly to the done label.
This skip updating rip. Break from the switch case instead

Signed-off-by: Mohammed Gamal <m.gamal005@gmail.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/emulate.c