Merge pull request #28 from moly7x/fix

Fix building QEMU 3.1
nbd-vmsplice
Vitaliy Filippov 2021-11-06 11:12:17 +03:00 committed by GitHub
commit eeecab20c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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