Graphic Output on Qemu

Alireza Banejad

Hello everyone,
I am trying to use the GOP library for my uefi development. But no matter
what code whenever i want to open the GOP handle RETURN_UNSUPPORTED is
returned. I think this may be a qemu problem as if it doesn't support the
GOP at all. This is how I run my qemu

qemu-system-x86_64 -bios $FIRMWARE -hda fat:rw:$DRIVE -global
isa-debugcon.iobase=0x402 -net none -debugcon file:debug2.log -machine
pc-q35-6.2 -device virtio-gpu

Should I add any specific options for the qemu command or should I just use
another lib for GOP on qemu?