diff options
author | pmikus <peter.mikus@protonmail.ch> | 2022-09-26 14:29:55 +0200 |
---|---|---|
committer | Peter Mikus <peter.mikus@protonmail.ch> | 2022-09-26 13:01:38 +0000 |
commit | 3f16ce1bbca46437c648d75f6a15d23dae0b8fc1 (patch) | |
tree | 43031bd70e7b02e86c7bcd50b393db7613c07b10 | |
parent | 23944f56ba28e1ec429c9e214a152d743c587c72 (diff) |
fix(qemu): VM tests
Signed-off-by: pmikus <peter.mikus@protonmail.ch>
Change-Id: I8374ac119dca0640188e6ad874769e5a6aafbff4
-rw-r--r-- | docs/job_specs/vpp_device/vpp-1n-skx.md | 8 | ||||
-rw-r--r-- | docs/job_specs/vpp_device/vpp-1n-tx2.md | 8 | ||||
-rw-r--r-- | resources/templates/vm/init.sh | 1 |
3 files changed, 9 insertions, 8 deletions
diff --git a/docs/job_specs/vpp_device/vpp-1n-skx.md b/docs/job_specs/vpp_device/vpp-1n-skx.md index 1a84ae07dc..02dad011f9 100644 --- a/docs/job_specs/vpp_device/vpp-1n-skx.md +++ b/docs/job_specs/vpp_device/vpp-1n-skx.md @@ -196,13 +196,13 @@ ### intel-x710 #### dpdk-vfio-pci ##### ethip4-ip4base-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-ip4base-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-ip4base-eth-2vhost-1vm ##### ethip4-l2bdbasemaclrn-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2bdbasemaclrn-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2bdbasemaclrn-eth-2vhost-1vm ##### ethip4-l2xcbase-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2xcbase-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2xcbase-eth-2vhost-1vm ## ./vm/ethip6 ### intel-x710 #### dpdk-vfio-pci ##### ethip6-ip6base-eth-2vhost-1vm -#0c AND 78b AND scapy AND x710 AND drv_vfio_pci AND ethip6-ip6base-eth-2vhost-1vm +0c AND 78b AND scapy AND x710 AND drv_vfio_pci AND ethip6-ip6base-eth-2vhost-1vm diff --git a/docs/job_specs/vpp_device/vpp-1n-tx2.md b/docs/job_specs/vpp_device/vpp-1n-tx2.md index 53bbbdd23c..db5c31a441 100644 --- a/docs/job_specs/vpp_device/vpp-1n-tx2.md +++ b/docs/job_specs/vpp_device/vpp-1n-tx2.md @@ -146,13 +146,13 @@ ### intel-x710 #### dpdk-vfio-pci ##### ethip4-ip4base-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-ip4base-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-ip4base-eth-2vhost-1vm ##### ethip4-l2bdbasemaclrn-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2bdbasemaclrn-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2bdbasemaclrn-eth-2vhost-1vm ##### ethip4-l2xcbase-eth-2vhost-1vm -#0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2xcbase-eth-2vhost-1vm +0c AND 64b AND scapy AND x710 AND drv_vfio_pci AND ethip4-l2xcbase-eth-2vhost-1vm ## ./vm/ethip6 ### intel-x710 #### dpdk-vfio-pci ##### ethip6-ip6base-eth-2vhost-1vm -#0c AND 78b AND scapy AND x710 AND drv_vfio_pci AND ethip6-ip6base-eth-2vhost-1vm
\ No newline at end of file +0c AND 78b AND scapy AND x710 AND drv_vfio_pci AND ethip6-ip6base-eth-2vhost-1vm
\ No newline at end of file diff --git a/resources/templates/vm/init.sh b/resources/templates/vm/init.sh index 8edb40f411..471b3ccba9 100644 --- a/resources/templates/vm/init.sh +++ b/resources/templates/vm/init.sh @@ -1,6 +1,7 @@ #!/bin/bash mkdir /dev/pts mkdir /dev/hugepages +mkdir /dev/shm mount -t devpts -o "rw,noexec,nosuid,gid=5,mode=0620" devpts /dev/pts || true mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /run mount -t tmpfs -o "rw,noexec,nosuid,size=10%,mode=0755" tmpfs /tmp |