VIRTUAL MACHINE CONTEXT MANAGEMENT
First Claim
1. A method performed by a physical computing system, the method comprising:
- with a hypervisor, detecting a halt instruction for execution on a virtual processor of a virtual machine;
with a physical processor, exiting a context of the virtual machine to a context of the hypervisor;
before occurrence of an event intended to take the virtual processor out of a halt state, re-entering the context of the virtual machine in response to determining that there are no instructions pending execution on the physical processor, the instructions being outside the context of the virtual machine.
1 Assignment
0 Petitions
Accused Products
Abstract
According to one example, a method performed by a physical computing system includes, with a hypervisor, detecting that a guest system running on a virtual machine has executed a halt instruction for a virtual processor of the virtual machine. The method further includes, with a physical processor, switching from a context of the virtual machine to a context of the hypervisor. The method further includes re-entering the context of the virtual machine in response to determining that there are no tasks pending for processes outside the context of the virtual machine, the processes being for execution by the physical processor.
10 Citations
20 Claims
-
1. A method performed by a physical computing system, the method comprising:
-
with a hypervisor, detecting a halt instruction for execution on a virtual processor of a virtual machine; with a physical processor, exiting a context of the virtual machine to a context of the hypervisor; before occurrence of an event intended to take the virtual processor out of a halt state, re-entering the context of the virtual machine in response to determining that there are no instructions pending execution on the physical processor, the instructions being outside the context of the virtual machine. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computing system comprising:
-
a processor; and a memory comprising computer readable instructions that when executed by the processor, cause the system to; run a hypervisor to host a virtual machine; detect a halt instruction for execution by a virtual processor; cause the processor to exit a context of the virtual machine; determine that there are no pending instructions for execution by the processor; and re-enter the context of the virtual machine. - View Dependent Claims (13, 14, 15, 16, 17)
-
-
18. A method performed by a physical computing system, the method comprising:
-
with a hypervisor, detecting that a guest system running on a virtual machine has provided a halt instruction for execution on a virtual processor of the virtual machine; with a physical processor of the physical system, switching from a context of the virtual machine to a context of the hypervisor; and re-entering the context of the virtual machine in response to determining that; interrupts are enabled; and there are no instructions pending for processes outside the context of the virtual machine, the processes being for execution by the physical processor. - View Dependent Claims (19, 20)
-
Specification