[V2] test_plans/virtio_event_idx_interrupt_cbdma_test_plan: fix testcase2&4 issue

Message ID 20221222030555.175017-1-weix.ling@intel.com (mailing list archive)
State Accepted
Headers
Series [V2] test_plans/virtio_event_idx_interrupt_cbdma_test_plan: fix testcase2&4 issue |

Checks

Context Check Description
ci/Intel-dts-format-test success Testing OK
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-doc-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Ling, WeiX Dec. 22, 2022, 3:05 a.m. UTC
  Fix testcase2&4 the following issue:
1)Missing the server parameter when start VM.
2)Missing the queues parameter when start VM.

Signed-off-by: Wei Ling <weix.ling@intel.com>
---
 test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
  

Comments

Tu, Lijuan Dec. 26, 2022, 4:49 a.m. UTC | #1
On Thu, 22 Dec 2022 11:05:55 +0800, Wei Ling <weix.ling@intel.com> wrote:
> Fix testcase2&4 the following issue:
> 1)Missing the server parameter when start VM.
> 2)Missing the queues parameter when start VM.
> 
> Signed-off-by: Wei Ling <weix.ling@intel.com>

Acked-by: Lijuan Tu <lijuan.tu@intel.com>
Applied, thanks
  

Patch

diff --git a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst
index d8694ad5..eed10893 100644
--- a/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst
+++ b/test_plans/virtio_event_idx_interrupt_cbdma_test_plan.rst
@@ -118,8 +118,8 @@  vhost uses the asynchronous operations with CBDMA channels.
 	-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \
 	-monitor unix:/tmp/vm2_monitor.sock,server,nowait \
 	-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \
-	-chardev socket,id=char1,path=./vhost-net \
-	-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \
+	-chardev socket,id=char1,path=./vhost-net,server \
+	-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=16 \
 	-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \
 	-vnc :11 -daemonize
 
@@ -202,8 +202,8 @@  uses the asynchronous operations with CBDMA channels.
 	-smp cores=1,sockets=1 -drive file=/home/osimg/ubuntu2004.img \
 	-monitor unix:/tmp/vm2_monitor.sock,server,nowait \
 	-device e1000,netdev=nttsip1 -netdev user,id=nttsip1,hostfwd=tcp:127.0.0.1:6000-:22 \
-	-chardev socket,id=char1,path=./vhost-net \
-	-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce \
+	-chardev socket,id=char1,path=./vhost-net,server \
+	-netdev type=vhost-user,id=mynet1,chardev=char1,vhostforce,queues=16 \
 	-device virtio-net-pci,mac=52:54:00:00:00:02,netdev=mynet1,mrg_rxbuf=on,csum=on,gso=on,guest_csum=on,host_tso4=on,guest_tso4=on,guest_ecn=on \
 	-vnc :11 -daemonize