diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-05-08 11:04:32 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-24 21:27:03 +0200 |
commit | 21be4ca1ea685ab3ccc2fd18babb89bc477a9e5c (patch) | |
tree | a836a9222e1dec73eedd959631548e032e8a895b /virt | |
parent | db80927ea1977a845230a161df643b48fd1e1ea4 (diff) | |
download | linux-21be4ca1ea685ab3ccc2fd18babb89bc477a9e5c.tar.gz linux-21be4ca1ea685ab3ccc2fd18babb89bc477a9e5c.tar.bz2 linux-21be4ca1ea685ab3ccc2fd18babb89bc477a9e5c.zip |
KVM: nVMX: Clear nested_run_pending if setting nested state fails
VMX's nested_run_pending flag is subtly consumed when stuffing state to
enter guest mode, i.e. needs to be set according before KVM knows if
setting guest state is successful. If setting guest state fails, clear
the flag as a nested run is obviously not pending.
Reported-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions