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>
This commit is contained in:
@@ -2789,7 +2789,7 @@ int kvm_mmu_page_fault(struct kvm_vcpu *vcpu, gva_t cr2, u32 error_code)
|
||||
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:
|
||||
|
Reference in New Issue
Block a user