diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-03-19 15:01:02 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-04-16 09:26:20 +0200 |
commit | dea1b0bdd8b0bb9d76a012fd0f234ba1768a4a93 (patch) | |
tree | 92d16be859f71d171a5d19c849ae521f37ed1ef1 /include | |
parent | 0f7b2864d0d0c3ef2801f9214d8c510c80a220d1 (diff) | |
download | qemu-dea1b0bdd8b0bb9d76a012fd0f234ba1768a4a93.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/console.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 3cb00180ae..800f458b02 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -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, |