diff options
Diffstat (limited to 'hw/block/nvme-subsys.h')
-rw-r--r-- | hw/block/nvme-subsys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/block/nvme-subsys.h b/hw/block/nvme-subsys.h index fc86d01ff3..55411eccfb 100644 --- a/hw/block/nvme-subsys.h +++ b/hw/block/nvme-subsys.h @@ -21,9 +21,13 @@ typedef struct NvmeSubsystem { DeviceState parent_obj; uint8_t subnqn[256]; + NvmeCtrl *ctrls[NVME_SUBSYS_MAX_CTRLS]; + struct { char *nqn; } params; } NvmeSubsystem; +int nvme_subsys_register_ctrl(NvmeCtrl *n, Error **errp); + #endif /* NVME_SUBSYS_H */ |