Processing

Please wait...

Settings

Settings

Goto Application

1. CN111381926 - Virtualization method and device

Office
China
Application Number 201811612722.7
Application Date 27.12.2018
Publication Number 111381926
Publication Date 07.07.2020
Publication Kind A
IPC
G06F 9/455
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
G06F 12/0831
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
12Accessing, addressing or allocating within memory systems or architectures
02Addressing or allocation; Relocation
08in hierarchically structured memory systems, e.g. virtual memory systems
0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
0806Multiuser, multiprocessor or multiprocessing cache systems
0815Cache consistency protocols
0831using a bus scheme, e.g. with bus monitoring or watching means
CPC
G06F 9/45558
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
45533Hypervisors; Virtual machine monitors
45558Hypervisor-specific management and integration aspects
G06F 12/0835
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
12Accessing, addressing or allocating within memory systems or architectures
02Addressing or allocation; Relocation
08in hierarchically structured memory systems, e.g. virtual memory systems
0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
0806Multiuser, multiprocessor or multiprocessing cache systems
0815Cache consistency protocols
0831using a bus scheme, e.g. with bus monitoring or watching means
0835for main memory peripheral accesses (e.g. I/O or DMA)
G06F 2009/4557
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
45533Hypervisors; Virtual machine monitors
45558Hypervisor-specific management and integration aspects
4557Distribution of virtual machine instances; Migration and load balancing
G06F 3/06
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
3Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
06Digital input from or digital output to record carriers ; , e.g. RAID, emulated record carriers, networked record carriers
G06F 9/455
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
9Arrangements for program control, e.g. control units
06using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
44Arrangements for executing specific programs
455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
G06F 12/0831
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
12Accessing, addressing or allocating within memory systems or architectures
02Addressing or allocation; Relocation
08in hierarchically structured memory systems, e.g. virtual memory systems
0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
0806Multiuser, multiprocessor or multiprocessing cache systems
0815Cache consistency protocols
0831using a bus scheme, e.g. with bus monitoring or watching means
Applicants ZTE CORPORATION
中兴通讯股份有限公司
Inventors LI YI
李翌
PENG HAO
彭浩
Agents 北京安信方达知识产权代理有限公司 11262
北京安信方达知识产权代理有限公司 11262
Title
(EN) Virtualization method and device
(ZH) 一种虚拟化方法和装置
Abstract
(EN)
The embodiment of the invention discloses a virtualization method and device. The method comprises the steps that: an NVMe-Blk driver of a virtual machine distributes a first DMA memory from a virtualNVMe direct memory access (DMA) memory management region when an application of the virtual machine transmits a preset request, wherein the first DMA memory comprises a second DMA memory of a submission queue of an input/output IO queue and a third DMA memory of a completion queue; the NVMe-Blk driver constructs a submission queue item according to the HPA of the second DMA memory, and notifies the NVMe device of a host to process the preset request; and the NVMe-Blk driver reads response information in the completion queue. According to the embodiments of the invention, direct access to theNVMe device is realized through the NVMe-Blk driver, and the participation of the host is reduced, so that the efficient IO operation of the virtual machine is realized, a CPU does not need to be occupied, virtualization loss is reduced, specific NVMe equipment hardware does not need to be supported, and relatively good universality is achieved.

(ZH)
本发明实施例公开了一种虚拟化方法和装置,包括:当虚拟机的应用发出预定请求时,虚拟机的NVMe‑Blk驱动从虚拟NVMe直接内存存取DMA内存管理区中分配第一DMA内存;其中,第一DMA内存包括输入输出IO队列的提交队列的第二DMA内存和完成队列的第三DMA内存;NVMe‑Blk驱动根据第二DMA内存的HPA构建提交队列项,通知主机的NVMe设备处理所述预定请求;NVMe‑Blk驱动读取完成队列中的回应信息。本发明实施例通过NVMe‑Blk驱动实现对NVMe设备的直接访问,减少了主机的参与,从而实现虚拟机的高效IO操作,并且不需要占用CPU,降低了虚拟化的损耗,且无需支持特定的NVMe设备硬件,具有较好的通用性。

Related patent documents