Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-254709-84451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/kata-containers-3.7.0-5.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-254709-84451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/kata-containers.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gozFlq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kata-containers-3.7.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/3.7.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd kata-containers-3.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'kata-containers-3.7.0 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-adapted-from-Fix-malicious-host-can-circumvent-initd.patch + /usr/bin/git apply --index --reject -p1 - Checking patch tools/packaging/static-build/initramfs/init.sh... Checking patch src/agent/src/main.rs... Hunk #2 succeeded at 449 (offset -17 lines). Applied patch tools/packaging/static-build/initramfs/init.sh cleanly. Applied patch src/agent/src/main.rs cleanly. + /usr/bin/git commit -q -m 0001-adapted-from-Fix-malicious-host-can-circumvent-initd.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/osbuilder-Adjust-agent_version-for-our-builds.patch + /usr/bin/git apply --index --reject -p1 - Checking patch tools/osbuilder/scripts/lib.sh... Applied patch tools/osbuilder/scripts/lib.sh cleanly. + /usr/bin/git commit -q -m osbuilder-Adjust-agent_version-for-our-builds.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-shebang-in-non-executable-completion-script.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/runtime/data/completions/bash/kata-runtime... Applied patch src/runtime/data/completions/bash/kata-runtime cleanly. + /usr/bin/git commit -q -m remove-shebang-in-non-executable-completion-script.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-warnings-as-compilation-errors.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/agent/Makefile... Checking patch src/dragonball/Makefile... Checking patch src/libs/Makefile... Checking patch src/runtime-rs/Makefile... Checking patch src/tools/agent-ctl/Makefile... Checking patch src/tools/genpolicy/Makefile... Checking patch src/tools/kata-ctl/Makefile... Checking patch src/tools/runk/Makefile... Checking patch src/tools/trace-forwarder/Makefile... Checking patch utils.mk... Applied patch src/agent/Makefile cleanly. Applied patch src/dragonball/Makefile cleanly. Applied patch src/libs/Makefile cleanly. Applied patch src/runtime-rs/Makefile cleanly. Applied patch src/tools/agent-ctl/Makefile cleanly. Applied patch src/tools/genpolicy/Makefile cleanly. Applied patch src/tools/kata-ctl/Makefile cleanly. Applied patch src/tools/runk/Makefile cleanly. Applied patch src/tools/trace-forwarder/Makefile cleanly. Applied patch utils.mk cleanly. + /usr/bin/git commit -q -m remove-warnings-as-compilation-errors.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-bump-crossbeam-channel-from-0.5.13-to-0.5.15.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/agent/Cargo.lock... Checking patch src/tools/kata-ctl/Cargo.lock... Checking patch src/tools/runk/Cargo.lock... Applied patch src/agent/Cargo.lock cleanly. Applied patch src/tools/kata-ctl/Cargo.lock cleanly. Applied patch src/tools/runk/Cargo.lock cleanly. + /usr/bin/git commit -q -m 0004-bump-crossbeam-channel-from-0.5.13-to-0.5.15.patch --author 'rpm-build ' + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/kata-containers-3.7.0-CVE-2026-116591-go-mod-compress-1.20.2.patch + /usr/bin/git apply --index --reject -p1 - Checking patch src/runtime/go.mod... Checking patch src/runtime/go.sum... Applied patch src/runtime/go.mod cleanly. Applied patch src/runtime/go.sum cleanly. + /usr/bin/git commit -q -m kata-containers-3.7.0-CVE-2026-116591-go-mod-compress-1.20.2.patch --author 'rpm-build ' + cd /builddir/build/BUILD/kata-containers-3.7.0 + tar -xf /builddir/build/SOURCES/kata-containers-3.7.0-vendor.tar.gz + rm -rf src/runtime/vendor + tar -xf /builddir/build/SOURCES/kata-containers-3.7.0-runtime-vendor.tar.gz -C src/runtime + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bmGBEb + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd kata-containers-3.7.0 ++ pwd + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.7.0/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.7.0/go/bin ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-3.7.0/go + GOPATH=/builddir/build/BUILD/kata-containers-3.7.0/go + mkdir -p go/src/github.com/kata-containers ++ pwd + ln -s /builddir/build/BUILD/kata-containers-3.7.0/../kata-containers-3.7.0 go/src/github.com/kata-containers/kata-containers + cd go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd src/runtime + /usr/bin/make -O -j32 V=1 VERBOSE=1 QEMUPATH=/usr/bin/qemu-system-x86_64 KERNELTYPE=compressed DEFSHAREDFS=virtio-fs DEFVIRTIOFSDAEMON=/usr/libexec/virtiofsd DEFVIRTIOFSCACHESIZE=0 DEFSANDBOXCGROUPONLY=true SKIP_GO_VERSION_CHECK=y MACHINETYPE=q35 SCRIPTS_DIR=/usr/bin DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes 'DEFENABLEANNOTATIONS=[\".*\"]' kata-runtime - version 3.7.0 (commit dca7b0a1ab072926818b2128c87caa20b3efcda5) sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ data/kata-collect-data.sh.in > data/kata-collect-data.sh sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ pkg/katautils/config-settings.go.in > pkg/katautils/config-settings.go sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu.toml.in > config/configuration-qemu.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-coco-dev.toml.in > config/configuration-qemu-coco-dev.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-tdx.toml.in > config/configuration-qemu-tdx.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-sev.toml.in > config/configuration-qemu-sev.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-snp.toml.in > config/configuration-qemu-snp.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-nvidia-gpu.toml.in > config/configuration-qemu-nvidia-gpu.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-nvidia-gpu-snp.toml.in > config/configuration-qemu-nvidia-gpu-snp.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-remote.toml.in > config/configuration-remote.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-nvidia-gpu-tdx.toml.in > config/configuration-qemu-nvidia-gpu-tdx.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-qemu-se.toml.in > config/configuration-qemu-se.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-clh.toml.in > config/configuration-clh.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-stratovirt.toml.in > config/configuration-stratovirt.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-fc.toml.in > config/configuration-fc.toml sed \ -e "s|@COMMIT@|dca7b0a1ab072926818b2128c87caa20b3efcda5|g" \ -e "s|@VERSION@|3.7.0|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_QEMU_COCO_DEV_IN@|config/configuration-qemu-coco-dev.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_IN@|config/configuration-qemu-nvidia-gpu.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_SNP_IN@|config/configuration-qemu-nvidia-gpu-snp.toml.in|g" -e "s|@CONFIG_QEMU_NVIDIA_GPU_TDX_IN@|config/configuration-qemu-nvidia-gpu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SEV_IN@|config/configuration-qemu-sev.toml.in|g" -e "s|@CONFIG_QEMU_TDX_IN@|config/configuration-qemu-tdx.toml.in|g" -e "s|@CONFIG_QEMU_SNP_IN@|config/configuration-qemu-snp.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@CONFIG_QEMU_SE_IN@|config/configuration-qemu-se.toml.in|g" -e "s|@ARCH@|amd64|g" -e "s|@BINDIR@|/usr/bin|g" -e "s|@CONFIG_ACRN_IN@|config/configuration-acrn.toml.in|g" -e "s|@CONFIG_CLH_IN@|config/configuration-clh.toml.in|g" -e "s|@CONFIG_FC_IN@|config/configuration-fc.toml.in|g" -e "s|@CONFIG_STRATOVIRT_IN@|config/configuration-stratovirt.toml.in|g" -e "s|@CONFIG_PATH@|/usr/share/kata-containers/defaults/configuration.toml|g" -e "s|@CONFIG_QEMU_IN@|config/configuration-qemu.toml.in|g" -e "s|@CONFIG_REMOTE_IN@|config/configuration-remote.toml.in|g" -e "s|@DESTDIR@|/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64|g" -e "s|@DEFAULT_HYPERVISOR@|qemu|g" -e "s|@ACRNCMD@|acrn-dm|g" -e "s|@ACRNCTLCMD@|acrnctl|g" -e "s|@ACRNPATH@|/usr/bin/acrn-dm|g" -e "s|@ACRNVALIDHYPERVISORPATHS@|[\"/usr/bin/acrn-dm\"]|g" -e "s|@ACRNCTLPATH@|/usr/bin/acrnctl|g" -e "s|@ACRNVALIDCTLPATHS@|[\"/usr/bin/acrnctl\"]|g" -e "s|@CLHPATH@|/usr/bin/cloud-hypervisor|g" -e "s|@CLHVALIDHYPERVISORPATHS@|[\"/usr/bin/cloud-hypervisor\"]|g" -e "s|@FIRMWAREPATH_CLH@||g" -e "s|@FCCMD@|firecracker|g" -e "s|@FCPATH@|/usr/bin/firecracker|g" -e "s|@FCVALIDHYPERVISORPATHS@|[\"/usr/bin/firecracker\"]|g" -e "s|@FCJAILERPATH@|/usr/bin/jailer|g" -e "s|@FCVALIDJAILERPATHS@|[\"/usr/bin/jailer\"]|g" -e "s|@STRATOVIRTPATH@|/usr/bin/stratovirt|g" -e "s|@STRATOVIRTVALIDHYPERVISORPATHS@|[\"/usr/bin/stratovirt\"]|g" -e "s|@SYSCONFIG@|/etc/kata-containers/configuration.toml|g" -e "s|@IMAGENAME@|kata-containers.img|g" -e "s|@IMAGECONFIDENTIALNAME@|kata-containers-confidential.img|g" -e "s|@IMAGEPATH@|/usr/share/kata-containers/kata-containers.img|g" -e "s|@IMAGECONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-confidential.img|g" -e "s|@INITRDNAME@|kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALNAME@|kata-containers-initrd-confidential.img|g" -e "s|@INITRDPATH@|/usr/share/kata-containers/kata-containers-initrd.img|g" -e "s|@INITRDCONFIDENTIALPATH@|/usr/share/kata-containers/kata-containers-initrd-confidential.img|g" -e "s|@IMAGENAME_NV@|kata-containers-nvidia-gpu.img|g" -e "s|@IMAGENAME_CONFIDENTIAL_NV@|kata-containers-nvidia-gpu-confidential.img|g" -e "s|@IMAGEPATH_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu.img|g" -e "s|@IMAGEPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-nvidia-gpu-confidential.img|g" -e "s|@INITRDNAME_NV@|kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDNAME_CONFIDENTIAL_NV@|kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@INITRDPATH_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu.img|g" -e "s|@INITRDPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/kata-containers-initrd-nvidia-gpu-confidential.img|g" -e "s|@KERNELNAME_NV@|vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELPATH_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu.container|g" -e "s|@KERNELNAME_CONFIDENTIAL_NV@|vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@KERNELPATH_CONFIDENTIAL_NV@|/usr/share/kata-containers/vmlinuz-nvidia-gpu-confidential.container|g" -e "s|@DEFAULTVCPUS_NV@|16|g" -e "s|@DEFAULTMEMORY_NV@|65536|g" -e "s|@DEFAULTVFIOPORT_NV@|root-port|g" -e "s|@DEFAULTPCIEROOTPORT_NV@|8|g" -e "s|@KERNELPARAMS_NV@|"agent.hotplug_timeout=20" ""|g" -e "s|@KERNELTDXPARAMS_NV@|"authorize_allow_devs=pci:ALL" ""|g" -e "s|@DEFAULTTIMEOUT_NV@|320|g" -e "s|@DEFROOTFSTYPE@|\"ext4\"|g" -e "s|@MACHINETYPE@|q35|g" -e "s|@KERNELDIR@|/usr/share/kata-containers|g" -e "s|@KERNELTYPE@|compressed|g" -e "s|@KERNELTYPE_FC@|uncompressed|g" -e "s|@KERNELTYPE_ACRN@|compressed|g" -e "s|@KERNELTYPE_CLH@|uncompressed|g" -e "s|@KERNELPATH_ACRN@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELPATH@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELCONFIDENTIALPATH@|/usr/share/kata-containers/vmlinuz-confidential.container|g" -e "s|@KERNELSEPATH@|/usr/share/kata-containers/kata-containers-se.img|g" -e "s|@KERNELPATH_CLH@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_FC@|/usr/share/kata-containers/vmlinux.container|g" -e "s|@KERNELPATH_STRATOVIRT@|/usr/share/kata-containers/vmlinuz.container|g" -e "s|@KERNELVIRTIOFSPATH@||g" -e "s|@FIRMWAREPATH@||g" -e "s|@FIRMWARESEVPATH@|/usr/share/ovmf/OVMF.fd|g" -e "s|@FIRMWARETDVFPATH@|PLACEHOLDER_FOR_DISTRO_OVMF_WITH_TDX_SUPPORT|g" -e "s|@FIRMWAREVOLUMEPATH@||g" -e "s|@FIRMWARETDVFVOLUMEPATH@||g" -e "s|@FIRMWARESNPPATH@|/usr/share/ovmf/AMDSEV.fd|g" -e "s|@SNPCERTSPATH@|/opt/snp/cert_chain.cert|g" -e "s|@MACHINEACCELERATORS@||g" -e "s|@CPUFEATURES@|pmu=off|g" -e "s|@TDXCPUFEATURES@|-vmx-rdseed-exit,pmu=off|g" -e "s|@DEFMACHINETYPE_CLH@||g" -e "s|@DEFMACHINETYPE_STRATOVIRT@|microvm|g" -e "s|@KERNELPARAMS@|""|g" -e "s|@KERNELTDXPARAMS@|""|g" -e "s|@LIBEXECDIR@|/usr/libexec|g" -e "s|@LOCALSTATEDIR@|/var|g" -e "s|@PKGDATADIR@|/usr/share/kata-containers|g" -e "s|@PKGLIBEXECDIR@|/usr/libexec/kata-containers|g" -e "s|@PKGRUNDIR@|/var/run/kata-containers|g" -e "s|@PREFIX@|/usr|g" -e "s|@PROJECT_BUG_URL@|https://github.com/kata-containers/kata-containers/issues/new|g" -e "s|@PROJECT_NAME@|Kata Containers|g" -e "s|@PROJECT_ORG@|kata-containers|g" -e "s|@PROJECT_PREFIX@||g" -e "s|@PROJECT_TAG@|kata-containers|g" -e "s|@PROJECT_TYPE@|kata|g" -e "s|@PROJECT_URL@|https://github.com/kata-containers|g" -e "s|@QEMUBINDIR@|/usr/bin|g" -e "s|@QEMUCMD@|qemu-system-x86_64|g" -e "s|@QEMUTDXCMD@|qemu-system-x86_64-tdx-experimental|g" -e "s|@QEMUSNPCMD@|qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUPATH@|/usr/bin/qemu-system-x86_64|g" -e "s|@QEMUTDXPATH@|PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT|g" -e "s|@QEMUTDXQUOTEGENERATIONSERVICESOCKETPORT@|4050|g" -e "s|@QEMUSNPPATH@|/usr/bin/qemu-system-x86_64-snp-experimental|g" -e "s|@QEMUVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64\"]|g" -e "s|@QEMUTDXVALIDHYPERVISORPATHS@|[\"PLACEHOLDER_FOR_DISTRO_QEMU_WITH_TDX_SUPPORT\"]|g" -e "s|@QEMUSNPVALIDHYPERVISORPATHS@|[\"/usr/bin/qemu-system-x86_64-snp-experimental\"]|g" -e "s|@QEMUVIRTIOFSCMD@||g" -e "s|@QEMUVIRTIOFSPATH@|/usr/bin/|g" -e "s|@RUNTIME_NAME@|kata-runtime|g" -e "s|@SHAREDIR@|/usr/share|g" -e "s|@SYSCONFDIR@|/etc/kata-containers|g" -e "s|@DEFVCPUS@|1|g" -e "s|@DEFMAXVCPUS@|0|g" -e "s|@DEFMAXVCPUS_ACRN@|1|g" -e "s|@DEFMEMSZ@|2048|g" -e "s|@DEFMEMSLOTS@|10|g" -e "s|@DEFMAXMEMSZ@|0|g" -e "s|@DEFBRIDGES@|1|g" -e "s|@DEFNETWORKMODEL_ACRN@|macvtap|g" -e "s|@DEFNETWORKMODEL_CLH@|tcfilter|g" -e "s|@DEFNETWORKMODEL_FC@|tcfilter|g" -e "s|@DEFNETWORKMODEL_QEMU@|tcfilter|g" -e "s|@DEFNETWORKMODEL_STRATOVIRT@|tcfilter|g" -e "s|@DEFDISABLEGUESTEMPTYDIR@|false|g" -e "s|@DEFDISABLEGUESTSECCOMP@|true|g" -e "s|@DEFDISABLESELINUX@|false|g" -e "s|@DEFDISABLEGUESTSELINUX@|true|g" -e "s|@DEFGUESTSELINUXLABEL@|system_u:system_r:container_t|g" -e "s|@DEFAULTEXPFEATURES@|[]|g" -e "s|@DEFDISABLEBLOCK@|false|g" -e "s|@DEFBLOCKSTORAGEDRIVER_ACRN@|virtio-blk|g" -e "s|@DEFBLOCKSTORAGEDRIVER_FC@|virtio-mmio|g" -e "s|@DEFBLOCKSTORAGEDRIVER_QEMU@|virtio-scsi|g" -e "s|@DEFBLOCKSTORAGEDRIVER_STRATOVIRT@|virtio-mmio|g" -e "s|@DEFBLOCKDEVICEAIO_QEMU@|io_uring|g" -e "s|@DEFSHAREDFS_CLH_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_COCO_DEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_STRATOVIRT_VIRTIOFS@|virtio-fs|g" -e "s|@DEFSHAREDFS_QEMU_TDX_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SEV_VIRTIOFS@|none|g" -e "s|@DEFSHAREDFS_QEMU_SNP_VIRTIOFS@|none|g" -e "s|@DEFVIRTIOFSDAEMON@|/usr/libexec/virtiofsd|g" -e "s|@DEFVALIDVIRTIOFSDAEMONPATHS@|[\"/usr/libexec/virtiofsd\"]|g" -e "s|@DEFVIRTIOFSCACHESIZE@|0|g" -e "s|@DEFVIRTIOFSCACHE@|auto|g" -e "s|@DEFVIRTIOFSQUEUESIZE@|1024|g" -e "s|@DEFVIRTIOFSEXTRAARGS@|[\"--thread-pool-size=1\", \"--announce-submounts\"]|g" -e "s|@DEFENABLEANNOTATIONS@|[\".*\"]|g" -e "s|@DEFENABLEANNOTATIONSTEE@|[\"enable_iommu\", \"virtio_fs_extra_args\", \"kernel_params\", \"default_vcpus\", \"default_memory\"]|g" -e "s|@DEFENABLEIOTHREADS@|false|g" -e "s|@DEFSECCOMPSANDBOXPARAM@|on,obsolete=deny,spawn=deny,resourcecontrol=deny|g" -e "s|@DEFENABLEVHOSTUSERSTORE@|false|g" -e "s|@DEFVHOSTUSERSTOREPATH@|/var/run/kata-containers/vhost-user|g" -e "s|@DEFVALIDVHOSTUSERSTOREPATHS@|[\"/var/run/kata-containers/vhost-user\"]|g" -e "s|@DEFFILEMEMBACKEND@|""|g" -e "s|@DEFVALIDFILEMEMBACKENDS@|[\"""\"]|g" -e "s|@DEFMSIZE9P@|8192|g" -e "s|@DEFENTROPYSOURCE@|/dev/urandom|g" -e "s|@DEFVALIDENTROPYSOURCES@|[\"/dev/urandom\",\"/dev/random\",\"\"]|g" -e "s|@DEFSANDBOXCGROUPONLY@|true|g" -e "s|@DEFSTATICRESOURCEMGMT@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_CLH@|false|g" -e "s|@DEFSTATICRESOURCEMGMT_FC@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_STRATOVIRT@|true|g" -e "s|@DEFSTATICRESOURCEMGMT_TEE@|true|g" -e "s|@DEFBINDMOUNTS@|[]|g" -e "s|@DEFCREATECONTAINERTIMEOUT@|60|g" -e "s|@DEFDANCONF@|/run/kata-containers/dans|g" -e "s|@DEFVFIOMODE@|guest-kernel|g" -e "s|@BUILDFLAGS@|-buildmode=pie -mod=vendor |g" \ config/configuration-acrn.toml.in > config/configuration-acrn.toml • architecture: Host: golang: Build: amd64 • golang: go version go1.26.3-X:nodwarf5 linux/amd64 • hypervisors: Default: qemu Known: acrn cloud-hypervisor firecracker qemu remote stratovirt Available for this architecture: acrn cloud-hypervisor firecracker qemu stratovirt • Summary: destination install path (DESTDIR) : /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 binary installation path (BINDIR) : /usr/bin binaries to install : - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-runtime - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/containerd-shim-kata-v2 - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-monitor - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/data/kata-collect-data.sh configs to install (CONFIGS) : - config/configuration-acrn.toml - config/configuration-clh.toml - config/configuration-fc.toml - config/configuration-qemu-coco-dev.toml - config/configuration-qemu-nvidia-gpu-snp.toml - config/configuration-qemu-nvidia-gpu-tdx.toml - config/configuration-qemu-nvidia-gpu.toml - config/configuration-qemu-se.toml - config/configuration-qemu-sev.toml - config/configuration-qemu-snp.toml - config/configuration-qemu-tdx.toml - config/configuration-qemu.toml - config/configuration-remote.toml - config/configuration-stratovirt.toml install paths (CONFIG_PATHS) : - /usr/share/kata-containers/defaults/configuration-acrn.toml - /usr/share/kata-containers/defaults/configuration-clh.toml - /usr/share/kata-containers/defaults/configuration-fc.toml - /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-snp.toml - /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-tdx.toml - /usr/share/kata-containers/defaults/configuration-qemu-se.toml - /usr/share/kata-containers/defaults/configuration-qemu-sev.toml - /usr/share/kata-containers/defaults/configuration-qemu-snp.toml - /usr/share/kata-containers/defaults/configuration-qemu-tdx.toml - /usr/share/kata-containers/defaults/configuration-qemu.toml - /usr/share/kata-containers/defaults/configuration-remote.toml - /usr/share/kata-containers/defaults/configuration-stratovirt.toml alternate config paths (SYSCONFIG_PATHS) : - /etc/kata-containers/configuration-acrn.toml - /etc/kata-containers/configuration-clh.toml - /etc/kata-containers/configuration-fc.toml - /etc/kata-containers/configuration-qemu-coco-dev.toml - /etc/kata-containers/configuration-qemu-nvidia-gpu-tdx.toml - /etc/kata-containers/configuration-qemu-se.toml - /etc/kata-containers/configuration-qemu.toml - /etc/kata-containers/configuration-remote.toml - /etc/kata-containers/configuration-stratovirt.toml default install path for qemu (CONFIG_PATH) : /usr/share/kata-containers/defaults/configuration.toml default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml qemu hypervisor path (QEMUPATH) : /usr/bin/qemu-system-x86_64 cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor firecracker hypervisor path (FCPATH) : /usr/bin/firecracker acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm stratovirt hypervisor path (STRATOVIRTPATH) : /usr/bin/stratovirt assets path (PKGDATADIR) : /usr/share/kata-containers shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers (cd cmd/kata-monitor/ && go build \ --ldflags "-X main.GitCommit=dca7b0a1ab072926818b2128c87caa20b3efcda5" -buildmode=pie -mod=vendor -o /builddir/build/BUILD/kata-containers-3.7.0/src/runtime/kata-monitor .) (cd cmd/containerd-shim-kata-v2/ && go build -ldflags "" -buildmode=pie -mod=vendor -o /builddir/build/BUILD/kata-containers-3.7.0/src/runtime/containerd-shim-kata-v2 .) (cd cmd/kata-runtime && go build -ldflags "" -buildmode=pie -mod=vendor -o /builddir/build/BUILD/kata-containers-3.7.0/src/runtime/kata-runtime .) + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/agent ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd src/agent + /usr/bin/make -O -j32 V=1 VERBOSE=1 LIBC=gnu DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/agent warning: `/builddir/build/BUILD/kata-containers-3.7.0/src/agent/.cargo/config` is deprecated in favor of `config.toml` | = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` kata-agent - version 3.7.0 (commit dca7b0a1ab072926818b2128c87caa20b3efcda5-dirty) project: name: Kata Containers url: https://github.com/kata-containers component: kata-agent target: kata-agent architecture: host: x86_64 rust: cargo: cargo 1.96.0 (30a34c682 2026-05-25) (OpenCloudOS 1.96.0-2.oc9) rustc: rustc 1.96.0 (ac68faa20 2026-05-25) (OpenCloudOS 1.96.0-2.oc9) rustup: (not available) toolchain: (unknown) warning: `/builddir/build/BUILD/kata-containers-3.7.0/src/agent/.cargo/config` is deprecated in favor of `config.toml` | = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Compiling proc-macro2 v1.0.86 Compiling unicode-ident v1.0.12 Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling autocfg v1.3.0 Compiling version_check v0.9.4 Compiling typenum v1.17.0 Compiling once_cell v1.19.0 Compiling subtle v2.6.1 Compiling syn v1.0.109 Compiling pin-project-lite v0.2.14 Compiling smallvec v1.13.2 Compiling const-oid v0.9.6 Compiling futures-core v0.3.30 Compiling memchr v2.7.4 Compiling parking_lot_core v0.9.10 Compiling thiserror v1.0.61 Compiling serde v1.0.204 Compiling cpufeatures v0.2.12 Compiling spin v0.9.8 Compiling futures-io v0.3.30 Compiling scopeguard v1.2.0 Compiling anyhow v1.0.86 Compiling bytes v1.6.0 Compiling crossbeam-utils v0.8.20 Compiling itoa v1.0.11 Compiling either v1.13.0 Compiling futures-sink v0.3.30 Compiling rustix v0.38.34 Compiling hashbrown v0.14.5 Compiling bitflags v1.3.2 Compiling value-bag v1.9.0 Compiling equivalent v1.0.1 Compiling pin-utils v0.1.0 Compiling regex-syntax v0.8.4 Compiling futures-channel v0.3.30 Compiling byteorder v1.5.0 Compiling futures-task v0.3.30 Compiling lazy_static v1.5.0 Compiling base64ct v1.6.0 Compiling pkg-config v0.3.30 Compiling libm v0.2.8 Compiling linux-raw-sys v0.4.14 Compiling bitflags v2.6.0 Compiling flagset v0.4.5 Compiling ryu v1.0.18 Compiling serde_json v1.0.120 Compiling home v0.5.9 Compiling protobuf v3.5.0 Compiling fastrand v2.1.0 Compiling ident_case v1.0.1 Compiling fnv v1.0.7 Compiling protobuf v2.28.0 Compiling static_assertions v1.1.0 Compiling ppv-lite86 v0.2.17 Compiling itertools v0.10.5 Compiling tracing-core v0.1.32 Compiling generic-array v0.14.7 Compiling log v0.4.22 Compiling ahash v0.7.8 Compiling lock_api v0.4.12 Compiling slab v0.4.9 Compiling num-traits v0.2.19 Compiling pem-rfc7468 v0.7.0 Compiling indexmap v1.9.3 Compiling memoffset v0.6.5 Compiling slog v2.7.0 Compiling stable_deref_trait v1.2.0 Compiling proc-macro-error-attr v1.0.4 Compiling unicode-segmentation v1.11.0 Compiling fixedbitset v0.2.0 Compiling percent-encoding v2.3.1 Compiling aho-corasick v1.1.3 Compiling parking v2.2.0 Compiling semver v1.0.23 Compiling proc-macro-error v1.0.4 Compiling lexical-util v0.8.5 Compiling quote v1.0.36 Compiling base16ct v0.2.0 Compiling tinyvec_macros v0.1.1 Compiling indexmap v2.2.6 Compiling rustls-pki-types v1.7.0 Compiling multimap v0.8.3 Compiling untrusted v0.9.0 Compiling tinyvec v1.8.0 Compiling crossbeam-epoch v0.9.18 Compiling crossbeam-channel v0.5.15 Compiling concurrent-queue v2.5.0 Compiling http v1.1.0 Compiling memoffset v0.7.1 Compiling syn v2.0.70 Compiling heck v0.3.3 Compiling httparse v1.9.4 Compiling glob v0.3.1 Compiling iana-time-zone v0.1.60 Compiling hex v0.4.3 Compiling crossbeam-deque v0.8.5 Compiling rustc_version v0.4.0 Compiling writeable v0.5.5 Compiling litemap v0.7.3 Compiling winnow v0.5.40 Compiling try-lock v0.2.5 Compiling rustls v0.23.11 Compiling opaque-debug v0.3.1 Compiling toml_datetime v0.6.6 Compiling strsim v0.11.1 Compiling crunchy v0.2.2 Compiling want v0.3.1 Compiling form_urlencoded v1.2.1 Compiling clang-sys v1.8.1 Compiling base64 v0.13.1 Compiling tower-layer v0.3.2 Compiling num-bigint-dig v0.8.4 Compiling tower-service v0.3.2 Compiling curve25519-dalek v4.1.3 Compiling siphasher v0.3.11 Compiling tiny-keccak v2.0.2 Compiling rayon-core v1.12.1 Compiling base64 v0.22.1 Compiling jobserver v0.1.31 Compiling getrandom v0.2.15 Compiling dirs-sys-next v0.1.2 Compiling paste v1.0.15 Compiling minimal-lexical v0.2.1 Compiling unicode-bidi v0.3.15 Compiling unicode-xid v0.2.4 Compiling num-integer v0.1.46 Compiling num_cpus v1.16.0 Compiling signal-hook-registry v1.4.2 Compiling socket2 v0.5.7 Compiling mio v0.8.11 Compiling nix v0.24.3 Compiling unicode-normalization v0.1.23 Compiling dirs-next v2.0.0 Compiling adler v1.0.2 Compiling rustversion v1.0.17 Compiling rand_core v0.6.4 Compiling lexical-parse-integer v0.8.6 Compiling cc v1.0.106 Compiling lexical-write-integer v0.8.5 Compiling nom v7.1.3 Compiling miniz_oxide v0.7.4 Compiling parking_lot v0.12.3 Compiling http-body v1.0.0 Compiling hashbrown v0.12.3 Compiling num-iter v0.1.45 Compiling password-hash v0.5.0 Compiling rand_chacha v0.3.1 Compiling ff v0.13.0 Compiling lexical-parse-float v0.8.5 Compiling lexical-write-float v0.8.5 Compiling term v0.7.0 Compiling nix v0.26.4 Compiling phf_shared v0.10.0 Compiling group v0.13.0 Compiling regex-automata v0.4.7 Compiling event-listener v5.3.1 Compiling rand v0.8.5 Compiling crossbeam-queue v0.3.11 Compiling libloading v0.8.4 Compiling idna v0.5.0 Compiling crc32fast v1.4.2 Compiling icu_locid_transform_data v1.5.0 Compiling fixedbitset v0.4.2 Compiling event-listener v2.5.3 Compiling same-file v1.0.6 Compiling new_debug_unreachable v1.0.6 Compiling arc-swap v1.7.1 Compiling bindgen v0.63.0 Compiling rust_decimal v1.35.0 Compiling bit-vec v0.6.3 Compiling precomputed-hash v0.1.1 Compiling io-lifetimes v1.0.11 Compiling string_cache v0.8.7 Compiling lexical-core v0.8.5 Compiling petgraph v0.6.5 Compiling walkdir v2.5.0 Compiling flate2 v1.0.30 Compiling event-listener-strategy v0.5.2 Compiling crossbeam v0.8.4 Compiling bit-set v0.5.3 Compiling ascii-canvas v3.0.0 Compiling slog-scope v4.4.0 Compiling futures-lite v2.3.0 Compiling webpki-roots v0.26.3 Compiling ena v0.14.3 Compiling url v2.5.2 Compiling polling v2.8.0 Compiling unicase v2.7.0 Compiling itertools v0.11.0 Compiling thread_local v1.1.8 Compiling zstd-safe v7.2.0 Compiling petgraph v0.5.1 Compiling shlex v1.3.0 Compiling async-task v4.7.1 Compiling lalrpop-util v0.20.2 Compiling time-core v0.1.2 Compiling atomic-waker v1.1.2 Compiling lazycell v1.3.0 Compiling waker-fn v1.2.0 Compiling rustc-hash v1.1.0 Compiling icu_properties_data v1.5.0 Compiling heck v0.4.1 Compiling peeking_take_while v0.1.2 Compiling serde-rename-rule v0.2.2 Compiling rustix v0.37.27 Compiling arrayvec v0.7.4 Compiling fastrand v1.9.0 Compiling num-conv v0.1.0 Compiling powerfmt v0.2.0 Compiling piper v0.2.3 Compiling time-macros v0.2.18 Compiling toml_edit v0.19.15 Compiling deranged v0.3.11 Compiling rayon v1.10.0 Compiling futures-lite v1.13.0 Compiling async-channel v2.3.1 Compiling lexical v6.1.1 Compiling async-lock v2.8.0 Compiling rustls-pemfile v2.1.2 Compiling ring v0.17.8 Compiling zstd-sys v2.0.12+zstd.1.5.6 Compiling bzip2-sys v0.1.11+1.0.8 Compiling nix v0.23.2 Compiling iovec v0.1.4 Compiling cexpr v0.6.0 Compiling async-io v1.13.0 Compiling async-fs v1.6.0 Compiling icu_normalizer_data v1.5.0 Compiling utf8-width v0.1.7 Compiling cfg_aliases v0.1.1 Compiling write16 v1.0.0 Compiling sha1collisiondetection v0.3.4 Compiling ryu-js v0.2.2 Compiling regex-syntax v0.6.29 Compiling mime v0.3.17 Compiling protobuf-codegen v2.28.0 Compiling sync_wrapper v1.0.1 Compiling ipnet v2.9.0 Compiling utf16_iter v1.0.5 Compiling linux-raw-sys v0.3.8 Compiling parking_lot_core v0.8.6 Compiling utf8_iter v1.0.4 Compiling libseccomp-sys v0.2.1 Compiling zstd-safe v6.0.6 Compiling nix v0.28.0 Compiling byte-unit v5.1.4 Compiling bytes v0.4.12 Compiling blocking v1.6.1 Compiling regex v1.10.5 Compiling socket2 v0.4.10 Compiling nix v0.25.1 Compiling safe-path v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/safe-path) Compiling generic-array v1.1.0 Compiling libseccomp v0.3.0 Compiling http-auth v0.1.9 Compiling instant v0.1.13 Compiling locspan v0.8.2 Compiling heck v0.5.0 Compiling lalrpop v0.20.2 Compiling time v0.3.36 Compiling base64 v0.21.7 Compiling slog-async v2.8.0 Compiling utf8-decode v1.0.1 Compiling procfs v0.16.0 Compiling decoded-char v0.1.1 Compiling ocicrypt-rs v0.1.0 (https://github.com/confidential-containers/guest-components?rev=2c5ac6b01aafcb0be3875f5743c77d654a548146#2c5ac6b0) Compiling proc-macro-crate v1.3.1 Compiling webbrowser v1.0.1 Compiling synstructure v0.13.1 Compiling darling_core v0.20.9 Compiling darling_core v0.14.4 Compiling zvariant_utils v1.0.1 Compiling vsock v0.3.0 Compiling async-executor v1.12.0 Compiling fail v0.5.1 Compiling async-broadcast v0.5.1 Compiling which v4.4.2 Compiling tempfile v3.10.1 Compiling regex-automata v0.1.10 Compiling is-terminal v0.4.12 Compiling inotify-sys v0.1.5 Compiling subprocess v0.2.9 Compiling filetime v0.2.23 Compiling errno v0.2.8 Compiling sysinfo v0.30.13 Compiling xdg-home v1.2.0 Compiling procfs-core v0.16.0 Compiling tracing-log v0.1.4 Compiling path-dedot v1.2.4 Compiling sharded-slab v0.1.7 Compiling ordered-stream v0.2.0 Compiling strum v0.26.3 Compiling xxhash-rust v0.8.11 Compiling unsafe-libyaml v0.2.11 Compiling prometheus v0.13.4 Compiling memsec v0.7.0 Compiling slash-formatter v2.2.6 Compiling os_str_bytes v6.6.1 Compiling take_mut v0.2.2 Compiling dyn-clone v1.0.17 Compiling ansi_term v0.12.1 Compiling common-path v1.0.0 Compiling path-absolutize v1.2.1 Compiling serde-attributes v0.2.1 Compiling slog-term v2.9.1 Compiling clap_lex v0.2.4 Compiling scan_fmt v0.2.6 Compiling parking_lot v0.11.2 Compiling prost-build v0.8.0 Compiling bzip2 v0.4.4 Compiling matchers v0.0.1 Compiling buffered-reader v1.3.1 Compiling const_format_proc_macros v0.2.32 Compiling capctl v0.2.4 Compiling vsock v0.2.6 Compiling nix v0.22.3 Compiling xattr v0.2.3 Compiling zeroize_derive v1.4.2 Compiling serde_derive v1.0.204 Compiling thiserror-impl v1.0.61 Compiling tokio-macros v2.3.0 Compiling futures-macro v0.3.30 Compiling der_derive v0.7.2 Compiling zerofrom-derive v0.1.4 Compiling yoke-derive v0.7.4 Compiling tracing-attributes v0.1.27 Compiling pin-project-internal v1.1.5 Compiling zerovec-derive v0.10.3 Compiling displaydoc v0.2.5 Compiling prost-derive v0.8.0 Compiling async-trait v0.1.81 Compiling derive-new v0.5.9 Compiling icu_provider_macros v1.5.0 Compiling curve25519-dalek-derive v0.1.1 Compiling darling_macro v0.14.4 Compiling zeroize v1.8.1 Compiling tokio v1.38.0 Compiling enumflags2_derive v0.7.10 Compiling zvariant_derive v3.15.2 Compiling tls_codec_derive v0.4.1 Compiling futures-util v0.3.30 Compiling darling v0.14.4 Compiling darling_macro v0.20.9 Compiling serde_repr v0.1.19 Compiling serde-enum-str v0.4.0 Compiling locspan-derive v0.6.0 Compiling bitmask-enum v2.2.4 Compiling der v0.7.9 Compiling xattr v1.3.1 Compiling protobuf-support v3.5.0 Compiling darling v0.20.9 Compiling derive_builder_core v0.20.0 Compiling netlink-packet-utils v0.4.1 Compiling cgroups-rs v0.3.4 Compiling derivative v2.2.0 Compiling pin-project v1.1.5 Compiling crypto-common v0.1.6 Compiling block-buffer v0.10.4 Compiling block-padding v0.3.3 Compiling crypto-bigint v0.5.5 Compiling digest v0.10.7 Compiling inout v0.1.3 Compiling tracing v0.1.40 Compiling universal-hash v0.5.1 Compiling cipher v0.4.4 Compiling zerofrom v0.1.4 Compiling aead v0.5.2 Compiling hmac v0.12.1 Compiling sha2 v0.10.8 Compiling signature v2.2.0 Compiling yoke v0.7.4 Compiling pbkdf2 v0.12.2 Compiling hkdf v0.12.4 Compiling rfc6979 v0.4.0 Compiling salsa20 v0.10.2 Compiling aes v0.8.4 Compiling cbc v0.1.2 Compiling prost v0.8.0 Compiling ctr v0.9.2 Compiling zerovec v0.10.4 Compiling sha1 v0.10.6 Compiling polyval v0.6.2 Compiling dbl v0.3.2 Compiling scrypt v0.11.0 Compiling cmac v0.7.2 Compiling ghash v0.5.1 Compiling tls_codec v0.4.1 Compiling poly1305 v0.8.0 Compiling netlink-packet-core v0.2.4 Compiling eax v0.5.0 Compiling blowfish v0.9.1 Compiling prost-types v0.8.0 Compiling cfb-mode v0.8.2 Compiling des v0.8.1 Compiling derive_builder_macro v0.20.0 Compiling ecb v0.1.2 Compiling twofish v0.7.1 Compiling idea v0.5.1 Compiling aes-gcm v0.10.3 Compiling crypto_secretbox v0.1.1 Compiling cast5 v0.11.1 Compiling camellia v0.1.0 Compiling spki v0.7.3 Compiling ripemd v0.1.3 Compiling md-5 v0.10.6 Compiling zbus_macros v3.15.2 Compiling getset v0.1.2 Compiling async-recursion v1.1.1 Compiling strum_macros v0.26.4 Compiling strum_macros v0.25.3 Compiling pkcs5 v0.7.1 Compiling derive_builder v0.20.0 Compiling netlink-packet-route v0.8.0 Compiling caps v0.5.5 Compiling x25519-dalek v2.0.1 Compiling x509-cert v0.2.5 Compiling tinystr v0.7.6 Compiling pkcs8 v0.10.2 Compiling icu_locid v1.5.0 Compiling icu_collections v1.5.0 Compiling serial_test_derive v0.5.1 Compiling clap_derive v3.2.25 Compiling atty v0.2.14 Compiling rlimit v0.5.4 Compiling awaitgroup v0.6.0 Compiling sec1 v0.7.3 Compiling ttrpc-compiler v0.6.2 Compiling pkcs1 v0.7.5 Compiling ed25519 v2.2.3 Compiling dsa v0.6.3 Compiling termcolor v1.4.1 Compiling strsim v0.10.0 Compiling elliptic-curve v0.13.8 Compiling rustls-webpki v0.102.5 Compiling ed25519-dalek v2.1.1 Compiling cfg-if v0.1.10 Compiling loopdev v0.5.0 (https://github.com/mdaffin/loopdev?rev=c9f91e8f0326ce8a3364ac911e81eb32328a5f27#c9f91e8f) Compiling rsa v0.9.6 Compiling icu_provider v1.5.0 Compiling textwrap v0.16.1 Compiling serial_test v0.5.1 Compiling const_format v0.2.32 Compiling futures-executor v0.3.30 Compiling ecdsa v0.16.9 Compiling primeorder v0.13.6 Compiling http-body-util v0.1.2 Compiling futures v0.3.30 Compiling async-recursion v0.3.2 Compiling icu_locid_transform v1.5.0 Compiling strum v0.25.0 Compiling slog-stdlog v4.1.1 Compiling p384 v0.13.0 Compiling p256 v0.13.2 Compiling p521 v0.13.3 Compiling protobuf-parse v3.5.0 Compiling icu_properties v1.5.1 Compiling clap v3.2.25 Compiling hyper v1.4.0 Compiling tower v0.4.13 Compiling tokio-vsock v0.4.0 Compiling tokio-stream v0.1.15 Compiling tokio-util v0.7.11 Compiling tokio-vsock v0.3.4 Compiling netlink-sys v0.7.0 Compiling tokio-util v0.6.10 Compiling inotify v0.9.6 Compiling protobuf-codegen v3.5.0 Compiling krata-tokio-tar v0.4.0 Compiling netlink-proto v0.7.0 Compiling hyper-util v0.1.6 Compiling rtnetlink v0.8.1 Compiling sequoia-openpgp v1.21.1 Compiling chrono v0.4.38 Compiling enumflags2 v0.7.10 Compiling serde_urlencoded v0.7.1 Compiling smallstr v0.3.0 Compiling toml v0.5.11 Compiling json-number v0.4.8 Compiling base64-serde v0.7.0 Compiling tracing-serde v0.1.3 Compiling pem v3.0.4 Compiling opentelemetry v0.14.0 Compiling serde_yaml v0.9.34+deprecated Compiling bincode v1.3.3 Compiling ipnetwork v0.17.0 Compiling zvariant v3.15.2 Compiling json-syntax v0.12.5 Compiling ttrpc-codegen v0.4.2 Compiling icu_normalizer v1.5.0 Compiling oci v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/oci) Compiling olpc-cjson v0.1.3 Compiling jwt v0.16.0 Compiling oci-spec v0.6.7 Compiling slog-json v2.6.1 Compiling idna v1.0.2 Compiling ttrpc v0.8.1 Compiling tokio-rustls v0.26.0 Compiling logging v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/logging) Compiling hyper-rustls v0.27.2 Compiling protocols v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols) Compiling reqwest v0.12.5 Compiling image-rs v0.1.0 (https://github.com/confidential-containers/guest-components?rev=2c5ac6b01aafcb0be3875f5743c77d654a548146#2c5ac6b0) Compiling tracing-subscriber v0.2.25 Compiling zbus_names v2.6.1 Compiling vsock-exporter v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/agent/vsock-exporter) Compiling procfs v0.12.0 Compiling zbus v3.15.2 Compiling kata-types v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-types) Compiling oci-distribution v0.11.0 Compiling tracing-opentelemetry v0.13.0 warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/agent.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ | = note: `#[warn(renamed_and_removed_lints)]` on by default warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/agent_ttrpc.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/agent_ttrpc_async.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/csi.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/empty.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/gogo.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/health.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/health_ttrpc.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/health_ttrpc_async.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/oci.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/types.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/sealed_secret.rs:12:10 | 12 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/sealed_secret_ttrpc.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/protocols/src/sealed_secret_ttrpc_async.rs:7:10 | 7 | #![allow(box_pointers)] | ^^^^^^^^^^^^ warning: hiding a lifetime that's elided elsewhere is confusing --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-types/src/utils/u32_set.rs:50:17 | 50 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 50 | pub fn iter(&self) -> Iter<'_, u32> { | +++ Compiling sigstore v0.9.0 (https://github.com/sigstore/sigstore-rs.git?rev=1b6ccf0f64d173350ec5515bd69ab48a26a9c0a3#1b6ccf0f) Compiling kata-sys-util v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util) warning: unexpected `cfg` condition value: `powerpc64le` --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/protection.rs:17:34 | 17 | #[cfg(any(target_arch = "s390x", target_arch = "powerpc64le"))] | ^^^^^^^^^^^^^^------------- | | | help: there is a expected value with a similar name: `"powerpc64"` | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `powerpc64le` --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/protection.rs:237:7 | 237 | #[cfg(target_arch = "powerpc64le")] | ^^^^^^^^^^^^^^------------- | | | help: there is a expected value with a similar name: `"powerpc64"` | = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` = note: see for more information about checking conditional configuration warning: a method with this name may be added to the standard library in the future --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/mount.rs:226:12 | 226 | if dst.is_empty() { | ^^^^^^^^ | = help: call with fully qualified syntax `nix::NixPath::is_empty(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default warning: a method with this name may be added to the standard library in the future --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/mount.rs:263:12 | 263 | if src.is_empty() { | ^^^^^^^^ | = help: call with fully qualified syntax `nix::NixPath::is_empty(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 warning: a method with this name may be added to the standard library in the future --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/mount.rs:266:12 | 266 | if dst.is_empty() { | ^^^^^^^^ | = help: call with fully qualified syntax `nix::NixPath::is_empty(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 warning: a method with this name may be added to the standard library in the future --> /builddir/build/BUILD/kata-containers-3.7.0/src/libs/kata-sys-util/src/mount.rs:762:28 | 762 | if mountpoint.as_ref().is_empty() || !mountpoint.as_ref().exists() { | ^^^^^^^^ | = help: call with fully qualified syntax `nix::NixPath::is_empty(...)` to keep using the current method = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 warning: `kata-sys-util` (lib) generated 6 warnings warning: `kata-types` (lib) generated 1 warning (run `cargo fix --lib -p kata-types` to apply 1 suggestion) Compiling zstd v0.12.4 Compiling zstd v0.13.2 Compiling async-compression v0.4.11 Compiling rustjail v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/agent/rustjail) warning: `protocols` (lib) generated 14 warnings Compiling kata-agent v0.1.0 (/builddir/build/BUILD/kata-containers-3.7.0/src/agent) warning: field `supports_seccomp` is never read --> src/config.rs:106:9 | 94 | pub struct AgentConfig { | ----------- field in this struct ... 106 | pub supports_seccomp: bool, | ^^^^^^^^^^^^^^^^ | = note: `AgentConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: struct `VirtioBlkCcwHandler` is never constructed --> src/storage/block_handler.rs:80:12 | 80 | pub struct VirtioBlkCcwHandler {} | ^^^^^^^^^^^^^^^^^^^ warning: `kata-agent` (bin "kata-agent") generated 2 warnings Finished `release` profile [optimized] target(s) in 5m 45s warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/tools/log-parser ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + touch kata-agent + popd + pushd src/tools/log-parser + /usr/bin/make -O -j32 V=1 VERBOSE=1 LIBC=gnu BINDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin go test . ok github.com/kata-containers/kata-containers/src/tools/log-parser 0.013s go build -o "kata-log-parser" -ldflags "-X main.name=kata-log-parser -X main.commit="dca7b0a1ab072926818b2128c87caa20b3efcda5-dirty" -X main.version=0.0.1" . install -d /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin install kata-log-parser /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-log-parser + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/tools/osbuilder ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd tools/osbuilder + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection image-builder/nsdax.gpl.c -o nsdax + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oLWlS1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 + cd kata-containers-3.7.0 ++ pwd + export GOPATH=/builddir/build/BUILD/kata-containers-3.7.0/go + GOPATH=/builddir/build/BUILD/kata-containers-3.7.0/go + export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.7.0/go/bin + PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/build/BUILD/kata-containers-3.7.0/go/bin + cd go/src/github.com/kata-containers/kata-containers + install -m0644 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers VERSION + pushd src/runtime ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/runtime ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 'INSTALL=/usr/bin/install -p' QEMUPATH=/usr/bin/qemu-system-x86_64 KERNELTYPE=compressed DEFSHAREDFS=virtio-fs DEFVIRTIOFSDAEMON=/usr/libexec/virtiofsd DEFVIRTIOFSCACHESIZE=0 DEFSANDBOXCGROUPONLY=true SKIP_GO_VERSION_CHECK=y MACHINETYPE=q35 SCRIPTS_DIR=/usr/bin DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 PREFIX=/usr DEFAULTSDIR=/usr/share/kata-containers/defaults CONFDIR=/usr/share/kata-containers/defaults FEATURE_SELINUX=yes 'DEFENABLEANNOTATIONS=[\".*\"]' kata-runtime - version 3.7.0 (commit dca7b0a1ab072926818b2128c87caa20b3efcda5) • architecture: Host: golang: Build: amd64 • golang: go version go1.26.3-X:nodwarf5 linux/amd64 • hypervisors: Default: qemu Known: acrn cloud-hypervisor firecracker qemu remote stratovirt Available for this architecture: acrn cloud-hypervisor firecracker qemu stratovirt • Summary: destination install path (DESTDIR) : /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 binary installation path (BINDIR) : /usr/bin binaries to install : - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-runtime - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/containerd-shim-kata-v2 - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-monitor - /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/data/kata-collect-data.sh configs to install (CONFIGS) : - config/configuration-acrn.toml - config/configuration-clh.toml - config/configuration-fc.toml - config/configuration-qemu-coco-dev.toml - config/configuration-qemu-nvidia-gpu-snp.toml - config/configuration-qemu-nvidia-gpu-tdx.toml - config/configuration-qemu-nvidia-gpu.toml - config/configuration-qemu-se.toml - config/configuration-qemu-sev.toml - config/configuration-qemu-snp.toml - config/configuration-qemu-tdx.toml - config/configuration-qemu.toml - config/configuration-remote.toml - config/configuration-stratovirt.toml install paths (CONFIG_PATHS) : - /usr/share/kata-containers/defaults/configuration-acrn.toml - /usr/share/kata-containers/defaults/configuration-clh.toml - /usr/share/kata-containers/defaults/configuration-fc.toml - /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-snp.toml - /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-tdx.toml - /usr/share/kata-containers/defaults/configuration-qemu-se.toml - /usr/share/kata-containers/defaults/configuration-qemu-sev.toml - /usr/share/kata-containers/defaults/configuration-qemu-snp.toml - /usr/share/kata-containers/defaults/configuration-qemu-tdx.toml - /usr/share/kata-containers/defaults/configuration-qemu.toml - /usr/share/kata-containers/defaults/configuration-remote.toml - /usr/share/kata-containers/defaults/configuration-stratovirt.toml alternate config paths (SYSCONFIG_PATHS) : - /etc/kata-containers/configuration-acrn.toml - /etc/kata-containers/configuration-clh.toml - /etc/kata-containers/configuration-fc.toml - /etc/kata-containers/configuration-qemu-coco-dev.toml - /etc/kata-containers/configuration-qemu-nvidia-gpu-tdx.toml - /etc/kata-containers/configuration-qemu-se.toml - /etc/kata-containers/configuration-qemu.toml - /etc/kata-containers/configuration-remote.toml - /etc/kata-containers/configuration-stratovirt.toml default install path for qemu (CONFIG_PATH) : /usr/share/kata-containers/defaults/configuration.toml default alternate config path (SYSCONFIG) : /etc/kata-containers/configuration.toml qemu hypervisor path (QEMUPATH) : /usr/bin/qemu-system-x86_64 cloud-hypervisor hypervisor path (CLHPATH) : /usr/bin/cloud-hypervisor firecracker hypervisor path (FCPATH) : /usr/bin/firecracker acrn hypervisor path (ACRNPATH) : /usr/bin/acrn-dm stratovirt hypervisor path (STRATOVIRTPATH) : /usr/bin/stratovirt assets path (PKGDATADIR) : /usr/share/kata-containers shim path (PKGLIBEXECDIR) : /usr/libexec/kata-containers INSTALL install-scripts INSTALL install-completions INSTALL install-configs INSTALL install-configs INSTALL install-bin INSTALL install-containerd-shim-v2 INSTALL install-monitor + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/agent ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd src/agent + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 'INSTALL=/usr/bin/install -p' LIBC=gnu DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/agent warning: `/builddir/build/BUILD/kata-containers-3.7.0/src/agent/.cargo/config` is deprecated in favor of `config.toml` | = help: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml` Installing systemd unit files... install -D -m 644 kata-agent.service /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/agent/usr/lib/systemd/system/kata-agent.service || exit 1; install -D -m 644 kata-containers.target /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/agent/usr/lib/systemd/system/kata-containers.target || exit 1; + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/src/tools/log-parser ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd src/tools/log-parser + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 'INSTALL=/usr/bin/install -p' LIBC=gnu BINDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin go test . ok github.com/kata-containers/kata-containers/src/tools/log-parser 0.013s go build -o "kata-log-parser" -ldflags "-X main.name=kata-log-parser -X main.commit="dca7b0a1ab072926818b2128c87caa20b3efcda5-dirty" -X main.version=0.0.1" . install -d /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin install kata-log-parser /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/bin/kata-log-parser + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers/tools/osbuilder ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + pushd tools/osbuilder + rm .gitignore + rm rootfs-builder/.gitignore + mkdir -p /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/var/cache/kata-containers + install -m 0644 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/lib/systemd/system /builddir/build/SOURCES/kata-osbuilder-generate.service + install -m 0755 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder nsdax + install -m 0644 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder /builddir/build/SOURCES/kata-osbuilder.sh + cp -aR rootfs-builder /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder + cp -aR image-builder /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder + cp -aR initrd-builder /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder + cp -aR scripts /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder + cp -aR dracut /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder + rm -f /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder/image-builder/nsdax.gpl.c + install -m 0644 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder/dracut/dracut.conf.d/ /builddir/build/SOURCES/15-dracut.conf + chmod +x /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder/scripts/lib.sh + chmod +x /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder/kata-osbuilder.sh + popd ~/build/BUILD/kata-containers-3.7.0/go/src/github.com/kata-containers/kata-containers + install -m 0644 -D -t /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/etc/crio/crio.conf.d /builddir/build/SOURCES/50-kata + sed -i -e 's|^kernel = "/usr/share|kernel = "/var/cache|' -e 's|^image = "/usr/share/kata-containers/kata-containers.img"|initrd = "/var/cache/kata-containers/kata-containers-initrd.img"|' /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/kata-containers/defaults/configuration.toml + sed -i -e 's/^#use_vsock =/use_vsock =/' /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/kata-containers/defaults/configuration.toml + for kernelpath in /lib/modules/*/vmlinu* ++ echo /lib/modules/6.6.119-49.44.oc9.x86_64/vmlinuz ++ cut -d / -f 4 + KVERSION=6.6.119-49.44.oc9.x86_64 + break + TEST_MODE=1 + /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder/kata-osbuilder.sh -o /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/osbuilder -k 6.6.119-49.44.oc9.x86_64 -a /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 + Building dracut initrd dracut: Could not find any syslog binary although the syslogmodule is selected to be installed. Please check. ldconfig: need absolute file name for configuration file when using -r dracut: ldconfig might need uid=0 (root) for chroot() + Extracting dracut initrd rootfs 61830 blocks + Copying agent directory tree into place Calling osbuilder rootfs.sh on extracted rootfs INFO: Create symlink to /tmp in /var to create private temporal directories with systemd INFO: Install tmp.mount in ./etc/systemd/system cp: cannot stat './usr/share/systemd/tmp.mount': No such file or directory INFO: Create /tmp/kata-dracut-rootfs-lgtMqC/etc INFO: Configure chrony file /tmp/kata-dracut-rootfs-lgtMqC/etc/chrony.conf [OK] cp /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/libexec/kata-containers/agent/usr/bin/kata-agent /tmp/kata-dracut-rootfs-lgtMqC/usr/bin/kata-agent [OK] Agent installed INFO: Check init is installed INFO: Create /etc/resolv.conf file in rootfs if not exist [OK] init is installed INFO: Creating summary file INFO: Created summary file '/var/lib/osbuilder/osbuilder.yaml' inside rootfs + Exiting TEST_MODE successfully + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/libexec/kata-containers/osbuilder/scripts/lib.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/kata-containers/osbuilder/image-builder/image_builder.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/kata-containers/osbuilder/rootfs-builder/rootfs.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/kata-containers/osbuilder/kata-osbuilder.sh from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/libexec/kata-containers/osbuilder/initrd-builder/initrd_builder.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/libexec/kata-containers/osbuilder/dracut/add_libs.sh from /usr/bin/env bash to #!/usr/bin/bash mangling shebang in /usr/bin/kata-collect-data.sh from /usr/bin/env bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: kata-containers-3.7.0-5.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OvQVh0 + umask 022 + cd /builddir/build/BUILD + cd kata-containers-3.7.0 + DOCDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/doc/kata-containers + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/doc/kata-containers + cp -pr README.md /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/doc/kata-containers + cp -pr CONTRIBUTING.md /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/doc/kata-containers + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IvMrAt + umask 022 + cd /builddir/build/BUILD + cd kata-containers-3.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/licenses/kata-containers + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/licenses/kata-containers + cp -pr LICENSE /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64/usr/share/licenses/kata-containers + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/share/kata-containers/defaults warning: File listed twice: /usr/share/kata-containers/defaults/configuration-acrn.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-clh.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-fc.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-coco-dev.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-snp.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-tdx.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-se.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-sev.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-snp.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-tdx.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-qemu.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-remote.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration-stratovirt.toml warning: File listed twice: /usr/share/kata-containers/defaults/configuration.toml Provides: config(kata-containers) = 3.7.0-5.oc9 kata-containers = 3.7.0-5.oc9 kata-containers(x86-64) = 3.7.0-5.oc9 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd Requires(preun): /bin/sh systemd Requires(postun): /bin/sh systemd Requires: /usr/bin/bash libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.18)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.29)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.30)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libresolv.so.2()(64bit) libseccomp.so.2()(64bit) rtld(GNU_HASH) Suggests: virtiofsd Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kata-containers-3.7.0-5.oc9.x86_64 Wrote: /builddir/build/RPMS/kata-containers-3.7.0-5.oc9.x86_64.rpm RPM build warnings: File listed twice: /usr/share/kata-containers/defaults File listed twice: /usr/share/kata-containers/defaults/configuration-acrn.toml File listed twice: /usr/share/kata-containers/defaults/configuration-clh.toml File listed twice: /usr/share/kata-containers/defaults/configuration-fc.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-coco-dev.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-snp.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu-tdx.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-nvidia-gpu.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-se.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-sev.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-snp.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu-tdx.toml File listed twice: /usr/share/kata-containers/defaults/configuration-qemu.toml File listed twice: /usr/share/kata-containers/defaults/configuration-remote.toml File listed twice: /usr/share/kata-containers/defaults/configuration-stratovirt.toml File listed twice: /usr/share/kata-containers/defaults/configuration.toml Child return code was: 0