]> Git Repo - qemu.git/commit - block/bochs.c
block: Set request_alignment during .bdrv_refresh_limits()
authorEric Blake <[email protected]>
Thu, 23 Jun 2016 22:37:17 +0000 (16:37 -0600)
committerKevin Wolf <[email protected]>
Tue, 5 Jul 2016 14:46:25 +0000 (16:46 +0200)
commita65064816d64db463f4c24bd81dcaad62fee89eb
tree4cd8ced0f63203a99b49bca6eaf8145f864660cf
parent2914a1de992118286f5280eddf4f4e6060a8e00b
block: Set request_alignment during .bdrv_refresh_limits()

We want to eventually stick request_alignment alongside other
BlockLimits, but first, we must ensure it is populated at the
same time as all other limits, rather than being a special case
that is set only when a block is first opened.

Add a .bdrv_refresh_limits() to all four of our legacy devices
that will always be sector-only (bochs, cloop, dmg, vvfat), in
spite of their recent conversion to expose a byte interface.

Signed-off-by: Eric Blake <[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/bochs.c
block/cloop.c
block/dmg.c
block/vvfat.c
This page took 0.026833 seconds and 4 git commands to generate.