]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: refactor NVMe namespace initialization
authorChuck Tuffli <chuck@FreeBSD.org>
Fri, 27 Mar 2020 15:28:05 +0000 (15:28 +0000)
committerChuck Tuffli <chuck@FreeBSD.org>
Fri, 27 Mar 2020 15:28:05 +0000 (15:28 +0000)
commitd31d525ef5cc35c8eb22e395b478dde61cb98a42
treede36ceca0cb7cfd19f68faad1a1e43d8ddce2c20
parentda8de3e9a8a8ed94857fd00a66afde0d67eba3f2
bhyve: refactor NVMe namespace initialization

Pass the struct pci_nvme_blockstore pointer for this namespace to the
namespace initialization function instead of only the desired eui64
value.

Minor functional change in that the code updates the eui64 value in the
blockstore.

Reviewed by: jhb, araujo
Approved by: jhb (maintainer)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D21838
usr.sbin/bhyve/pci_nvme.c