]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve: return FEATURE_NOT_CHANGEABLE for unimplemented feature of NVMe controller
authorWanpeng Qian <wanpengqian@gmail.com>
Mon, 14 Nov 2022 13:06:34 +0000 (14:06 +0100)
committerCorvin Köhne <corvink@FreeBSD.org>
Tue, 15 Nov 2022 06:48:25 +0000 (07:48 +0100)
commit05a21658eb15463af9427fc1f7825b2aa244b9d5
treec6bf23777903dbc9f46e6688990fc74d7a3378a2
parent8ab99dbea16728f3e34137310587a6aeb3f3d317
bhyve: return FEATURE_NOT_CHANGEABLE for unimplemented feature of NVMe controller

Set Feature is a feature specified function. Currently only some
features have the set procedure. For features that are not handled by
the controller, we should return a FEATURE_NOT_CHANGEABLE error message.

Approved by: manu (mentor)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D32802
usr.sbin/bhyve/pci_nvme.c