xemu/include/hw/block
Roman Kagan 4f44bbc5bb block: make BlockConf size props 32bit and accept size suffixes
Convert all size-related properties in BlockConf to 32bit.  This will
accommodate bigger block sizes (in a followup patch).  This also allows
to make them all accept size suffixes, either via DEFINE_PROP_BLOCKSIZE
or via DEFINE_PROP_SIZE32.

Also, since min_io_size is exposed to the guest by scsi and virtio-blk
devices as an uint16_t in units of logical blocks, introduce an
additional check in blkconf_blocksizes to prevent its silent truncation.

Signed-off-by: Roman Kagan <rvkagan@yandex-team.ru>
Message-Id: <20200528225516.1676602-7-rvkagan@yandex-team.ru>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2020-06-17 14:53:40 +02:00
..
block.h block: make BlockConf size props 32bit and accept size suffixes 2020-06-17 14:53:40 +02:00
fdc.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
flash.h Include exec/memory.h slightly less 2019-08-16 13:31:52 +02:00
swim.h hw/m68k: add a dummy SWIM floppy controller 2019-10-28 19:06:51 +01:00