mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-20 08:18:24 +00:00
packaging: install virtiofsd for normal qemu build as well
For experimental-virtiofs, we use it to test virtiofs with DAX. Let's rename its virtiofsd to virtiofsd-dax. Depends-on: github.com/kata-containers/tests#2951 Signed-off-by: Peng Tao <bergwolf@hyper.sh>
This commit is contained in:
@@ -262,7 +262,6 @@ generate_qemu_options() {
|
||||
qemu_options+=(size:--disable-snappy)
|
||||
|
||||
# Disable unused security options
|
||||
qemu_options+=(security:--disable-seccomp)
|
||||
qemu_options+=(security:--disable-tpm)
|
||||
|
||||
# Disable userspace network access ("-net user")
|
||||
@@ -404,7 +403,9 @@ generate_qemu_options() {
|
||||
# operations safer.
|
||||
qemu_options+=(functionality:--enable-virtfs)
|
||||
qemu_options+=(functionality:--enable-attr)
|
||||
# virtio-fs needs cap-ng and seccomp
|
||||
qemu_options+=(functionality:--enable-cap-ng)
|
||||
qemu_options+=(functionality:--enable-seccomp)
|
||||
|
||||
if [[ "${qemu_version_major}" -ge 4 || ( "${qemu_version_major}" -eq 3 && "${qemu_version_minor}" -ge 1 ) ]]; then
|
||||
# AVX2 is enabled by default by x86_64, make sure it's enabled only
|
||||
|
Reference in New Issue
Block a user