On Thu, Jul 11, 2019 at 17:54:05 +0200, Michal Privoznik wrote: > The qemu driver has its own wrappers around virHostdev module (so > that some arguments are filled in automatically). Extend these to > include NVMe devices too. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_hostdev.c | 49 ++++++++++++++++++++++++++++++++++++++--- > src/qemu/qemu_hostdev.h | 10 +++++++++ > 2 files changed, 56 insertions(+), 3 deletions(-) > > diff --git a/src/qemu/qemu_hostdev.c b/src/qemu/qemu_hostdev.c > index 92b037e1ed..efa4d62f1f 100644 > --- a/src/qemu/qemu_hostdev.c > +++ b/src/qemu/qemu_hostdev.c > @@ -96,13 +96,28 @@ qemuHostdevUpdateActiveMediatedDevices(virQEMUDriverPtr driver, > } > > > +int > +qemuHostdevUpdateActiveNVMeDevices(virQEMUDriverPtr driver, Please include "Disks" in the function name co clarify it's not a hostdev from the domain point. ACK to the rest
Attachment:
signature.asc
Description: PGP signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list