summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2021-09-29 19:51:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-30 10:27:02 +0200
commitfeb3162f9debbbeee5b00ad5a4e776f826dd9161 (patch)
treec09ce06c684d580a77ba854ef1cd1e3675037454 /virt
parentKVM: nVMX: Use INVALID_GPA for pointers used in nVMX. (diff)
downloadlinux-feb3162f9debbbeee5b00ad5a4e776f826dd9161.tar.xz
linux-feb3162f9debbbeee5b00ad5a4e776f826dd9161.zip
KVM: nVMX: Reset vmxon_ptr upon VMXOFF emulation.
Currently, 'vmx->nested.vmxon_ptr' is not reset upon VMXOFF emulation. This is not a problem per se as we never access it when !vmx->nested.vmxon. But this should be done to avoid any issue in the future. Also, initialize the vmxon_ptr when vcpu is created. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com> Message-Id: <20210929175154.11396-3-yu.c.zhang@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions