See patch 2 for explanation. Erik Skultety (2): hostdev: Update mdev pointer reference after checking device type hostdev: mdev: Lookup mdevs by sysfs path rather than mdev struct src/hypervisor/virhostdev.c | 12 +++++------- src/util/virmdev.c | 16 ++++++++-------- src/util/virmdev.h | 4 ++-- 3 files changed, 15 insertions(+), 17 deletions(-) -- 2.29.2