[edk2-devel] [edk2-discuss] Load Option passing. Either bugs or my confusion.

Gerd Hoffmann kraxel at redhat.com
Mon Apr 20 14:13:03 UTC 2020


  Hi,

> So I would say that the symptom you see is a QEMU v4.1.0 regression. The
> QemuRamfbGraphicsOutputSetMode() function in the OVMF ramfb driver
> certainly needs the QemuFwCfgWriteBytes() call to work, for changing the
> resolution.

Oh?  QemuRamfbGraphicsOutputSetMode() can be called multiple times?
How does that happen?

> (1) Registering a device reset handler in QEMU seems sufficient, so that
> QEMU forget about the currently shared RAMFB area at platform reset.

That happens.  After system reset you can write configuration again (once).

The guest os should not play with ramfb.  It is supposed to be setup by
the firmware (ovmf driver or vgabios rom) as boot display, then never be
re-configured again ...

cheers,
  Gerd


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#57637): https://edk2.groups.io/g/devel/message/57637
Mute This Topic: https://groups.io/mt/73011122/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list