commit | c6159d0e384f4176e69555a9bae37ac21fe69b57 | [log] [tgz] |
---|---|---|
author | Minwoo Im <minwoo.im@samsung.com> | Wed May 29 21:42:33 2024 +0900 |
committer | Klaus Jensen <k.jensen@samsung.com> | Thu Jul 11 17:05:37 2024 +0200 |
tree | 8f313056e3f334665cb79dee837f037ff669ec5d | |
parent | 1a494d119abb57e835f1230f4524f1eb67eb83e9 [diff] |
hw/nvme: Allocate sec-ctrl-list as a dynamic array To prevent further bumping up the number of maximum VF te support, this patch allocates a dynamic array (NvmeCtrl *)->sec_ctrl_list based on number of VF supported by sriov_max_vfs property. Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Minwoo Im <minwoo.im@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>