KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std
authorAmit Shah <amit.shah@qumranet.com>
Sun, 2 Dec 2007 11:18:42 +0000 (13:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 14 Dec 2007 17:50:56 +0000 (09:50 -0800)
commite124b02477867e05ba4bc12a1a22b17a537028a8
treee714ce2fbe7ea8387e6477f3b4f1485fe4252c56
parent3945c4161ccb0423757e331145144835b3e85b57
KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std

patch 00b2ef475d4728ca53a2bc788c7978042907e354 in mainline.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/kvm/x86_emulate.c