aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/hcd-ehci.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-11-14 15:51:18 +0100
committerGerd Hoffmann <kraxel@redhat.com>2012-11-16 11:27:05 +0100
commitc06c68c928edd36eb56baa0d2db065bbec28af27 (patch)
tree753a30b791cbf147e5b02639f844f267dbb29e14 /hw/usb/hcd-ehci.c
parent155de06f2480219ea99916ddb9ad61b622b8f51f (diff)
downloadqemu-c06c68c928edd36eb56baa0d2db065bbec28af27.zip
qemu-c06c68c928edd36eb56baa0d2db065bbec28af27.tar.gz
qemu-c06c68c928edd36eb56baa0d2db065bbec28af27.tar.bz2
usb-host: scan for usb devices when the vm starts
Commit a844ed842d9a9d929645c09ae0f52f753d7a02e0 leads to usb-host detecting devices not right after qemu startup because the guest isn't running yet. Instead they are found on the first of the regular usb device poll runs. Which is too late for seabios to see them, so booting from usb sticks fails. Fix this by adding a vm state change handler which triggers a device scan when the vm is started. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci.c')
0 files changed, 0 insertions, 0 deletions