KVM: Use write_emulated and not write_std, which is not implemented
Quoted 1 line
From
554315592b05eabf0355ac63145c28e11358af1fMon Sep 17 00:00:00 2001
From: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/[email protected]>
Date: Sun, 18 Nov 2007 00:03:27 +0530
Subject: [PATCH] KVM: Use write_emulated and not write_std, which is not implemented
... and calling write_emulated should work just as well in place of write_std.
--- drivers/kvm/x86_emulate.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
drivers/kvm/x86_emulate.c +0 -0
@@ -1076,9 +1076,10 @@ static inline int emulate_grp45(struct x86_emulate_ctxt
*ctxt,
} register_address_increment(c->regs[VCPU_REGS_RSP],
-c->dst.bytes);
- rc = ops->write_std(register_address(ctxt->ss_base,
- c->regs[VCPU_REGS_RSP]), &c->dst.val,
- c->dst.bytes, ctxt->vcpu);
+ rc = ops->write_emulated(register_address(ctxt->ss_base,
+ c->regs[VCPU_REGS_RSP]),
+ &c->dst.val,
+ c->dst.bytes, ctxt->vcpu);
if (rc != 0)
return rc;
c->dst.type = OP_NONE;
Signature · 7 lines
1.4.4.2 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
A message that is not in the archive (sent off-list or not yet received): 200711182248.19902.amit.shah-atKUWr5tajBWk0Htik3J/[email protected]
Avi Kivity
AppliedQuoted 9 lines · Amit Shah
From
554315592b05eabf0355ac63145c28e11358af1fMon Sep 17 00:00:00 2001
From: Amit Shah <amit.shah-atKUWr5tajBWk0Htik3J/[email protected]>
Date: Sun, 18 Nov 2007 00:03:27 +0530
Subject: [PATCH] KVM: Usewrite_emulatedand notwrite_std, which is not implemented... and calling
write_emulatedshould work just as well in place ofwrite_std.
Applied, thanks.
Signature · 7 lines
error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/