Hello All,

I am trying to connect to vhost-user socket created on openvswitch with
DPDK but kept receiving following error:

error: internal error: process exited while connecting to monitor:
2015-11-25T19:19:02.192794Z qemu-kvm: -chardev
socket,id=charnet2,path=/usr/local/var/run/openvswitch/vhost-user-1: Failed
to connect to socket: Permission denied
2015-11-25T19:19:02.193226Z qemu-kvm: -chardev
socket,id=charnet2,path=/usr/local/var/run/openvswitch/vhost-user-1:
chardev: opening backend "socket" failed

I already made sure that the user and group are both root since I am using
root privilege and also have vhost-user socket created:

srwxr-x---. 1 root root    0 Nov 25 09:02 capabilities.monitor.sock
drwxr-xr-x. 3 root root 4096 Nov 25 10:05 channel
drwxrwxrwx. 2 root root 4096 Nov 17 21:35 dump
drwx--x--x. 2 root root 4096 Nov  3 21:59 nvram
drwxr-xr-x. 2 root root 4096 Nov 17 21:35 save
drwxr-xr-x. 2 root root 4096 Nov 17 21:35 snapshot
[root@localhost qemu]# pwd
/var/lib/libvirt/qemu
[root@localhost qemu]#

-rw-r--r--. 1 root root      6 Nov 25 07:07 ovs-vswitchd.pid
-rw-r--r--. 1 root root 197120 Nov 25 07:18 vdisk.img
srwxr-xr-x. 1 root root      0 Nov 26 02:11 vhost-user-1
[root@localhost openvswitch]#

And following is the XML that I manually added for vhost-user interface
creation:

<interface type='vhostuser'>
      <source type='unix'
path='/usr/local/var/run/openvswitch/vhost-user-1' modd
e='client'/>
      <mac address='52:54:00:02:d9:01'/>
      <model type='virtio'/>
    </interface>

Tried all of the above but still has no luck. It would be really
appreciated if anyone could help with this issue. Thanks again!
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to