[libvirt] [PATCH v3 14/30] util: Introduce virNVMeDevice module
Cole Robinson
crobinso at redhat.com
Mon Dec 9 23:50:41 UTC 2019
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 at 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 at redhat.com>
- Cole
More information about the libvir-list
mailing list