Skip to content
Commit 0cd665bd authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: x86: cleanup kvm_inject_emulated_page_fault



To reconstruct the kvm_mmu to be used for page fault injection, we
can simply use fault->nested_page_fault.  This matches how
fault->nested_page_fault is assigned in the first place by
FNAME(walk_addr_generic).

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 5efac074
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment