On 05/07/2018 10:41 AM, Boris Fiuczynski wrote: > From: Shalini Chellathurai Saroja <shalini@xxxxxxxxxxxxxxxxxx> > > Add the function virHostdevIsMdevDevice() which detects whether a > hostdev is a mediated device or not. Also, replace all existing > conditionals. > > Signed-off-by: Shalini Chellathurai Saroja <shalini@xxxxxxxxxxxxxxxxxx> > Reviewed-by: Bjoern Walk <bwalk@xxxxxxxxxxxxx> > Reviewed-by: Boris Fiuczynski <fiuczy@xxxxxxxxxxxxx> > --- > src/libvirt_private.syms | 1 + > src/qemu/qemu_command.c | 4 +--- > src/qemu/qemu_domain_address.c | 8 ++++---- > src/qemu/qemu_hostdev.c | 3 +-- > src/util/virhostdev.c | 26 +++++++++++++++++--------- > src/util/virhostdev.h | 3 +++ > 6 files changed, 27 insertions(+), 18 deletions(-) > Reviewed-by: John Ferlan <jferlan@xxxxxxxxxx> John [of course I just realized you all don't have commit access... so I'll make the already recommended changes in my branch...] -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list