On 12/2/19 9:26 AM, Michal Privoznik wrote:
This module will be used by virHostdevManager and it's inspired
by virPCIDevice module. They are very similar except instead of
what makes a NVMe device: PCI address AND namespace ID. This
means that a NVMe device can appear in a domain multiple times,
each time with a different namespace.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
po/POTFILES.in | 1 +
src/libvirt_private.syms | 18 ++
src/util/Makefile.inc.am | 2 +
src/util/virnvme.c | 447 +++++++++++++++++++++++++++++++++++++++
src/util/virnvme.h | 95 +++++++++
5 files changed, 563 insertions(+)
create mode 100644 src/util/virnvme.c
create mode 100644 src/util/virnvme.h
Reviewed-by: Cole Robinson <crobinso(a)redhat.com>
- Cole