Home
last modified time | relevance | path

Searched hist:"12 b69878" (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/hw/usb/
H A Dmsd.h12b69878 Tue Aug 30 01:38:27 CDT 2022 Gerd Hoffmann <kraxel@redhat.com> 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>
/openbmc/qemu/hw/usb/
H A Dtrace-events12b69878 Tue Aug 30 01:38:27 CDT 2022 Gerd Hoffmann <kraxel@redhat.com> 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>
H A Ddev-storage.c12b69878 Tue Aug 30 01:38:27 CDT 2022 Gerd Hoffmann <kraxel@redhat.com> 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>