<nvm-subsystem-manager>.status <nvm_subsystem_comp>.info
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<nvm_subsystem_comp>.add-namespace

Synopsis

<nvm_subsystem_comp>.add-namespace [size] ["file"] [attach-to]

Description

Add an active namespace to the NVMe drive. Either a file, containing for example a file system can be provided, and/or a size of the namespace. If no size if provided, the size of the namespace will be the size of the provided file. If the size is smaller than the file, an error will be returned. If no file is provided, the namespace will be empty with the size provided. attach-to can be used to specify which controllers the namespace should be attached to. If not provided, the namespace will be attached to all controllers in the NVM subsystem if auto_attach_namespaces attribute of the subsystem is enabled. Otherwise, the namespace will be created but not attached to any controller.

Provided By

simics-nvme-comp
<nvm-subsystem-manager>.status <nvm_subsystem_comp>.info