On 7/9/23 13:25, Laszlo Ersek wrote:
This is with QEMU v8.1.0-391-gc152379422a2.
I use the command line from (scroll to the bottom):
https://github.com/tianocore/edk2/commit/49f06b664018
(with "-full-screen" removed).
The crash is as follows:
Unexpected error in object_property_find_err() at
../../src/upstream/qemu/qom/object.c:1314:
qemu: Property 'qemu-fixed-text-console.device' not found
Aborted (core dumped)
Cc'ing Marc-André for commit b208f745a8
("ui/console: introduce different console objects")
(Full backtrace attached.)
If I replace the "-device virtio-gpu-pci" option with "-nographic", then
there is no crash; QEMU launches fine and the guest starts booting fine.
I think this is a board-related problem; the riscv virt board code
likely does not set up the console properly.
Furthermore, I reckon this could be regression. When Sunil's above patch
was committed to edk2 (2023-06-23), the graphical guest window must have
worked still.
Laszlo