Skip to content

Commit

Permalink
ci: reduce guest memory for virtio guest test case
Browse files Browse the repository at this point in the history
In some configurations, the host system may not have
enough memory to support the guest. To address this,
try reducing the guest memory allocation from 4G to 2G.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Change-Id: I00aaae29d781b58cfd4a5f88a5592f41afb7d15a
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/dataplane/dpu-offload/+/133780
Tested-by: Jerin Jacob <jerinj@marvell.com>
Reviewed-by: Rahul Bhansali <rbhansali@marvell.com>
Reviewed-by: Nithin Kumar Dabilpuram <ndabilpuram@marvell.com>
  • Loading branch information
SruChalla authored and jerinjacobk committed Aug 21, 2024
1 parent b07d46b commit 808f084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/test/dao-test/common/ep_host_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ function ep_host_launch_guest()
tail -f $in | ($unbuffer $QEMU_BIN -hda "$VM_IMAGE" -name vm1 \
-netdev type=vhost-vdpa,vhostdev="/dev/vhost-vdpa-0",id=vhost-vdpa1 \
-device virtio-net-pci,netdev=vhost-vdpa1,disable-modern=off,page-per-vq=on,packed=on,mrg_rxbuf=on,mq=on,rss=on,rx_queue_size=1024,tx_queue_size=1024,disable-legacy=on -fsdev local,path=$EP_GUEST_SHARE_DIR,security_model=passthrough,id=hostshare -device virtio-9p-pci,id=fs0,fsdev=hostshare,mount_tag=host_tag \
-enable-kvm -nographic -m 4G -cpu host -smp 8 -L /usr/share/qemu &>$out) &
-enable-kvm -nographic -m 2G -cpu host -smp 8 -L /usr/share/qemu &>$out) &

# Wait for guest to be up
local itr=0
Expand Down

0 comments on commit 808f084

Please sign in to comment.