Skip to content

Commit f4b3c21

Browse files
committed
node-builder: virtio-blk root device for AKS-Kata
Build the shim config files using DEFDISABLEIMAGENVDIMM=true. Use virtio-blk for the AKS-Kata Pod VM root storage device. When using "--pmem discard_writes=on" the entire Pod VM image gets copied into the Pod VM memory, thus resulting in higher memory consumption. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
1 parent 6fec223 commit f4b3c21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/osbuilder/node-builder/azure-linux/package_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ source "${common_file}"
2323
runtime_make_flags="SKIP_GO_VERSION_CHECK=1 QEMUCMD= FCCMD= ACRNCMD= STRATOVIRTCMD= DEFAULT_HYPERVISOR=cloud-hypervisor"
2424
runtime_make_flags+=" DEFMEMSZ=0 DEFSTATICSANDBOXWORKLOADMEM=512 DEFVCPUS=0 DEFSTATICSANDBOXWORKLOADVCPUS=1"
2525
runtime_make_flags+=" DEFVIRTIOFSDAEMON=${VIRTIOFSD_BINARY_LOCATION} PREFIX=${INSTALL_PATH_PREFIX}"
26+
runtime_make_flags+=" DEFDISABLEIMAGENVDIMM=true"
2627

2728
# - for vanilla Kata we use the kernel binary. For ConfPods we use IGVM, so no need to provide kernel path.
2829
# - for vanilla Kata we explicitly set DEFSTATICRESOURCEMGMT_CLH. For ConfPods,

0 commit comments

Comments
 (0)