diff options
| author | Eric Blake | 2016-06-24 00:37:17 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-07-05 16:46:25 +0200 |
| commit | a65064816d64db463f4c24bd81dcaad62fee89eb (patch) | |
| tree | 4cd8ced0f63203a99b49bca6eaf8145f864660cf /hw/block | |
| parent | raw-win32: Set request_alignment during .bdrv_refresh_limits() (diff) | |
| download | qemu-a65064816d64db463f4c24bd81dcaad62fee89eb.tar.gz qemu-a65064816d64db463f4c24bd81dcaad62fee89eb.tar.xz qemu-a65064816d64db463f4c24bd81dcaad62fee89eb.zip | |
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 <eblake@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/block')
0 files changed, 0 insertions, 0 deletions
