qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Dongli Zhang <dongli.zhang@oracle.com>
To: qemu-block@nongnu.org, qemu-devel@nongnu.org
Cc: fam@euphon.net, pbonzini@redhat.com, rui.loura@oracle.com,
	joe.jin@oracle.com, adnan.misherfi@oracle.com
Subject: [PATCH 0/2] scsi: to fix issue on passing host_status to the guest kernel
Date: Fri, 10 Dec 2021 06:16:13 -0800	[thread overview]
Message-ID: <20211210141615.2585-1-dongli.zhang@oracle.com> (raw)

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




             reply	other threads:[~2021-12-10 14:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-10 14:16 Dongli Zhang [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211210141615.2585-1-dongli.zhang@oracle.com \
    --to=dongli.zhang@oracle.com \
    --cc=adnan.misherfi@oracle.com \
    --cc=fam@euphon.net \
    --cc=joe.jin@oracle.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rui.loura@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).