summaryrefslogtreecommitdiff
path: root/hw/usb/hcd-ehci-pci.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-12-14 13:10:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-01-07 12:57:24 +0100
commita820b575787ac0b6b274b6a89aa6ef9813b4c782 (patch)
tree817aa4a20eebc3f253d5ae9e6062bff979acfa37 /hw/usb/hcd-ehci-pci.c
parente97f0aca796fb949f9d34c50603511048a52b39b (diff)
downloadqemu-a820b575787ac0b6b274b6a89aa6ef9813b4c782.tar.gz
xhci: call set-address with dummy usbpacket
Due to the way devices are addressed with xhci (done by hardware, not the guest os) there is no packet when invoking the set-address control request. Create a dummy packet in that case to avoid null pointer dereferences. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb/hcd-ehci-pci.c')
0 files changed, 0 insertions, 0 deletions