Skip to content

Instantly share code, notes, and snippets.

@GGORG0
Created January 1, 2025 17:56
Show Gist options
  • Select an option

  • Save GGORG0/ccc280772e24ea914f68151f9d79b3a9 to your computer and use it in GitHub Desktop.

Select an option

Save GGORG0/ccc280772e24ea914f68151f9d79b3a9 to your computer and use it in GitHub Desktop.
VirtIO + GPU acceleration + SPICE integration in QEMU/libvirt/virt-manager and Arch Linux

packages:

  • mesa
  • mesa-utils
  • qemu-guest-agent
  • spice-vdagent
  • vulkan-mesa-layers
  • vulkan-virtio

/etc/mkinitcpio.conf:

MODULES=(virtio virtio_blk virtio_pci virtio_net)

services:

  • qemu-guest-agent.service
  • spice-vdagentd.service / spice-vdagentd.socket

hardware:

  • virtio disk
  • enable shared memory
  • virtio NIC
  • evtouch tablet
  • virtio tablet
  • ps2 mouse
  • ps2 keyboard
  • virtio keyboard
  • sound hda ich9
  • channel qemu-ga
  • channel spice
  • video virtio + 3d accel
  • controller virtio serial
  • display spice + opengl + listen type none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment