mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Fix nested virtualization support
Add libvirt configuration to allow host CPU passthrough to fix remaining issues with nested virtualization Signed-off-by: Scott Lowe <scott.lowe@scottlowe.org>
This commit is contained in:
parent
38fe6805a4
commit
d9486cf0c3
1 changed files with 1 additions and 0 deletions
1
kvm/kvm-generic/Vagrantfile
vendored
1
kvm/kvm-generic/Vagrantfile
vendored
|
|
@ -65,6 +65,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
|
||||
# Enable nested virtualization (required for KVM)
|
||||
lv.nested = true
|
||||
lv.cpu_mode = 'host-passthrough'
|
||||
end # srv.vm.provider 'libvirt'
|
||||
end # config.vm.define
|
||||
end # machines.each
|
||||
|
|
|
|||
Loading…
Reference in a new issue