qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Question] About GET LBA STATUS(16) support in qemu scsi emulation layer


From: Lin Ma
Subject: [Question] About GET LBA STATUS(16) support in qemu scsi emulation layer
Date: Sun, 1 Mar 2020 13:01:29 +0000

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]