diff options
| author | Minwoo Im <minwoo.im.dev@gmail.com> | 2021-02-06 02:09:20 +0900 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-03-09 11:00:58 +0100 |
| commit | 92cad003c131c1866580beb4c00e19551652be8d (patch) | |
| tree | c429c795accdedbe063b22b3bd9242c7a574b80a /hw/core/qdev-clock.c | |
| parent | 5215e60600b0bc0a011f4456e0f0a0d9376d9133 (diff) | |
| download | focaccia-qemu-92cad003c131c1866580beb4c00e19551652be8d.tar.gz focaccia-qemu-92cad003c131c1866580beb4c00e19551652be8d.zip | |
hw/block/nvme: fix allocated namespace list to 256
Expand allocated namespace list (subsys->namespaces) to have 256 entries which is a value lager than at least NVME_MAX_NAMESPACES which is for attached namespace list in a controller. Allocated namespace list should at least larger than attached namespace list. n->num_namespaces = NVME_MAX_NAMESPACES; The above line will set the NN field by id->nn so that the subsystem should also prepare at least this number of namespace list entries. Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Reviewed-by: Klaus Jensen <k.jensen@samsung.com> Tested-by: Klaus Jensen <k.jensen@samsung.com> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'hw/core/qdev-clock.c')
0 files changed, 0 insertions, 0 deletions