On Sun, Dec 11, 2022 at 01:39:37PM +0200, Max Gurtovoy wrote:
1. Need to define a concept of a "virtual subsystem". A primary controllerYes. Note that there is a bit more state than just the NQN. You also
will be able to create a virtual subsystem. Inside this subsystem the
primary controller will be the master ("the controlling") of the migration
process. It will also be able to add secondary controllers to this virtual
subsystem and assign "virtual controller ID" to it.
something like:
- nvme virtual_subsys_create --dev=/dev/nvme1 --virtual_nqn="my_v_nqn_1"
--dev_vcid = 1
- nvme virtual_subsys_add --dev=/dev/nvme1 --virtual_nqn="my_v_nqn_1"
--secondary_dev=/dev/nvme2 --secondary_dev_vcid=20
need at least a serial number, and also probably a different vendor
ID (the PCI vendor ID that is also mirror in Identify Controller and
the IEEE OUI), and new unique namespace identifier.