mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +00: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:
parent
bfc6fc7a85
commit
cf4835e3ae
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
|
qemu_options+=(functionality:--disable-virtiofsd)
|
||||||
# building QEMU.
|
|
||||||
case "$arch" in
|
|
||||||
aarch64)
|
|
||||||
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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user