NVME solid state disk simulation method

The invention relates to the field of hard disk testing, in particular to an NVME testing method. According to the method, firstly, a virtual NVME kernel module is compiled, the virtual NVME kernel module simulates and realizes a virtual PCIE bus and a virtual PCIE device and simulates and realizes...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DUAN HAOQIANG, QIAO ZILONG, WU BIN, WANG PU
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the field of hard disk testing, in particular to an NVME testing method. According to the method, firstly, a virtual NVME kernel module is compiled, the virtual NVME kernel module simulates and realizes a virtual PCIE bus and a virtual PCIE device and simulates and realizes a PCIE device configuration space, and the virtual PCIE device is identified as an NVME device. The method comprises the following steps that: firstly, a PCIE (Peripheral Component Interconnect Express) bus and PCIE equipment are configured in a virtual equipment configuration space, then a system interface is called, the virtual PCIE bus and the PCIE equipment are added into a PCIE bus tree of a system, and when a PCIE subsystem executes bus scanning operation and detects that the equipment type in the virtual equipment configuration space is NVME, a driving program of the NVME is called to initialize the virtual PCIE equipment. The method is closer to a simulation environment of real physical equipment, an FIO to