test/vfio_user: Remove subsystem listener while VM is connected, issue #2246 autotest.
Signed-off-by: Jun Wen <junx.wen@intel.com> Change-Id: Ib1af20bad7636ac9fda1b17786d15d02ca61fabb Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11499 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
4f36a2a66b
commit
3b1578c8f7
@ -38,11 +38,13 @@ vm_wait_for_boot 60 1
|
||||
|
||||
vm_exec 1 "lsblk"
|
||||
|
||||
# To check target whether core dump when remove subsystem listener while VM is connected, issue #2246
|
||||
$rpc_py nvmf_subsystem_remove_listener nqn.2019-07.io.spdk:cnode1 -t vfiouser -a $vm_muser_dir/domain/muser1/1 -s 0
|
||||
|
||||
vm_shutdown_all
|
||||
|
||||
$rpc_py nvmf_subsystem_remove_listener nqn.2019-07.io.spdk:cnode1 -t vfiouser -a $vm_muser_dir/domain/muser1/1 -s 0
|
||||
$rpc_py nvmf_delete_subsystem nqn.2019-07.io.spdk:cnode1
|
||||
$rpc_py bdev_nvme_detach_controller Nvme0
|
||||
$rpc_py nvmf_delete_subsystem nqn.2019-07.io.spdk:cnode1
|
||||
|
||||
vhost_kill 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user