Patent ID: 9081612
Filing Date: 2015-07-14
Classification: G06F

Abstract:
1. A virtual machine control method for a physical machine including a CPU, a memory, and a multi-queue I/O device containing one or more physical queues that operates a virtualization unit to create virtual machines, the control method comprising: a first step of generating, by a virtualization unit, a virtual machine by assigning memory regions; a second step of providing, by the virtualization unit, a virtual multi-queue I/O device containing one or more virtual queues to the virtual machine; a third step of starting, by the virtual machine, usage of the one or more virtual queues; a fourth step of assigning, by the virtualization unit, the physical queues to the one or more virtual queues whose usage has started; and a fifth step of allowing, by the virtualization unit, the assigned physical queues for direct access to the memory regions on the virtual machine, wherein the fourth step further includes: a sixth step of deciding, by the virtualization unit, whether the number of virtual queues whose usage has started, exceeds the number of physical queues contained in the multi-queue I/O device; a seventh step of acquiring, by the virtualization unit, a communication quantity of the one or more virtual queues; and an eighth step of reassigning the physical queues to the one or more virtual queues in a descending order of communication quantity, when the number of virtual queues whose usage has started exceeds the number of physical queues contained in the multi-queue I/O device.