commit | 851ba6922ac575b749f63dee0ae072808163ba6a | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Mon Aug 24 11:10:17 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:06 2009 +0200 |
tree | 665111285e65fea316ce6614f1208261a255fb70 | |
parent | d8769fedd4e8323d8afea9a1b2bdebff4f1d2d37 [diff] [blame] |
KVM: Don't pass kvm_run arguments They're just copies of vcpu->run, which is readily accessible. Signed-off-by: Avi Kivity <avi@redhat.com>
diff --git a/arch/x86/kvm/mmu.c b/arch/x86/kvm/mmu.c index 818b92a..a902479 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c
@@ -2789,7 +2789,7 @@ if (r) goto out; - er = emulate_instruction(vcpu, vcpu->run, cr2, error_code, 0); + er = emulate_instruction(vcpu, cr2, error_code, 0); switch (er) { case EMULATE_DONE: