Public bug reported:

[ Impact ]

QEMU enables CONFIG_VIRTIO_VGA by default.
Libvirt falls back from virtio-gpu-pci to virtio-vga if made available by QEMU.
We need to enable VGA support to get video output for EDK II in virt-manager:

Driver QemuVideoDxe is added to OvmfPkg/RiscVVirt/RiscVVirtQemu.dsc/.fdf

Upstream has merged the change.

A Debian MR (https://salsa.debian.org/qemu-
team/edk2/-/merge_requests/19) is pending.

[ Test Plan ]

Execute

/usr/bin/qemu-system-riscv64 \
  -M virt,acpi=off -accel tcg -m 1024 -smp 2 \
  -cpu max \
  -serial mon:stdio \
  -device virtio-vga \
  -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

The graphical output should show EDK II starting up ending up in the EDK
II shell.

This does not work on Ubuntu 24.04 currently.

Power off the VM by entering 'reset -s' in the EFI shell

[ Where problems could occur ]

The change only concerns EDK II for RISC-V. The firmware might mal-
function.

[ Other Info ]

n/a

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

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

Title:
  [SRU] Enable virtio-vga in qemu-efi-riscv64

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


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

Reply via email to