All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lin Ma <LMa@suse.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Cc: "pbonzini@redhat.com" <pbonzini@redhat.com>,
	"hare@suse.de" <hare@suse.de>
Subject: [Question] About GET LBA STATUS(16) support in qemu scsi emulation layer
Date: Sun, 1 Mar 2020 13:01:29 +0000	[thread overview]
Message-ID: <BY5PR18MB33131C4403EEE72D5DD0FA91C5E60@BY5PR18MB3313.namprd18.prod.outlook.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

Hi all,

I'm not familiar with scsi, I'm curious why there is no GET LBA STATUS(16) support in qemu scsi emulation layer.

So far, There is only one subcommand of SERVICE ACTION was implemented: The READ CAPACITY(16)
e.g.
static int32_t scsi_disk_emulate_command(SCSIRequest *req, uint8_t *buf)
    [......]
    case SERVICE_ACTION_IN_16:
        /* Service Action In subcommands. */
        if ((req->cmd.buf[1] & 31) == SAI_READ_CAPACITY_16) {
            [......]
        }
        trace_scsi_disk_emulate_command_SAI_unsupported();
        goto illegal_request;
    [......]


It seems that this situation has been for a long time. Is the GET LBA STATUS (16 or 32) unnessesary for qemu scsi emulation or did I misunderstand something?

TIA,
Lin

[-- Attachment #2: Type: text/html, Size: 1666 bytes --]

             reply	other threads:[~2020-03-01 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-01 13:01 Lin Ma [this message]
2020-03-06 13:01 ` [Question] About GET LBA STATUS(16) support in qemu scsi emulation layer Stefan Hajnoczi
2020-03-10  6:18 Lin Ma
2020-03-10  9:24 ` Stefan Hajnoczi
2020-03-10 13:51 Lin Ma

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=BY5PR18MB33131C4403EEE72D5DD0FA91C5E60@BY5PR18MB3313.namprd18.prod.outlook.com \
    --to=lma@suse.com \
    --cc=hare@suse.de \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.