diff options
author | Gerd Hoffmann | 2019-03-11 18:14:40 +0100 |
---|---|---|
committer | Alex Williamson | 2019-03-11 19:59:59 +0100 |
commit | 8781c701445d83145ac1e69714e76a643f5525da (patch) | |
tree | 304310ba22f1dc06f78115ed025c186abb038b27 /include | |
parent | vfio/display: add xres + yres properties (diff) | |
download | qemu-8781c701445d83145ac1e69714e76a643f5525da.tar.gz qemu-8781c701445d83145ac1e69714e76a643f5525da.tar.xz qemu-8781c701445d83145ac1e69714e76a643f5525da.zip |
vfio/display: delay link up event
Kick the display link up event with a 0.1 sec delay,
so the guest has a chance to notice the link down first.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
[update for redefined macro]
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/vfio/vfio-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h index 5f7f709b95..b65a2f0518 100644 --- a/include/hw/vfio/vfio-common.h +++ b/include/hw/vfio/vfio-common.h @@ -151,6 +151,7 @@ typedef struct VFIODisplay { struct vfio_region_info *edid_info; struct vfio_region_gfx_edid *edid_regs; uint8_t *edid_blob; + QEMUTimer *edid_link_timer; struct { VFIORegion buffer; DisplaySurface *surface; |