Refactor VPP Device VM vhost tests
[csit.git] / resources / libraries / bash / function / device.sh
index 5d33af3..e31ead7 100644 (file)
@@ -581,6 +581,10 @@ function start_topology_containers () {
     dcr_stc_params+="--volume /var/lib/vm/vhost-nested.img:/var/lib/vm/vhost-nested.img "
     # Mount docker.sock to be able to use docker deamon of the host.
     dcr_stc_params+="--volume /var/run/docker.sock:/var/run/docker.sock "
+    # Mount /opt/boot/ where VM kernel and initrd are located.
+    dcr_stc_params+="--volume /opt/boot/:/opt/boot/ "
+    # Mount host hugepages for VMs.
+    dcr_stc_params+="--volume /dev/hugepages/:/dev/hugepages/ "
 
     # Docker Container UUIDs.
     declare -gA DCR_UUIDS