freebsd-dev/sys/dev/nvme
Wanpeng Qian 8ab99dbea1
bhyve: abort and return FEATURE_NOT_SAVEABLE while set feature with a save flag for NVMe controller.
Currently bhyve's NVMe controller cannot save feature values cross
reboot. It should return a FEATURE_NOT_SAVEABLE error when the command
specifies a save flag.

Quote from NVMe specification, page 205:

https://nvmexpress.org/wp-content/uploads/NVM-Express-1_4-2019.06.10-Ratified.pdf

If the Feature Identifier specified in the Set Features command is not
saveable by the controller and the controller receives a Set Features
command with the Save bit set to one, then the command shall be aborted
with a status of Feature Identifier Not Saveable.

Reviewed by:		chuck (older version)
Approved by:		manu (mentor)
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D32767
2022-11-15 07:48:24 +01:00
..
nvme_ahci.c nvme: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:55 -07:00
nvme_ctrlr_cmd.c
nvme_ctrlr.c nvmw(4): Fix a typo in a source code comment 2022-06-04 11:46:03 +02:00
nvme_ns_cmd.c
nvme_ns.c nvme: Prefer nvme_printf to printf when reporting formatting error 2022-04-15 14:46:19 -06:00
nvme_pci.c Add random VMware device IDs. 2022-10-20 10:19:24 -04:00
nvme_private.h nvme: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:46:55 -07:00
nvme_qpair.c nvme: Always set deadline to max 2022-10-11 12:51:32 -06:00
nvme_sim.c nvme_sim: Only report PCI related stats when we can 2021-12-06 10:23:40 -07:00
nvme_sysctl.c nvme: Publish the drive's capabilities 2022-03-31 21:13:16 -06:00
nvme_test.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme_util.c nvme: clean up empty lines in .c and .h files 2020-09-01 22:03:10 +00:00
nvme.c nvme: Print CRD, M and DNR status bits on errors. 2022-08-05 10:58:19 -04:00
nvme.h bhyve: abort and return FEATURE_NOT_SAVEABLE while set feature with a save flag for NVMe controller. 2022-11-15 07:48:24 +01:00