]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuDomainInterfaceStats: Check for the actual type of interface
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 2 Oct 2017 11:12:43 +0000 (13:12 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 5 Oct 2017 07:16:05 +0000 (09:16 +0200)
commit98eabee0a1f6ceeeceebdd4fe41e660dbdf53d8a
treec2c97e8973d432965aae6a3e82d95d630967e2bf
parentd4588bb9578659beae3ba9cebf18b6e6862204ed
qemuDomainInterfaceStats: Check for the actual type of interface

Users might have configured interface so that it's type of
network, but the corresponding network plugs interfaces into an
OVS bridge. Therefore, we have to check for the actual type of
the interface instead of the configured one.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_driver.c