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