File tree 1 file changed +11
-1
lines changed
1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ Vagrant.configure("2") do |config|
9
9
### !!! CHANGE ME START !!!
10
10
# Hostname inside of VM
11
11
config . vm . hostname = "devzbox"
12
+
13
+ # Libvirt (qemu-kvm) for Linux
14
+ config . vm . provider :libvirt do |lv , config |
15
+ lv . memory = 8 *1024
16
+ lv . cpus = 8
17
+ lv . cpu_mode = 'host-passthrough'
18
+ lv . nested = true
19
+ lv . keymap = 'pt'
20
+ end
12
21
13
22
# Hyper-V available on Windows Pro or higher
14
23
config . vm . provider "hyperv" do |h |
@@ -33,7 +42,8 @@ Vagrant.configure("2") do |config|
33
42
#}
34
43
35
44
# This on Hyper-V works only on Intel CPUs so far in 2020
36
- # Needed if you want VM in VM setup
45
+ # Needed if you want VM in VM setup (nested virtualization)
46
+ # https://www.reddit.com/r/qemu_kvm/comments/jd1mug/amd_nested_virtualization_kvm_windows_10_guest/
37
47
#h.enable_virtualization_extensions = true
38
48
end
39
49
You can’t perform that action at this time.
0 commit comments