mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-10 00:26:34 +00:00
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>
This commit is contained in:
parent
2a738e20a1
commit
00b2ef475d
1 changed files with 1 additions and 1 deletions
|
@ -1146,7 +1146,7 @@ done_prefixes:
|
||||||
}
|
}
|
||||||
register_address_increment(_regs[VCPU_REGS_RSP],
|
register_address_increment(_regs[VCPU_REGS_RSP],
|
||||||
-dst.bytes);
|
-dst.bytes);
|
||||||
if ((rc = ops->write_std(
|
if ((rc = ops->write_emulated(
|
||||||
register_address(ctxt->ss_base,
|
register_address(ctxt->ss_base,
|
||||||
_regs[VCPU_REGS_RSP]),
|
_regs[VCPU_REGS_RSP]),
|
||||||
&dst.val, dst.bytes, ctxt->vcpu)) != 0)
|
&dst.val, dst.bytes, ctxt->vcpu)) != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue