[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-us
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device |
Date: |
Thu, 10 Aug 2017 11:29:22 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 |
On 09/08/2017 19:10, Michael S. Tsirkin wrote:
> So user specifies properties and
> they get sent to backend at init time. Only handle geometry changes
> specially.
So QEMU would get the configuration, set these properties, and send the
result to the backend via SET_CONFIG?
vhost-user-blk-pci.cyls=uint32
vhost-user-blk-pci.secs=uint32
vhost-user-blk-pci.heads=uint32
vhost-user-blk-pci.serial=str
vhost-user-blk-pci.min_io_size=uint16
vhost-user-blk-pci.opt_io_size=uint32
vhost-user-blk-pci.logical_block_size=uint16
vhost-user-blk-pci.physical_block_size=uint16
If the properties are incompatible (e.g. too small logical block size)
SET_CONFIG fails and QEMU would fail to realize the device. This makes
sense, I think.
Thanks,
Paolo
- [Qemu-devel] [PATCH v2 0/4] *** Introduce a new vhost-user-blk host device to Qemu ***, Changpeng Liu, 2017/08/09
- [Qemu-devel] [PATCH v2 1/4] vhost-user: add new vhost user messages to support virtio config space, Changpeng Liu, 2017/08/09
- [Qemu-devel] [PATCH v2 2/4] vhost-user-blk: introduce a new vhost-user-blk host device, Changpeng Liu, 2017/08/09
- [Qemu-devel] [PATCH v2 3/4] contrib/libvhost-user: enable virtio config space messages, Changpeng Liu, 2017/08/09
- [Qemu-devel] [PATCH v2 4/4] contrib/vhost-user-blk: introduce a vhost-user-blk sample application, Changpeng Liu, 2017/08/09
- Re: [Qemu-devel] [PATCH v2 0/4] *** Introduce a new vhost-user-blk host device to Qemu ***, Michael S. Tsirkin, 2017/08/09