mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
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>
This commit is contained in:
parent
c62a0c7ce3
commit
8781c70144
2 changed files with 26 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue