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

2020-03-10 Thread Lin Ma
r valuable information, Lin From: Stefan Hajnoczi Sent: Tuesday, March 10, 2020 5:24 PM To: Lin Ma Cc: qemu-devel@nongnu.org; pbonz...@redhat.com; h...@suse.de; Eric Blake; Jon Maloy; qemu-bl...@nongnu.org Subject: Re: [Question] About GET LBA STATUS(16) support in

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

2020-03-10 Thread Stefan Hajnoczi
On Tue, Mar 10, 2020 at 06:18:00AM +, Lin Ma wrote: > First of all, Thanks for your reply, Stefan. > > We know that the GET LBA STATUS works well under scsi lun passthrough due to > the vm directly talks to the scsi target. > I'm curious that if I use file backend image(say qcow2) + qemu scsi

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

2020-03-09 Thread Lin Ma
qemu-devel@nongnu.org; pbonz...@redhat.com; h...@suse.de; Eric Blake; Jon Maloy Subject: Re: [Question] About GET LBA STATUS(16) support in qemu scsi emulation layer On Sun, Mar 01, 2020 at 01:01:29PM +, Lin Ma wrote: > Hi all, > > I'm not familiar with scsi, I'm curious why

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

2020-03-06 Thread Stefan Hajnoczi
On Sun, Mar 01, 2020 at 01:01:29PM +, Lin Ma wrote: > 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. > s

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

2020-03-01 Thread Lin Ma
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)