Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kvm: Passthrough host CPU in order to allow nesting
Before this patch the virtual CPU was the stock qemu CPU, in the sense that the virtual CPU features were set according to the default qemu CPU. With this change the CPU features of the host will be copied at start to the domain definition. This includes features like svm and vmx, which in turn allow to run nested virtualization if the host is configured accordingly i.e. `kvm_intel nested=y` in `/etc/modprobe.d/kvm.conf`. Resolves #kubernetes#2553 Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
- Loading branch information