To support multi-path in QEMU NVMe device model, We need to have NVMe subsystem hierarchy to map controllers and namespaces to a NVMe subsystem. This patch introduced a simple nvme-subsys device model. The subsystem will be prepared with subsystem NQN with <subsys_id> provided in nvme-subsys device: ex) -device nvme-subsys,id=subsys0: nqn.2019-08.org.qemu:subsys0 Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Tested-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org> [k.jensen: added 'nqn' device parameter per request] Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
22 lines
1,017 B
Meson
22 lines
1,017 B
Meson
softmmu_ss.add(files(
|
|
'block.c',
|
|
'cdrom.c',
|
|
'hd-geometry.c'
|
|
))
|
|
softmmu_ss.add(when: 'CONFIG_ECC', if_true: files('ecc.c'))
|
|
softmmu_ss.add(when: 'CONFIG_FDC', if_true: files('fdc.c'))
|
|
softmmu_ss.add(when: 'CONFIG_NAND', if_true: files('nand.c'))
|
|
softmmu_ss.add(when: 'CONFIG_ONENAND', if_true: files('onenand.c'))
|
|
softmmu_ss.add(when: 'CONFIG_PFLASH_CFI01', if_true: files('pflash_cfi01.c'))
|
|
softmmu_ss.add(when: 'CONFIG_PFLASH_CFI02', if_true: files('pflash_cfi02.c'))
|
|
softmmu_ss.add(when: 'CONFIG_SSI_M25P80', if_true: files('m25p80.c'))
|
|
softmmu_ss.add(when: 'CONFIG_SWIM', if_true: files('swim.c'))
|
|
softmmu_ss.add(when: 'CONFIG_XEN', if_true: files('xen-block.c'))
|
|
softmmu_ss.add(when: 'CONFIG_TC58128', if_true: files('tc58128.c'))
|
|
softmmu_ss.add(when: 'CONFIG_NVME_PCI', if_true: files('nvme.c', 'nvme-ns.c', 'nvme-subsys.c'))
|
|
|
|
specific_ss.add(when: 'CONFIG_VIRTIO_BLK', if_true: files('virtio-blk.c'))
|
|
specific_ss.add(when: 'CONFIG_VHOST_USER_BLK', if_true: files('vhost-user-blk.c'))
|
|
|
|
subdir('dataplane')
|