[libvirt] [PATCH v2 3/8] util: virhostdev: add virHostdevIsMdevDevice()
John Ferlan
jferlan at redhat.com
Thu May 10 20:49:25 UTC 2018
On 05/07/2018 10:41 AM, Boris Fiuczynski wrote:
> From: Shalini Chellathurai Saroja <shalini at linux.vnet.ibm.com>
>
> 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 at linux.vnet.ibm.com>
> Reviewed-by: Bjoern Walk <bwalk at linux.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy at linux.ibm.com>
> ---
> 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 at redhat.com>
John
[of course I just realized you all don't have commit access... so I'll
make the already recommended changes in my branch...]
More information about the libvir-list
mailing list