commit | c513f484c5582a8efadf3d72298e2285b041536e | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon May 18 13:08:37 2020 -0400 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Jun 01 04:26:03 2020 -0400 |
tree | b8450accf8e427bb6e7ceaa9c4711bae0bc2d6c9 | |
parent | ca46d739e3caf44dcd3db9eb8da30d0ff3aa9180 [diff] |
KVM: nSVM: leave guest mode when clearing EFER.SVME According to the AMD manual, the effect of turning off EFER.SVME while a guest is running is undefined. We make it leave guest mode immediately, similar to the effect of clearing the VMX bit in MSR_IA32_FEAT_CTL. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>