]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevopenvswitch: Get names for dpdkvhostuserclient too
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 6 Nov 2019 10:59:22 +0000 (11:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 12 Nov 2020 07:24:43 +0000 (08:24 +0100)
commite4c29e2904197472919d050c67acfd59f0144bbc
treee3208d97ed4d95b4fc8f2c32d43d2172eab9779d
parent3c7c7cd4d82c2f9a5a59bbd06673b8cd1eb23ce3
virnetdevopenvswitch: Get names for dpdkvhostuserclient too

There are two types of vhostuser ports:

  dpdkvhostuser - OVS creates the socket and QEMU connects to it
  dpdkvhostuserclient - QEMU creates the socket and OVS connects to it

But of course ovs-vsctl syntax for fetching ifname is different.
So far, we've implemented the former. The lack of implementation
for the latter means that we are not detecting the interface name
and thus not reporting it in domain XML, or failing to get
interface statistics.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1767013

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
src/qemu/qemu_hotplug.c
src/util/virnetdevopenvswitch.c
src/util/virnetdevopenvswitch.h
tests/qemuxml2argvmock.c