]> git.proxmox.com Git - mirror_qemu.git/commit
usb: improve packet state sanity checks
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 8 Mar 2012 11:27:47 +0000 (12:27 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 13 Mar 2012 09:15:32 +0000 (10:15 +0100)
commit5ac2731cf821a7ecae90786d9052891afb09dfc2
tree37c2bcc578d2aee30af5b555da055db65ece993a
parent86e18cae209f8101ff9a6013a1ff6ae620c06944
usb: improve packet state sanity checks

Add a new function to check whenever the packet state is as expected,
log more informations in case it isn't.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb.h
hw/usb/core.c
trace-events