mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-22 05:28:25 +00:00
scripts: Disable xen when builing qemu on generic architectures
Previously, it misses to add the --disable-xen for reducing qemu size on aarch64. This patch add disable-xen on all arches, hence the case switch is removed. Fixes #926 Signed-off-by: Jia He <justin.he@arm.com>
This commit is contained in:
parent
b99f8f7855
commit
878a223827
@ -317,12 +317,7 @@ generate_qemu_options() {
|
||||
qemu_options+=(size:--disable-tools)
|
||||
|
||||
# Disable XEN driver
|
||||
case "$arch" in
|
||||
aarch64) ;;
|
||||
x86_64) qemu_options+=(size:--disable-xen) ;;
|
||||
ppc64le) qemu_options+=(size:--disable-xen) ;;
|
||||
s390x) qemu_options+=(size:--disable-xen) ;;
|
||||
esac
|
||||
qemu_options+=(size:--disable-xen)
|
||||
|
||||
# FIXME: why is this disabled?
|
||||
# (for reference, it's explicitly enabled in Ubuntu 17.10 and
|
||||
|
Loading…
Reference in New Issue
Block a user