summaryrefslogtreecommitdiff
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-05-03 08:29:32 +0200
committerGerd Hoffmann <kraxel@redhat.com>2018-05-07 11:10:42 +0200
commit3280ea8edede3814553aa19fa27a58daedd48ad9 (patch)
tree502e8c846609cca3c0af952cdb594185fe04a39d /hw/arm/virt.c
parent2392ae6bbb0a940a4fd6df29e704b09cadc14790 (diff)
downloadqemu-3280ea8edede3814553aa19fa27a58daedd48ad9.tar.gz
usb-host: skip open on pending postload bh
usb-host emulates a device unplug after live migration, because the device state is unknown and unplug/replug makes sure the guest re-initializes the device into a working state. This can't be done in post-load though, so post-load just schedules a bottom half which executes after vmload is complete. It can happen that the device autoscan timer hits the race window between scheduling and running the bottom half, which in turn can triggers an assert(). Fix that issue by just ignoring the usb_host_open() call in case the bottom half didn't execute yet. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1572851 Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180503062932.17233-1-kraxel@redhat.com
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions