Hi Nitin,
lspci should show you the virtio-scsi controller PCI device.
lsblk –S should show you the SCSI block devices attached to that virtio-scsi controller.
-Jim
From:
SPDK <spdk-bounces@lists.01.org> on behalf of Nitin Gupta <nitin.gupta981@gmail.com>
Reply-To: Storage Performance Development Kit <spdk@lists.01.org>
Date: Monday, October 2, 2017 at 10:38 AM
To: Storage Performance Development Kit <spdk@lists.01.org>
Subject: Re: [SPDK] nvme drive not showing in vm in spdk
Hi Jim
Thanks for your reply and sorry for my late reply ..
could you please give one example to know how to identify virtio-scsi controller in the linux
i mean which directory it will be present or which file system ?
Regards
Nitin
On Thu, Sep 28, 2017 at 8:30 PM, Harris, James R <james.r.harris@intel.com> wrote:
Hi Nitin,
You should see a virtio-scsi controller in the VM, not an NVMe device. This controller should have one LUN attached, which SPDK vhost maps to the NVMe device attached to the host.
-Jim
From: SPDK <spdk-bounces@lists.01.org> on behalf of Nitin Gupta <nitin.gupta981@gmail.com>
Reply-To: Storage Performance Development Kit <spdk@lists.01.org>
Date: Thursday, September 28, 2017 at 4:07 AM
To: Storage Performance Development Kit <spdk@lists.01.org>
Subject: [SPDK] nvme drive not showing in vm in spdk
Hi All
i am new in spdk development and currently doing spdk setup in that was able to setup back-end storage with NVME .After running the VM with following command , there is no nvme drive present .
/usr/local/bin/qemu-system-x86_64 -m 1024 -object memory-backend-file,id=mem,size=1G,mem-path=/dev/hugepages,share=on -nographic -no-user-config -nodefaults -serial mon:telnet:localhost:7704,server,nowait -monitor mon:telnet:localhost:8804,server,nowait -numa node,memdev=mem -drive file=/home/qemu/qcows,format=qcow2,if=none,id=disk -device ide-hd,drive=disk,bootindex=0 -chardev socket,id=char0,path=./spdk/vhost.0 -device vhost-user-scsi-pci,id=scsi0,chardev=char0 --enable-kvm
how to identify which is nvme drive ?
is there any way to enable nvme from qemu command ?
PS: i have already specified the nvme drive in vhost.conf.in
Regards
Nitin
_______________________________________________
SPDK mailing list
SPDK@lists.01.org
https://lists.01.org/mailman/listinfo/spdk