raw-win32: Set request_alignment during .bdrv_refresh_limits()
commit2914a1de992118286f5280eddf4f4e6060a8e00b
authorEric Blake <eblake@redhat.com>
Thu, 23 Jun 2016 22:37:16 +0000 (23 16:37 -0600)
committerKevin Wolf <kwolf@redhat.com>
Tue, 5 Jul 2016 14:46:25 +0000 (5 16:46 +0200)
tree0dc803dbcb3a3b9083b68a49dfaa4b11303b75fd
parenta84178ccff77d48261d31a78f1edfc58c9bdaa47
raw-win32: 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.

In this case, raw_probe_alignment() already did what we needed,
so just fix its signature and wire it in correctly.

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>
block/raw-win32.c