Providing support for single stepping a virtual machine in a virtual machine environment
First Claim
Patent Images
1. A method comprising:
- receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM);
determining that a single-stepping indicator is set to a single stepping value; and
in response to determining that the single-stepping indicator is set to the single stepping value, automatically performing single stepping of the VM bytransitioning control to the VM, andif an execution of a first instruction in the VM completes successfully, transitioning control to the VMM following the successful completion of the execution of the first instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods and systems to provide support for single stepping a virtual machine in a virtual machine environment are disclosed. An exemplary method may include receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM), determining that a single-stepping indicator is set to a single stepping value, and transitioning control to the VM. Further, if an execution of a first instruction in the VM completes successfully, control is transitioned to the VMM following the successful completion of the execution of the first instruction.
236 Citations
30 Claims
-
1. A method comprising:
-
receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM); determining that a single-stepping indicator is set to a single stepping value; and in response to determining that the single-stepping indicator is set to the single stepping value, automatically performing single stepping of the VM by transitioning control to the VM, and if an execution of a first instruction in the VM completes successfully, transitioning control to the VMM following the successful completion of the execution of the first instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. An apparatus comprising:
-
a data structure controlled by a virtual machine monitor (VMM), the data structure storing a single stepping indicator; and a single stepping logic component to receive a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM), to determine that the single-stepping indicator is set to a single stepping value, and to perform single-stepping of the VM in response to determining that the single-stepping indicator is set to the single stepping value, the single stepping logic component is to perform the single-stepping by transitioning control to the VM, and, if an execution of a first instruction in the VM completes successfully, transitioning control to the VMM following the successful execution of the first instruction. - View Dependent Claims (20, 21, 22)
-
-
23. A system comprising:
-
a memory to store one or more indicators; and a processor, coupled to the memory, to use the one or more indicators to determine that single stepping of a virtual machine (VM) is indicated, and to automatically perform single-stepping of the VM in response to determining that the single stepping is indicated, the processor is to perform the single-stepping by executing a first instruction in the VM, and, if the execution of the first instruction completes successfully, transitioning control to a virtual machine monitor (VMM) following the successful completion of the execution of the first instruction. - View Dependent Claims (24, 25, 26)
-
-
27. An article of manufacture comprising a machine-readable storage medium containing instructions which, when executed by a processing system, cause the processing system to perform a method, the method comprising:
-
receiving a request to transition control to a virtual machine (VM) from a virtual machine monitor (VMM); determining that a single-stepping indicator is set to a single stepping value; and in response to determining that the single-stepping indicator is set to the single-stepping value, automatically performing single stepping of the VM by transitioning control to the VM, and if an execution of a first instruction in the VM completes successfully, transitioning control to the VMM following the successful completion of the execution of the first instruction. - View Dependent Claims (28, 29, 30)
-
Specification