Fix building QEMU 3.1

nbd-vmsplice
Tân Lê 2021-11-05 13:45:51 +07:00 committed by GitHub
parent cfe8de9b84
commit e889ac4209
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.request_alignment = 4096;
bs->bl.min_mem_alignment = 4096; bs->bl.min_mem_alignment = 4096;
#else #else
bs->request_alignment = 4096; bs->bl.request_alignment = 4096;
#endif #endif
bs->bl.opt_mem_alignment = 4096; bs->bl.opt_mem_alignment = 4096;
#if QEMU_VERSION_MAJOR < 3 #if QEMU_VERSION_MAJOR < 3