diff options
author | Klaus Jensen | 2020-07-06 08:12:57 +0200 |
---|---|---|
committer | Klaus Jensen | 2020-09-02 08:48:50 +0200 |
commit | 7c46310d298d8caa9dd0e4c0846331dd148a575c (patch) | |
tree | 37f4f0c7b58c7e7815a83ccf69791ddf4027e0c8 /stubs | |
parent | hw/block/nvme: add remaining mandatory controller parameters (diff) | |
download | qemu-7c46310d298d8caa9dd0e4c0846331dd148a575c.tar.gz qemu-7c46310d298d8caa9dd0e4c0846331dd148a575c.tar.xz qemu-7c46310d298d8caa9dd0e4c0846331dd148a575c.zip |
hw/block/nvme: support the get/set features select and save fields
Since the device does not have any persistent state storage, no
features are "saveable" and setting the Save (SV) field in any Set
Features command will result in a Feature Identifier Not Saveable status
code.
Similarly, if the Select (SEL) field is set to request saved values, the
devices will (as it should) return the default values instead.
Since this also introduces "Supported Capabilities", the nsid field is
now also checked for validity wrt. the feature being get/set'ed.
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20200706061303.246057-13-its@irrelevant.dk>
Diffstat (limited to 'stubs')
0 files changed, 0 insertions, 0 deletions