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)
commit00b2ef475d4728ca53a2bc788c7978042907e354
tree628dbe7767628045fc6edf6c2335c607174b6636
parent2a738e20a11b44219aa83073d625ff1a7004e463
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