File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed
netsim/templates/provider/libvirt Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 1212 domain.driver = "kvm"
1313 domain.nic_model_type = "virtio"
1414 domain.graphics_type = "none"
15+ domain.video_type = "none"
1516 domain.nested = true
16- domain.cpu_mode = "custom"
17- domain.cpu_model = "qemu64"
18- {% if 'amd' in defaults .processor %}
19- domain.cpu_feature :name => 'svm', :policy => 'require'
20- {% else %}
21- domain.cpu_feature :name => 'vmx', :policy => 'require'
22- {% endif %}
17+
18+ {#
19+ domain.loader = "/usr/share/OVMF/OVMF_CODE_4M.fd"
20+ domain.nvram = "/var/lib/libvirt/qemu/nvram/{{ name }}.fd"
21+ #}
22+ domain.machine_type = "q35"
23+ domain.cpu_mode = "host-passthrough"
24+
2325 domain.sysinfo = {
2426 "bios": {
2527 "vendor": "Bochs",
3436 "manufacturer": "Bochs"
3537 }
3638 }
37-
38- {% if "amd" in defaults .processor |lower %}
39- domain.cpu_mode = "custom"
40- {% endif %}
4139 end
You can’t perform that action at this time.
0 commit comments