1、创建vhost0后设置ovs为client
ovs-vsctl set Interface vhost0 type=dpdkvhostuserclient
ovs-vsctl set Interface vhost0 type=dpdkvhostuserclient
ovs-vsctl set Interface vhost0 options:vhost-server-path="/tmp/sock0"
socket别放在/var/run/openvswitch,否则openvswitch重启,路径没了,socket也就没了
2、qemu设置成server
417538415群主提供