Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=781d0e... Commit: 781d0edc5fc5cfe7491a0c5081734e62f6dc66ee Parent: faa5a3ae39483aefc46a78299c811194f953af27 Author: Avi Kivity <avi@redhat.com> AuthorDate: Thu Nov 27 18:00:28 2008 +0200 Committer: Avi Kivity <avi@redhat.com> CommitDate: Wed Dec 31 16:55:04 2008 +0200 KVM: x86 emulator: allow pop from mmio Signed-off-by: Avi Kivity <avi@redhat.com> --- arch/x86/kvm/x86_emulate.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c index 2555762..70242f5 100644 --- a/arch/x86/kvm/x86_emulate.c +++ b/arch/x86/kvm/x86_emulate.c @@ -1063,9 +1063,9 @@ static int emulate_pop(struct x86_emulate_ctxt *ctxt, struct decode_cache *c = &ctxt->decode; int rc; - rc = ops->read_std(register_address(c, ss_base(ctxt), - c->regs[VCPU_REGS_RSP]), - &c->src.val, c->src.bytes, ctxt->vcpu); + rc = ops->read_emulated(register_address(c, ss_base(ctxt), + c->regs[VCPU_REGS_RSP]), + &c->src.val, c->src.bytes, ctxt->vcpu); if (rc != 0) return rc; -- To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
