[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Questions about online resizing a lun passthrough disk with virtio-s
From: |
Paolo Bonzini |
Subject: |
Re: Questions about online resizing a lun passthrough disk with virtio-scsi |
Date: |
Thu, 9 Jul 2020 14:00:13 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 09/07/20 13:52, Lin Ma wrote:
>> It's not recommended however, because block_resize will report the
>> change to the guest directly with a CAPACITY HAS CHANGED unit attention
>> condition.
>
> Got it, The 'block_resize' is the recommended or necessary step, Even for
> passthrough disk online resizing.
If your target is able to report the unit attention itself, it is okay
to skip it. AFAIK drivers/target/ doesn't, though.
Paolo