]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std
authorAmit Shah <amit.shah@qumranet.com>
Sun, 18 Nov 2007 16:55:40 +0000 (22:25 +0530)
committerAvi Kivity <avi@qumranet.com>
Tue, 27 Nov 2007 13:28:29 +0000 (15:28 +0200)
commit9d3ec61c6d700e4200819c4c3ae5cee9d089598d
tree628dbe7767628045fc6edf6c2335c607174b6636
parentd36ed0c7bb65884b52de661af61dca216e9f7137
KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std

emulator_write_std() is not implemented, and calling write_emulated should
work just as well in place of write_std.

Fixes emulator failures with the push r/m instruction.

Signed-off-by: Amit Shah <amit.shah@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86_emulate.c