]> Pileus Git - ~andy/linux/blobdiff - drivers/kvm/x86_emulate.c
KVM: x86 emulator: Use emulator_write_emulated and not emulator_write_std
[~andy/linux] / drivers / kvm / x86_emulate.c
index 6c1413f9e9c375e7d33daa3f67289654a203bb87..bd46de6bf891e795ce94835893dc9b82b063ff97 100644 (file)
@@ -1146,7 +1146,7 @@ done_prefixes:
                        }
                        register_address_increment(_regs[VCPU_REGS_RSP],
                                                   -dst.bytes);
-                       if ((rc = ops->write_std(
+                       if ((rc = ops->write_emulated(
                                     register_address(ctxt->ss_base,
                                                      _regs[VCPU_REGS_RSP]),
                                     &dst.val, dst.bytes, ctxt->vcpu)) != 0)