qemu-block
[Top][All Lists]
Advanced

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

Re: [PATCH] vhost-user-blk-server: notify client about disk resize


From: Vladimir Sementsov-Ogievskiy
Subject: Re: [PATCH] vhost-user-blk-server: notify client about disk resize
Date: Sat, 15 Apr 2023 13:24:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 21.03.23 23:13, Vladimir Sementsov-Ogievskiy wrote:
Currently block_resize qmp command is simply ignored by vhost-user-blk
export. So, the block-node is successfully resized, but virtio config
is unchanged and guest doesn't see that disk is resized.

Let's handle the resize by modifying the config and notifying the guest
appropriately.

After this comment, lsblk in linux guest with attached
vhost-user-blk-pci device shows new size immediately after block_resize
QMP command on vhost-user exported block node.

Signed-off-by: Vladimir Sementsov-Ogievskiy<vsementsov@yandex-team.ru>

Ping:) Any interest in that? Or, is there some another way to live-resize 
vhost-user disks?

--
Best regards,
Vladimir




reply via email to

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