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 Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
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 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
hcd-dwc3.h usb: Add DWC3 model 2020-12-15 12:04:30 +00:00
hcd-musb.h Clean up header guards that don't match their file name 2022-05-11 16:49:06 +02:00
hid.h hw/usb: Regroup USB HID protocol values 2020-08-31 08:10:47 +02:00
imx-usb-phy.h Use OBJECT_DECLARE_SIMPLE_TYPE when possible 2020-09-18 14:12:32 -04:00
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 Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xhci.h usb/xhci: add xhci_sysbus_build_aml() helper 2020-10-21 11:36:19 +02:00
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