qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] scsi: to fix issue on passing host_status to the guest kernel
@ 2021-12-10 14:16 Dongli Zhang
  2021-12-10 14:16 ` [PATCH 1/2] scsi/scsi_bus: use host_status as parameter for scsi_sense_from_host_status() Dongli Zhang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dongli Zhang @ 2021-12-10 14:16 UTC (permalink / raw)
  To: qemu-block, qemu-devel; +Cc: fam, pbonzini, rui.loura, joe.jin, adnan.misherfi

This patchset fixes the issue on passing 'host_status' to the guest kernel.

The 1st patch fixes the erroneous usage of req->host_status.

The 2nd patch is to pass the SCSI_HOST_ERROR to the guest kernel when the
req->bus->info->fail() is not implemented. I do not add 'Fixes:' because I
am not sure if to not pass SCSI_HOST_ERROR was on purpose, especially for
security reason.

Thank you very much!

Dongli Zhang




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-11  1:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-10 14:16 [PATCH 0/2] scsi: to fix issue on passing host_status to the guest kernel Dongli Zhang
2021-12-10 14:16 ` [PATCH 1/2] scsi/scsi_bus: use host_status as parameter for scsi_sense_from_host_status() Dongli Zhang
2021-12-10 14:16 ` [PATCH 2/2] scsi/utils: pass host_status = SCSI_HOST_ERROR to guest kernel Dongli Zhang
2022-01-11  1:15 ` [PATCH 0/2] scsi: to fix issue on passing host_status to the " Dongli Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).