remove iommu, add qemu-guest-channel

This commit is contained in:
lukas 2021-11-26 21:21:53 +01:00
parent 1bf082856c
commit 194a8fcb98

View File

@ -20,16 +20,17 @@ virt-install \
--video virtio \
--graphics spice,gl.enable=yes,listen=none \
--channel spicevmc \
--channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
--autoconsole none \
--console pty,target.type=virtio \
--sound none \
--network type=user,model=virtio \
--controller type=virtio-serial,driver.iommu=on \
--controller type=virtio-serial \
--controller type=usb,model=none \
--controller type=scsi,model=virtio-scsi,driver.iommu=on \
--input type=keyboard,bus=virtio,driver.iommu=on \
--input type=tablet,bus=virtio,driver.iommu=on \
--rng /dev/urandom,model=virtio,driver.iommu=on \
--controller type=scsi,model=virtio-scsi \
--input type=keyboard,bus=virtio \
--input type=tablet,bus=virtio \
--rng /dev/urandom,model=virtio \
--disk none \
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
--install no_install=yes
@ -56,22 +57,25 @@ virt-install \
--graphics spice,listen=none \
--graphics egl-headless,gl.enable=yes \
--channel spicevmc \
--channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
--autoconsole none \
--console pty,target.type=virtio \
--sound none \
--network type=user,model=virtio \
--controller type=virtio-serial,driver.iommu=on \
--controller type=virtio-serial \
--controller type=usb,model=none \
--controller type=scsi,model=virtio-scsi,driver.iommu=on \
--input type=keyboard,bus=virtio,driver.iommu=on \
--input type=tablet,bus=virtio,driver.iommu=on \
--rng /dev/urandom,model=virtio,driver.iommu=on \
--controller type=scsi,model=virtio-scsi \
--input type=keyboard,bus=virtio \
--input type=tablet,bus=virtio \
--rng /dev/urandom,model=virtio \
--disk none \
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
--install no_install=yes
virsh destroy linux-egl-headless-gl
# Create then shutdown a diskless virtual machine with SDL and OpenGL enabled, using virt-install.
# SDL with OpenGL enabled performs better than egl-headless or Spice with OpenGL enabled.
# May be able to work most GPUs on the host an EFI-based guest.