Hi James
after using -nographic -no-user-config -nodefaults cin commands gtk error
get solved
thanks
Regards
Nitin
On Thu, Sep 28, 2017 at 11:02 AM, Nitin Gupta <nitin.gupta981(a)gmail.com>
wrote:
Hi James
Thanks for your reply
when i am trying without vhost there is an error
"Failed to connect socket: No such file or directory"
since i used to specify socket path vhost.0 before
i am new and i am not sure how to create socket manually by command
FYI :- i have tried before running virsh command to enable VM it worked
fine,
that time my socket loaction was
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-
15-testsh2/monitor.sock
i came to know that virsh command will not help in spdk nvme , so i am
trying to enable VM by qemu command.
Please let me know if there is an way to launch spdk nvme setup by virsh
as well .
Regards
Nitin
On Thu, Sep 28, 2017 at 9:28 AM, Harris, James R <james.r.harris(a)intel.com
> wrote:
> Hi Nitin,
>
>
>
> Do you see this same gtk error starting qemu if you start the VM without
> the vhost device?
>
>
>
> -Jim
>
>
>
>
>
> *From: *SPDK <spdk-bounces(a)lists.01.org> on behalf of Nitin Gupta <
> nitin.gupta981(a)gmail.com>
> *Reply-To: *Storage Performance Development Kit <spdk(a)lists.01.org>
> *Date: *Wednesday, September 27, 2017 at 8:47 PM
> *To: *Storage Performance Development Kit <spdk(a)lists.01.org>
> *Subject: *[SPDK] Qemu command is not working in spdk
>
>
>
> Hi All
>
>
>
> i am trying to run qemu command but its not working
>
> please help
>
>
>
> in terminal 1 :-
>
>
>
> for qemu :- i am running below command from same page
>
>
>
> /usr/local/bin/qemu-system-x86_64 -m 1024 -object
> memory-backend-file,id=mem,size=1G,mem-path=/dev/hugepages,share=on
> -numa node,memdev=mem -drive file=/root/mgmt.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
>
>
>
> gtk failed error
>
>
>
> in terminal 2
>
>
>
> -bash-4.2# app/vhost/vhost -c etc/spdk/vhost.conf.in
>
> Starting DPDK 17.05.0 initialization...
>
> [ DPDK EAL parameters: vhost -c 0x1 -m 1024 --file-prefix=spdk_pid79776 ]
>
> EAL: Detected 40 lcore(s)
>
> EAL: No free hugepages reported in hugepages-1048576kB
>
> EAL: Probing VFIO support...
>
> Total cores available: 1
>
> Occupied cpu socket mask is 0x1
>
> reactor.c: 362:_spdk_reactor_run: *NOTICE*: Reactor started on core 0 on
> socket
> 0
>
> EAL: PCI device 0000:d8:00.0 on NUMA socket 1
>
> EAL: probe driver: 8086:a53 spdk_nvme
>
> EAL: PCI device 0000:d9:00.0 on NUMA socket 1
>
> EAL: probe driver: 8086:a53 spdk_nvme
>
> EAL: PCI device 0000:da:00.0 on NUMA socket 1
>
> EAL: probe driver: 8086:a53 spdk_nvme
>
> EAL: PCI device 0000:db:00.0 on NUMA socket 1
>
> EAL: probe driver: 8086:a53 spdk_nvme
>
> gpt.c: 201:spdk_gpt_check_mbr: *ERROR*: Currently only support GPT
> Protective MB
> R format
>
> VHOST_CONFIG: vhost-user server: socket created, fd: 14
>
> VHOST_CONFIG: bind to vhost.0
>
> vhost.c: 426:spdk_vhost_dev_construct: *NOTICE*: Controller vhost.0: new
> control
> ler added
>
> vhost_scsi.c: 874:spdk_vhost_scsi_dev_add_dev: *NOTICE*: Controller
> vhost.0: def
> ined device 'Dev 0' using lun
> 'Malloc0'
>
> vhost_scsi.c: 874:spdk_vhost_scsi_dev_add_dev: *NOTICE*: Controller
> vhost.0: def
> ined device 'Dev 2' using lun
> 'Nvme0n1'
>
> VHOST_CONFIG: new vhost user connection is 15
>
> VHOST_CONFIG: new device, handle is 0
>
> VHOST_CONFIG: read message VHOST_USER_GET_FEATURES
>
> VHOST_CONFIG: read message VHOST_USER_GET_PROTOCOL_FEATURES
>
> VHOST_CONFIG: read message VHOST_USER_SET_PROTOCOL_FEATURES
>
> VHOST_CONFIG: read message VHOST_USER_GET_QUEUE_NUM
>
> VHOST_CONFIG: read message VHOST_USER_SET_OWNER
>
> VHOST_CONFIG: read message VHOST_USER_GET_FEATURES
>
> VHOST_CONFIG: read message VHOST_USER_SET_VRING_CALL
>
> VHOST_CONFIG: vring call idx:0 file:16
>
> VHOST_CONFIG: read message VHOST_USER_SET_VRING_CALL
>
> VHOST_CONFIG: vring call idx:1 file:17
>
> VHOST_CONFIG: read message VHOST_USER_SET_VRING_CALL
>
> VHOST_CONFIG: vring call idx:2 file:18
>
> VHOST_CONFIG: recvmsg failed
>
> VHOST_CONFIG: vhost peer closed
>
>
>
> Regards
>
> Nitin
>
> _______________________________________________
> SPDK mailing list
> SPDK(a)lists.01.org
>
https://lists.01.org/mailman/listinfo/spdk
>
>