Public bug reported:

[ Impact ]

By default virt-manager uses the Spice protocol to communicate with the 
virtio GPU. But QEMU does not enable the Spice support on this architecture.

Please, add riscv64 to spice-arch in debian/control.mk

On https://salsa.debian.org/qemu-team/qemu.git the change is present as commit
d24156389c0d ("d/control: add loong64 and riscv64 to spice-arch (#1093646)")

[ Test Plan ]

On a riscv64 system launch a VM with

/usr/bin/qemu-system-riscv64 \
  -M virt,acpi=off -accel tcg -m 1024 -smp 2 \
  -name guest=spice-riscv64,debug-threads=on \
  -cpu max \
  -serial mon:stdio \
  -device virtio-gpu-pci \
  -device qemu-xhci \
  -device usb-kbd \
  -drive 
if=pflash,format=raw,unit=0,file=/usr/share/qemu-efi-riscv64/RISCV_VIRT_CODE.fd,readonly=on
 \
  -spice port=5911,addr=0.0.0.0,disable-ticketing=on

This step fails without spice support.

Try to connect to the VM with

remote-viewer spice://127.0.0.1:5911

Poweroff the VM by entering

reset -s

in the EFI shell.

[ Where problems could occur ]

The change only concerns virtual machines running or riscv64.

Running VMs might fail.

[ Other Info ]

N/A

** Affects: qemu (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: qemu (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Affects: qemu (Ubuntu Oracular)
     Importance: Undecided
         Status: New

** Affects: qemu (Ubuntu Plucky)
     Importance: Undecided
         Status: New

** Affects: qemu (Debian)
     Importance: Unknown
         Status: Unknown

** Also affects: qemu (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Oracular)
   Importance: Undecided
       Status: New

** Also affects: qemu (Ubuntu Plucky)
   Importance: Undecided
       Status: New

** Bug watch added: Debian Bug tracker #1093646
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093646

** Also affects: qemu (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093646
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2096705

Title:
  [SRU] enable Spice on riscv64

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/2096705/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to