KVM: x86 emulator: Add std and cld instructions (opcodes 0xfc-0xfd)
authorMohammed Gamal <m.gamal005@gmail.com>
Mon, 1 Sep 2008 01:52:24 +0000 (04:52 +0300)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:15:25 +0000 (10:15 +0200)
commitfb4616f43148c5b3f3e453a47657572d1bda39ee
tree875be2a5ef494832a577de867db623c3177ffe27
parent20766c083e6ab3c33125f07c7ffe39914c106d98
KVM: x86 emulator: Add std and cld instructions (opcodes 0xfc-0xfd)

This adds the std and cld instructions to the emulator.

Encountered while running the BIOS with invalid guest
state emulation enabled.

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