]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 3 Dec 2018 21:52:51 +0000 (13:52 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 11:34:20 +0000 (12:34 +0100)
commit90be4a01170c0d22a101a020ba48d00cde73ee9d
tree97cf43c4656d94a75a7407529d9251f5aa75455e
parentbfe9d5df8ebe278672c430566c38d8e1f1d9d554
KVM: nVMX: Free the VMREAD/VMWRITE bitmaps if alloc_kvm_area() fails

Fixes: 2986b5f29058 ("kvm: x86: vmx: move some vmx setting from vmx_init() to hardware_setup()")
Cc: stable@vger.kernel.org
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c