Fix building QEMU 3.1

nbd-vmsplice
Tân Lê 1 year ago committed by GitHub
parent cfe8de9b84
commit e889ac4209
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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

Loading…
Cancel
Save