Re: [PATCH] scsi-generic: replace logical block count of response of READ CAPACITY

2021-12-21 Thread Philippe Mathieu-Daudé
Hi Claudio, On 12/21/21 10:48, Claudio Fontana wrote: > Hi Paolo, Hannes, > > any thoughts on the following issue? > > Introduction: > > When using SAN storage for providing block devices to guests, configured as > SCSI-passthrough devices, increasing the space available in the VM is a use >

Re: [PATCH] scsi-generic: replace logical block count of response of READ CAPACITY

2021-12-21 Thread Claudio Fontana
Hi Paolo, Hannes, any thoughts on the following issue? Introduction: When using SAN storage for providing block devices to guests, configured as SCSI-passthrough devices, increasing the space available in the VM is a use case. To do it, it is currently necessary to: 1) expand storage on the

[PATCH] scsi-generic: replace logical block count of response of READ CAPACITY

2021-11-20 Thread Lin Ma
While using SCSI passthrough, Following scenario makes qemu doesn't realized the capacity change of remote scsi target: 1. online resize the scsi target. 2. issue 'rescan-scsi-bus.sh -s ...' in host. 3. issue 'rescan-scsi-bus.sh -s ...' in vm. In above scenario I used to experienced errors while a