VIRTUAL MACHINE CONTROL DEVICE, VIRTUAL MACHINE CONTROL METHOD, AND VIRTUAL MACHINE CONTROL PROGRAM
First Claim
1. A virtual machine control device, comprising:
- a plurality of virtual machines each having an operating system that carries out scheduling of tasks to be executed according to priorities of the tasks; and
a virtual machine control unit that controls switching of the plurality of virtual machines, wherein;
each of the plurality of virtual machines includesa task execution unit that executes a switching task to perform switching processing by which a virtual machine currently in operation is switched to another virtual machine as a switching target,a priority acquisition unit that acquires a priority of a task having a highest priority among executable tasks in the currently running virtual machine, anda priority setting unit that sets the priority acquired by the priority acquisition unit of the another virtual machine to a priority of the switching task;
the task execution unit notifies the virtual machine control unit of the priority acquired by the priority acquisition unit and a switching indication to switch the virtual machine currently in operation to the another virtual machine in a case where the switching task is executed according to task scheduling by the operating system; and
the virtual machine control unit receives the priority and the switching indication notified by the task execution unit and switches the virtual machine currently in operation to the another virtual machine.
2 Assignments
0 Petitions
Accused Products
Abstract
In a case where a task execution unit (100) of a first virtual machine (10) executes a dummy task (110) according to task scheduling by an operating system, it notifies a virtual machine control unit (30) of a priority acquired by a priority acquisition unit (122) and a switching indication to switch the first virtual machine (10) currently in operation to a second virtual machine (20). The virtual machine control unit (30) receives the priority and the switching indication notified by the task execution unit (100) and switches the first virtual machine (10) currently in operation to the second virtual machine (20). According to this configuration, it becomes possible to reduce overheads needed to switch virtual machines.
109 Citations
10 Claims
-
1. A virtual machine control device, comprising:
-
a plurality of virtual machines each having an operating system that carries out scheduling of tasks to be executed according to priorities of the tasks; and a virtual machine control unit that controls switching of the plurality of virtual machines, wherein; each of the plurality of virtual machines includes a task execution unit that executes a switching task to perform switching processing by which a virtual machine currently in operation is switched to another virtual machine as a switching target, a priority acquisition unit that acquires a priority of a task having a highest priority among executable tasks in the currently running virtual machine, and a priority setting unit that sets the priority acquired by the priority acquisition unit of the another virtual machine to a priority of the switching task; the task execution unit notifies the virtual machine control unit of the priority acquired by the priority acquisition unit and a switching indication to switch the virtual machine currently in operation to the another virtual machine in a case where the switching task is executed according to task scheduling by the operating system; and the virtual machine control unit receives the priority and the switching indication notified by the task execution unit and switches the virtual machine currently in operation to the another virtual machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A virtual machine control method of controlling switching of a plurality of virtual machines each including an operation operating system that carries out scheduling of tasks to be executed according to priorities of the tasks, comprising:
-
a task executing step of executing a switching task to perform switching processing by which a virtual machine currently in operation is switched to another virtual machine as a switching target; a priority acquiring step of acquiring a priority of a task having a highest priority among executable tasks in the currently running virtual machine; a priority setting step of setting the priority acquired in the priority acquiring step by the another virtual machine to a priority of the switching task; a notifying step of notifying the priority acquired in the priority acquiring step and a switching indication to switch the virtual machine currently in operation to the another virtual machine in a case where the switching task is executed according to task scheduling by the operating system; and a switching step of receiving the priority and the switching indication notified in the notifying step and switching the virtual machine currently in operation to the another virtual machine.
-
-
10. A computer readable recording medium storing a virtual machine control program for causing a computer to function as at least:
-
a plurality of virtual machines each having an operating system that carries out scheduling of tasks to be executed according to priorities of the tasks; and a virtual machine control unit that controls switching of the plurality of virtual machines, wherein; each of the plurality of virtual machines includes a task execution unit that executes a switching task to perform switching processing by which a virtual machine currently in operation is switched to another virtual machine as a switching target, a priority acquisition unit that acquires a priority of a task having a highest priority among executable tasks in the currently running virtual machine, and a priority setting unit that sets the priority acquired by the priority acquisition unit of the another virtual machine to a priority of the switching task; the task execution unit notifies the virtual machine control unit of the priority acquired by the priority acquisition unit and a switching indication to switch the virtual machine currently in operation to the another virtual machine in a case where the switching task is executed according to task scheduling by the operating system; and the virtual machine control unit receives the priority and the switching indication notified by the task execution unit and switches the virtual machine currently in operation to the another virtual machine.
-
Specification