mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
xen: re-enable refresh interval reporting for xenfb
xenfb informs the guest about the gui refresh interval so it can avoid pointless work. That logic was temporarely disabled for the DisplayState reorganization. Restore it now, with a proper interface for it. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
0f7b2864d0
commit
dea1b0bdd8
3 changed files with 24 additions and 39 deletions
|
@ -272,6 +272,7 @@ typedef struct GraphicHwOps {
|
|||
void (*invalidate)(void *opaque);
|
||||
void (*gfx_update)(void *opaque);
|
||||
void (*text_update)(void *opaque, console_ch_t *text);
|
||||
void (*update_interval)(void *opaque, uint64_t interval);
|
||||
} GraphicHwOps;
|
||||
|
||||
QemuConsole *graphic_console_init(const GraphicHwOps *ops,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue