remove iommu, add qemu-guest-channel
This commit is contained in:
parent
1bf082856c
commit
194a8fcb98
@ -20,16 +20,17 @@ virt-install \
|
|||||||
--video virtio \
|
--video virtio \
|
||||||
--graphics spice,gl.enable=yes,listen=none \
|
--graphics spice,gl.enable=yes,listen=none \
|
||||||
--channel spicevmc \
|
--channel spicevmc \
|
||||||
|
--channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
|
||||||
--autoconsole none \
|
--autoconsole none \
|
||||||
--console pty,target.type=virtio \
|
--console pty,target.type=virtio \
|
||||||
--sound none \
|
--sound none \
|
||||||
--network type=user,model=virtio \
|
--network type=user,model=virtio \
|
||||||
--controller type=virtio-serial,driver.iommu=on \
|
--controller type=virtio-serial \
|
||||||
--controller type=usb,model=none \
|
--controller type=usb,model=none \
|
||||||
--controller type=scsi,model=virtio-scsi,driver.iommu=on \
|
--controller type=scsi,model=virtio-scsi \
|
||||||
--input type=keyboard,bus=virtio,driver.iommu=on \
|
--input type=keyboard,bus=virtio \
|
||||||
--input type=tablet,bus=virtio,driver.iommu=on \
|
--input type=tablet,bus=virtio \
|
||||||
--rng /dev/urandom,model=virtio,driver.iommu=on \
|
--rng /dev/urandom,model=virtio \
|
||||||
--disk none \
|
--disk none \
|
||||||
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
|
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
|
||||||
--install no_install=yes
|
--install no_install=yes
|
||||||
@ -56,22 +57,25 @@ virt-install \
|
|||||||
--graphics spice,listen=none \
|
--graphics spice,listen=none \
|
||||||
--graphics egl-headless,gl.enable=yes \
|
--graphics egl-headless,gl.enable=yes \
|
||||||
--channel spicevmc \
|
--channel spicevmc \
|
||||||
|
--channel unix,target.type=virtio,target.name=org.qemu.guest_agent.0 \
|
||||||
--autoconsole none \
|
--autoconsole none \
|
||||||
--console pty,target.type=virtio \
|
--console pty,target.type=virtio \
|
||||||
--sound none \
|
--sound none \
|
||||||
--network type=user,model=virtio \
|
--network type=user,model=virtio \
|
||||||
--controller type=virtio-serial,driver.iommu=on \
|
--controller type=virtio-serial \
|
||||||
--controller type=usb,model=none \
|
--controller type=usb,model=none \
|
||||||
--controller type=scsi,model=virtio-scsi,driver.iommu=on \
|
--controller type=scsi,model=virtio-scsi \
|
||||||
--input type=keyboard,bus=virtio,driver.iommu=on \
|
--input type=keyboard,bus=virtio \
|
||||||
--input type=tablet,bus=virtio,driver.iommu=on \
|
--input type=tablet,bus=virtio \
|
||||||
--rng /dev/urandom,model=virtio,driver.iommu=on \
|
--rng /dev/urandom,model=virtio \
|
||||||
--disk none \
|
--disk none \
|
||||||
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
|
--cdrom=/var/lib/libvirt/iso/netboot.xyz.iso \
|
||||||
--install no_install=yes
|
--install no_install=yes
|
||||||
|
|
||||||
|
|
||||||
virsh destroy linux-egl-headless-gl
|
virsh destroy linux-egl-headless-gl
|
||||||
|
|
||||||
|
|
||||||
# Create then shutdown a diskless virtual machine with SDL and OpenGL enabled, using virt-install.
|
# 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.
|
# 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.
|
# May be able to work most GPUs on the host an EFI-based guest.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user