Fixed
Created: May 13, 2015
Updated: Dec 3, 2018
Resolved Date: Jul 5, 2015
Found In Version: 6.0.0.1
Fix Version: 6.0.0.23
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace
Customer find a nbd problem in kvm project, the nbd process can not exit nomrally after disconnect
This issue can be found in qemu env with RCPL19
1, config project with:
configure --enable-board=intel-x86-64 --enable-kernel=standard+features/kvm/qemu-kvm-enable.scc --enable-rootfs=glibc_small --with-layer=wr-qat,wr-dpdk --with-template=feature/initramfs,feature/kvm,feature/build_libc --enable-parallel-pkgbuilds=4 --enable-jobs=4 --with-rcpl-version=0001 --enable-reconfig
2, build project and do nbd operation in qemu target
$ make start-target
# modprobe nbd max_part=8
# qemu-img create -f qcow2 test.img 10G
# qemu-nbd -c /dev/nbd0 test.img
# qemu-nbd -d /dev/nbd0
3, then via `ps -ef` command, we will see "qemu-nbd -c /dev/nbd0" process is still there.