发明名称 VIRTUAL COMPUTER SYSTEM AND I/O IMPLEMENTING METHOD IN VIRTUAL COMPUTER
摘要 An OS on a virtual computer at the (n+m)-th stage (n and m represent natural numbers) is caused to recognize a device driver that runs on an OS on the n-th stage virtual computer.;Specifically, a shared region is generated in a memory, and the OS at the second stage is caused to recognize, in a pass-through manner, the device driver that runs on the OS at the second stage.
申请公布号 US2014317619(A1) 申请公布日期 2014.10.23
申请号 US201414254581 申请日期 2014.04.16
申请人 Hitachi, Ltd. 发明人 TAJIMA Sachie;UENO Hitoshi
分类号 G06F9/455 主分类号 G06F9/455
代理机构 代理人
主权项 1. A virtual computer system comprising: a physical computer including a central processing unit and a physical memory; a first virtualization mechanism that operates on the physical computer to provide a first virtual computer; a second virtualization mechanism that operates on the first virtual computer to provide a second virtual computer; and a device connected to the physical computer, wherein a driver generating mechanism I included in the first virtual computer loads a driver I allocated to the first virtual computer into a first virtual memory allocated to the first virtual computer, the driver generating mechanism I stores, as controller information, an identifier of the device which is allocated to the first virtual computer, the driver generating mechanism I generates a shared region I in a region of the first virtual memory into which the driver I is loaded, the driver generating mechanism I stores an identifier of the device which is allocated to the first virtual computer and an address of the shared region I in address management information correspondingly to the driver I, the driver generating mechanism I transmits the address management information to the first virtualization mechanism, a driver generating mechanism A included in the first virtualization mechanism acquires an identifier of the device which is allocated to the first virtual computer by referring to the address management information received from the driver generating mechanism I, the driver generating mechanism A converts the identifier of the device which is allocated to the first virtual computer to an identifier of the device which is recognizable by the first virtualization mechanism, the driver generating mechanism A loads, into the physical memory, a driver A of the device which corresponds to the identifier of the device which is recognizable by the first virtualization mechanism, the driver generating mechanism A acquires an address of the shared region I which corresponds to the identifier of the device, to which the first virtual computer is allocated, the driver generating mechanism A converts the acquired address of the shared region I to an address of a shared region A which is recognizable by the first virtualization mechanism, the driver generating mechanism A generates a shared region A whose address has been converted to an address recognizable by the first virtualization mechanism, in a region of the physical memory in which the driver A is loaded, the driver generating mechanism I searches for the address management information by using the identifier stored in the controller information, when an identifier included in the address management information and the identifier stored in the controller information are identical to each other, the driver generating mechanism I acquires an address of the shared region I which corresponds to the identical identifiers, the driver generating mechanism I converts the acquired address of the shared region I to an address of a shared region II which is recognizable by the second virtual computer, the driver generating mechanism I transmits the converted address of the shared region II to the second virtual computer, the second virtual computer uses, as a driver II of the second virtual computer, a driver of the device, which corresponds to an interruption received from the first virtual computer, the second virtual computer stores, in the driver II, the address of the shared region II which is received from the driver generating mechanism I, a driver II of the second virtual computer receives an I/O executing request of the second virtual computer, the driver II of the second virtual computer stores the received I/O executing request in the shared region II, the first virtualization mechanism refers to the shared region A, which corresponds to the shared region II, by storing the I/O executing request in the shared region II, the first virtualization mechanism executes the I/O executing request for the device which is allocated to the first virtual computer, the first virtualization mechanism transmits completion of executing the I/O executing request to the driver I, the driver I of the first virtual computer transmits the completion of executing the I/O executing request received from the first virtual computer to the driver II, and the driver II of the second virtual computer receives the completion of executing the I/O executing request from the driver I.
地址 Tokyo JP