mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 06:14:26 +01:00
packaging: qemu: Simplify "--disable-virtiofsd" logic
As all the supported architectures are disabling the virtiofsd build, there's no need to keep the switch statement there. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
0
tools/packaging/qemu/patches/8.1.x/no_patches.txt
Normal file
0
tools/packaging/qemu/patches/8.1.x/no_patches.txt
Normal file
@@ -331,22 +331,7 @@ generate_qemu_options() {
|
|||||||
# From Kata Containers 2.5.0-alpha2 all arches but powerpc have been
|
# From Kata Containers 2.5.0-alpha2 all arches but powerpc have been
|
||||||
# using the new implementation of virtiofs daemon, which is not part
|
# using the new implementation of virtiofs daemon, which is not part
|
||||||
# of QEMU.
|
# of QEMU.
|
||||||
# For the power, at least for now, keep building virtiofsd while
|
|
||||||
# building QEMU.
|
|
||||||
case "$arch" in
|
|
||||||
aarch64)
|
|
||||||
qemu_options+=(functionality:--disable-virtiofsd)
|
qemu_options+=(functionality:--disable-virtiofsd)
|
||||||
;;
|
|
||||||
x86_64)
|
|
||||||
qemu_options+=(functionality:--disable-virtiofsd)
|
|
||||||
;;
|
|
||||||
ppc64le)
|
|
||||||
qemu_options+=(functionality:--disable-virtiofsd)
|
|
||||||
;;
|
|
||||||
s390x)
|
|
||||||
qemu_options+=(functionality:--disable-virtiofsd)
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
qemu_options+=(functionality:--enable-virtfs)
|
qemu_options+=(functionality:--enable-virtfs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user