]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: enable nested virtualization by default
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Oct 2018 22:55:22 +0000 (00:55 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 17 Oct 2018 17:10:09 +0000 (19:10 +0200)
commit09413d646d089da2562cd6b4eb167b7bc7a72d25
tree3b066c01b4b0abab52c035c2cddc2845477c1722
parentd50403df4418eaa37841ddab6510b8761e6f7a93
KVM: VMX: enable nested virtualization by default

With live migration support and finally a good solution for exception
event injection, nested VMX should be ready for having a stable userspace
ABI.  The results of syzkaller fuzzing are not perfect but not horrible
either (and might be partially due to running on GCE, so that effectively
we're testing three-level nesting on a fork of upstream KVM!).  Enabling
it by default seems like a nice way to conclude the 4.20 pull request. :)

Unfortunately, enabling nested SVM in 2009 (commit 73623f728cc) was a
bit premature.  However, until live migration support is in place we can
reasonably expect that it does not offer much in terms of ABI guarantees.
Therefore we are still in time to break things and conform as much as
possible to the interface used for VMX.

Suggested-by: Jim Mattson <jmattson@google.com>
Suggested-by: Liran Alon <liran.alon@oracle.com>
Reviewed-by: Liran Alon <liran.alon@oracle.com>
Celebrated-by: Liran Alon <liran.alon@oracle.com>
Celebrated-by: Wanpeng Li <kernellwp@gmail.com>
Celebrated-by: Wincy Van <fanwenyi0529@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c