]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
KVM: nVMX: Use kvm_read_guest_offset_cached() for nested VMCS check
authorDavid Woodhouse <dwmw@amazon.co.uk>
Mon, 15 Nov 2021 16:50:25 +0000 (16:50 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Nov 2021 07:03:43 +0000 (02:03 -0500)
commit7d0172b3ca4231f0a0566157e9a28a3d3ffc0142
tree2a25daa2959a97d82e9236241ac52732fab40efc
parent6a834754a568bb809a1466001a0523dab8e6adef
KVM: nVMX: Use kvm_read_guest_offset_cached() for nested VMCS check

Kill another mostly gratuitous kvm_vcpu_map() which could just use the
userspace HVA for it.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Message-Id: <20211115165030.7422-6-dwmw2@infradead.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c