qemu-e2k/include/hw/usb
Gerd Hoffmann 12b69878fc usb/msd: add usb_msd_fatal_error() and fix guest-triggerable assert
Add handler for fatal errors.  Moves device into error state where it
stops responding until the guest resets it.

Guest can send illegal requests where scsi command and usb packet
transfer directions are inconsistent.  Use the new usb_msd_fatal_error()
function instead of assert() in that case.

Reported-by: Qiang Liu <cyruscyliu@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Qiang Liu <cyruscyliu@gmail.com>
Message-Id: <20220830063827.813053-3-kraxel@redhat.com>
2022-09-27 07:32:30 +02:00
..
chipidea.h
dwc2-regs.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
ehci-regs.h
hcd-dwc3.h
hcd-musb.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
hid.h
imx-usb-phy.h
msd.h usb/msd: add usb_msd_fatal_error() and fix guest-triggerable assert 2022-09-27 07:32:30 +02:00
uhci-regs.h
xhci.h
xlnx-usb-subsystem.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
xlnx-versal-usb2-ctrl-regs.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00