use the q35 kvm machine type

This commit is contained in:
Rui Lopes
2023-08-07 08:26:54 +01:00
parent 9b98ee4fe3
commit 8a93c937ef
2 changed files with 6 additions and 0 deletions

View File

@@ -1,8 +1,11 @@
Vagrant.configure(2) do |config|
config.vm.provider 'libvirt' do |lv|
lv.machine_type = 'q35'
lv.loader = '/usr/share/ovmf/OVMF.fd'
lv.graphics_type = 'spice'
lv.video_type = 'qxl'
lv.disk_bus = 'scsi'
lv.disk_device = 'sda'
lv.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio'
lv.channel :type => 'spicevmc', :target_name => 'com.redhat.spice.0', :target_type => 'virtio'
end

View File

@@ -1,7 +1,10 @@
Vagrant.configure(2) do |config|
config.vm.provider 'libvirt' do |lv|
lv.machine_type = 'q35'
lv.graphics_type = 'spice'
lv.video_type = 'qxl'
lv.disk_bus = 'scsi'
lv.disk_device = 'sda'
lv.channel :type => 'unix', :target_name => 'org.qemu.guest_agent.0', :target_type => 'virtio'
lv.channel :type => 'spicevmc', :target_name => 'com.redhat.spice.0', :target_type => 'virtio'
end