]> git.proxmox.com Git - mirror_qemu.git/commit
vfio/display: delay link up event
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 11 Mar 2019 17:14:40 +0000 (11:14 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 11 Mar 2019 18:59:59 +0000 (12:59 -0600)
commit8781c701445d83145ac1e69714e76a643f5525da
tree304310ba22f1dc06f78115ed025c186abb038b27
parentc62a0c7ce34ed99a7c45199b9fddeafaba73f3bf
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>
hw/vfio/display.c
include/hw/vfio/vfio-common.h