From e889ac4209e0225e6bed1dfd3f32993f86ae4114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A2n=20L=C3=AA?= <16718453+moly7x@users.noreply.github.com> Date: Fri, 5 Nov 2021 13:45:51 +0700 Subject: [PATCH] Fix building QEMU 3.1 --- src/qemu_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qemu_driver.c b/src/qemu_driver.c index 4ee4af27..21d546ac 100644 --- a/src/qemu_driver.c +++ b/src/qemu_driver.c @@ -372,7 +372,7 @@ static int vitastor_refresh_limits(BlockDriverState *bs) bs->bl.request_alignment = 4096; bs->bl.min_mem_alignment = 4096; #else - bs->request_alignment = 4096; + bs->bl.request_alignment = 4096; #endif bs->bl.opt_mem_alignment = 4096; #if QEMU_VERSION_MAJOR < 3