Skip to content
Commit c513f484 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

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: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent ca46d739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment