qemu: upgrade qemu version to 5.1.0 for arm64.

Now, the qemu version used in arm is so old. As some new features have merged
in current qemu, so it's time to upgrade it. As obs-packaging has been removed,
I put the qemu patch under qemu/patch/5.1.x.
As vxfs has been Deprecated in qemu-5.1, it will be no longer exist in
configuration-hyperversior.sh when qemu version larger than 5.0.

Fixes: #816
Signed-off-by: Edmond AK Dantes <edmond.dantes.ak47@outlook.com>
This commit is contained in:
Edmond AK Dantes
2020-09-30 19:06:54 +08:00
parent ae72ba5cb6
commit a6221a74e7
3 changed files with 130 additions and 4 deletions

View File

@@ -374,7 +374,9 @@ generate_qemu_options() {
qemu_options+=(size:--disable-cloop)
qemu_options+=(size:--disable-dmg)
qemu_options+=(size:--disable-parallels)
qemu_options+=(size:--disable-vxhs)
if [ "${qemu_version_major}" -le 5 ] && [ "${qemu_version_minor}" -lt 1 ]; then
qemu_options+=(size:--disable-vxhs)
fi
fi
#---------------------------------------------------------------------