
9 Dec
2019
9 Dec
'19
7:15 p.m.
On 12/2/19 9:26 AM, Michal Privoznik wrote:
Now that we have virNVMeDevice module (introduced in previous commit), let's use it int virHostdev to track which NVMe devices are free to be used by a domain and which are taken.
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/libvirt_private.syms | 5 + src/util/virhostdev.c | 331 +++++++++++++++++++++++++++++++++++++++ src/util/virhostdev.h | 37 +++++ src/util/virnvme.h | 2 + 4 files changed, 375 insertions(+)
Any mentions of 'rollback' make me nervous, but I couldn't find anything sketchy in there Reviewed-by: Cole Robinson <crobinso@redhat.com> - Cole