Title:
METHOD AND DEVICE FOR PROCESSING I/O REQUEST UNDER KVM VIRTUALIZATION
Document Type and Number:
WIPO Patent Application WO/2017/121273
Kind Code:
A1
Abstract:
Provided are a method and device for processing an I/O request under KVM virtualization. The method comprises: intercepting, by means of a kernel-based virtual machine (KVM), an I/O request transmitted by a virtual machine, and determining information of an I/O channel corresponding to the I/O request, wherein the I/O channel has a corresponding buffer zone, and the information of the I/O channel includes a file descriptor for an event notification (eventfd) (101); writing the I/O request into the buffer zone of the corresponding I/O channel (102); using the eventfd to notify the I/O channel of a corresponding user mode process (103); and in the user mode process, monitoring, according to the eventfd, an event of the corresponding I/O channel, acquiring the I/O request from the buffer zone of the corresponding I/O channel, and executing I/O simulation on the I/O request (104), wherein the user mode process includes a first device simulation process and a second device simulation process that is independent from the first device simulation process. The method can realize distribution of I/O requests in a kernel mode, and can support multiple device simulation processes for a single virtual machine, thereby improving an I/O simulation efficiency.
Inventors:
ZHANG XIANTAO (CN)
DING SHENGGE (CN)
TIAN SHUANGTAI (CN)
DING SHENGGE (CN)
TIAN SHUANGTAI (CN)
Application Number:
PCT/CN2017/070151
Publication Date:
July 20, 2017
Filing Date:
January 04, 2017
Export Citation:
Assignee:
ALIBABA GROUP HOLDING LTD (CN)
International Classes:
G06F9/455
Foreign References:
CN104503825A | 2015-04-08 | |||
CN101968746A | 2011-02-09 | |||
CN101706757A | 2010-05-12 | |||
CN104104705A | 2014-10-15 | |||
US20080104589A1 | 2008-05-01 |
Attorney, Agent or Firm:
BEIJING SANYOU INTELLECTUAL PROPERTY AGENCY LTD. (CN)
Download PDF:
Previous Patent: METHOD AND DEVICE FOR PROCESSING USER BEHAVIOR DATA
Next Patent: CALL REQUEST TRANSMISSION METHOD AND DEVICE
Next Patent: CALL REQUEST TRANSMISSION METHOD AND DEVICE