diff --git a/scripts/configure-hypervisor.sh b/scripts/configure-hypervisor.sh index 5b83bb95d..ddab51918 100755 --- a/scripts/configure-hypervisor.sh +++ b/scripts/configure-hypervisor.sh @@ -282,7 +282,7 @@ main() # SECURITY: Don't build a static binary (lowers security) # needed if qemu version is less than 2.7 if [ ${qemu_version_major} -eq 2 ] && [ ${qemu_version_minor} -lt 7 ]; then - qemu_options+=(--disable-static) + qemu_options+=(security:--disable-static) fi # Not required as "-uuid ..." is always passed to the qemu binary @@ -325,7 +325,7 @@ main() # Always strip binaries # needed if qemu version is less than 2.7 if [ ${qemu_version_major} -eq 2 ] && [ ${qemu_version_minor} -lt 7 ]; then - qemu_options+=(--enable-strip) + qemu_options+=(size:--enable-strip) fi # Support Ceph RADOS Block Device (RBD)