diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-26 09:32:10 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-31 07:34:34 +0200 |
commit | 9bb1203b359dff5b36e8e6d0afcfc6fc2c1f8e78 (patch) | |
tree | 415df348d582029ac0186d8011b21ebd530b7109 /scripts/layoutrom.py | |
parent | 6eff8085980dba0938cea0193b8a0fd3c6b0c4ca (diff) | |
download | seabios-9bb1203b359dff5b36e8e6d0afcfc6fc2c1f8e78.zip seabios-9bb1203b359dff5b36e8e6d0afcfc6fc2c1f8e78.tar.gz seabios-9bb1203b359dff5b36e8e6d0afcfc6fc2c1f8e78.tar.bz2 |
nvme: improve namespace allocation
Instead of allocating a big array upfront go probe the namespaces and
only allocate an nvme_namespace struct for those namespaces which are
actually active.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'scripts/layoutrom.py')
0 files changed, 0 insertions, 0 deletions