SELF-TEST is a optional feature for NVMe controller.
this patch will implement this feature.
for Short test, it will last 1 minute.
for Extended test, it will last 5 minutes.
SELF-TEST do nothing internal.
Differential D32831
bhyve: implement SELF-TEST feature for NVMe controller wanpengqian_gmail.com on Nov 4 2021, 11:51 AM. Authored by Tags None Referenced Files
Details SELF-TEST is a optional feature for NVMe controller. for Short test, it will last 1 minute. SELF-TEST do nothing internal. within FreeBSD/Linux guest,
Diff Detail
Event Timeline
Comment Actions Can you help me understand the value to a guest operating system for supporting self-test? Is any of that value negated because the implementation does not perform any testing or checks? Comment Actions When I implement self-test enhancement for /sbin/nvmecontrol D32832 , I don't want to use my real hardware for testing since such tests will probably harm my hardware. so a virtual NVMe controller which supports self-test is a good choice. Comment Actions While I agree that using emulated hardware to test drivers and system tools is useful, I'm concerned about adding synthetic functionality to the core code. Comment Actions For hypervisors, performance and functionality are two important goals. In the virtual machines view, there is no synthetic functionality or real functionality. it's all virtual. If we want to support more functionalities, it must be synthetic other than real. Comment Actions I apologize if my word choice was poor. By "synthetic", I meant the emulation would appear to perform a self-test, but in fact would not perform any tests at all. How would this benefit a guest? I don't quite understand the comments about performance vs. functionality. The goal for the NVMe emulation is to provide good performance and the functionality guests require. If you can point to guests that require the self-test functionality, I'd be interested in understanding their requirements. |