Hi Gerd, On 3/29/21 7:59 AM, Gerd Hoffmann wrote: >>> and realize >>> already calls qemu_console_resize(), so how can adding a >>> call to resize here in reset cause the console surface to >>> be created any earlier than it already is ? >>> >>> I also don't understand how the GUI timer can call us before >>> the device is realized, given that we only register ourselves >>> via graphics_console_init() in the device realize. > > Yes, should not happen. Also note that graphics_console_init() > creates a surface. > >>> Is it possible to get the UI layer to >>> not start calling into graphics devices until after the >>> system has been reset for the first time, for instance? > > Can that actually happen? I don't think it could in the past, > but maybe now with the initialization changes. We can add a > check to gui_update() ...
Do you mind sending a patch? Thanks, Phil.