mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
qemu: remove virtiofsd option in qemu config
As virtiofsd will be built base on rust, "virtiofsd" option is no longer needed in qemu. Fixes: #4258 Signed-off-by: Jianyong Wu <jianyong.wu@arm.com>
This commit is contained in:
parent
d20bc5a4d2
commit
10c13d719a
@ -317,31 +317,6 @@ generate_qemu_options() {
|
||||
# Don't build the qemu-io, qemu-nbd and qemu-image tools
|
||||
qemu_options+=(size:--disable-tools)
|
||||
|
||||
# Kata Containers may be configured to use the virtiofs daemon.
|
||||
#
|
||||
# But since QEMU 5.2 the daemon is built as part of the tools set
|
||||
# (disabled with --disable-tools) thus it needs to be explicitely
|
||||
# enabled.
|
||||
#
|
||||
# From Kata Containers 2.5.0-alpha2 x86_64 has been using the new
|
||||
# implementation of virtiofs daemon, which is not part of QEMU.
|
||||
# For the other arches, at least for now, keep building from while
|
||||
# building QEMU.
|
||||
#
|
||||
# IOW, other arches are still using the C version of the virtiofsd.
|
||||
case "$arch" in
|
||||
aarch64)
|
||||
qemu_options+=(functionality:--enable-virtiofsd)
|
||||
;;
|
||||
x86_64)
|
||||
;;
|
||||
ppc64le)
|
||||
qemu_options+=(functionality:--enable-virtiofsd)
|
||||
;;
|
||||
s390x)
|
||||
qemu_options+=(functionality:--enable-virtiofsd)
|
||||
;;
|
||||
esac
|
||||
qemu_options+=(functionality:--enable-virtfs)
|
||||
|
||||
# Don't build linux-user bsd-user
|
||||
|
@ -52,7 +52,7 @@ init_env() {
|
||||
LIBC="gnu"
|
||||
ARCH="powerpc64le"
|
||||
;;
|
||||
"s390")
|
||||
"s390x")
|
||||
LIBC="gnu"
|
||||
;;
|
||||
"x86_64")
|
||||
|
Loading…
Reference in New Issue
Block a user