On Wed, May 20, 2020 at 05:36:58PM +0200, Kevin Wolf wrote: > Am 20.05.2020 um 10:06 hat Roman Kagan geschrieben: > > The width of opt_io_size in virtio_blk_topology is 32bit. > > I think you mean virtio_blk_config?
I consulted virtio-v1.1 spec where the topology-related fields are grouped in struct virtio_blk_topology; I didn't realize in Linux (and therefore in QEMU) these fields lay directly on virtio_blk_config. So yes, the log should read "virtio_blk_config", thanks for spotting! > > Use the appropriate accessor to store it. > > > > Signed-off-by: Roman Kagan <rvka...@yandex-team.ru> > > Reviewed-by: Kevin Wolf <kw...@redhat.com> > Thanks, Roman.