x86/kvm/nVMX: allow bare VMXON state migration
authorVitaly Kuznetsov <vkuznets@redhat.com>
Tue, 16 Oct 2018 16:50:07 +0000 (18:50 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:30:18 +0000 (00:30 +0200)
commita1b0c1c64dfef0cff8555bb708bfc5d7c66c6ca4
tree3dcadea2fd1100ef01685167f5f15f05a7afc6f6
parenta7c42bb6da6b1b54b2e7bd567636d72d87b10a79
x86/kvm/nVMX: allow bare VMXON state migration

It is perfectly valid for a guest to do VMXON and not do VMPTRLD. This
state needs to be preserved on migration.

Cc: stable@vger.kernel.org
Fixes: 8fcc4b5923af5de58b80b53a069453b135693304
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c