Execution of a script based on properties of a virtual device associated with a virtual machine
First Claim
Patent Images
1. A method comprising:
- identifying a first type of event of a plurality of types of events occurring on a virtual machine being supported by a host system, each of the plurality of types of events being different from each other of the plurality of types of events;
identifying a location of the host system that is associated with the identified first type of event that has occurred with the virtual machine provided by the host system;
identifying a script corresponding to the identified first type of event and at the location of the host system that is associated with the identified first type of event, wherein the script is configured to be executed in accordance with the first type of event of the plurality of types of events;
receiving a property of a virtual device that is assigned to the virtual machine, wherein the property comprises an operating status of the virtual device assigned to the virtual machine;
determining, by a processing device, whether to execute the script for the virtual machine in view of the property of the virtual device that is assigned to the virtual machine satisfying a condition in the script; and
in response to determining that a value of the property of the virtual device that is assigned to the virtual machine satisfies the condition in the script, executing the script in accordance with the first type of event to perform an operation on the virtual device of the virtual machine in view of a property of the host system.
1 Assignment
0 Petitions
Accused Products
Abstract
An event associated with a virtual machine may be identified. Furthermore, a script associated with the event may be identified. A property of a virtual device that is assigned to the virtual machine may be received. A determination may be made to execute the script or not to execute the script for the virtual machine based on the property of the virtual device that is assigned to the virtual machine.
-
Citations
19 Claims
-
1. A method comprising:
-
identifying a first type of event of a plurality of types of events occurring on a virtual machine being supported by a host system, each of the plurality of types of events being different from each other of the plurality of types of events; identifying a location of the host system that is associated with the identified first type of event that has occurred with the virtual machine provided by the host system; identifying a script corresponding to the identified first type of event and at the location of the host system that is associated with the identified first type of event, wherein the script is configured to be executed in accordance with the first type of event of the plurality of types of events; receiving a property of a virtual device that is assigned to the virtual machine, wherein the property comprises an operating status of the virtual device assigned to the virtual machine; determining, by a processing device, whether to execute the script for the virtual machine in view of the property of the virtual device that is assigned to the virtual machine satisfying a condition in the script; and in response to determining that a value of the property of the virtual device that is assigned to the virtual machine satisfies the condition in the script, executing the script in accordance with the first type of event to perform an operation on the virtual device of the virtual machine in view of a property of the host system. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system, comprising:
-
a memory to store a script; and a processing device, operatively coupled with the memory, to; identify a first type of event of a plurality of types of events occurring on a virtual machine being supported by a host system, each of the plurality of types of events being different from each other of the plurality of types of events; identify a location of the host system that is associated with the identified first type of event that has occurred with the virtual machine provided by the host system; identify a script corresponding to the identified first type of event and at the location of the host system that is associated with the identified first type of event, wherein the script is configured to be executed in accordance with the first type of event of the plurality of types of events; receive a property of a virtual device that is assigned to the virtual machine, wherein the property comprises an operating status of the virtual device assigned to the virtual machine; determine whether to execute the script for the virtual machine in view of the property of the virtual device that is assigned to the virtual machine satisfying a condition in the script; and in response to determining that a value of the property of the virtual device that is assigned to the virtual machine satisfies the condition in the script, execute the script in accordance with the first type of event to perform an operation on the virtual device of the virtual machine in view of a property of the host system. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A non-transitory machine-readable storage medium comprising data that, when accessed by a processing device, cause the processing device to:
-
identify a first type of event of a plurality of types of events occurring on a virtual machine being supported by a host system, each of the plurality of types of events being different from each other of the plurality of types of events; identify a location of the host system that is associated with the identified first type of event that has occurred with the virtual machine provided by the host system; identify the script corresponding to the identified first type of event and at the location of the host system that is associated with the identified first type of event, wherein the script is configured to be executed in accordance with the first type of event of the plurality of types of events; receive a property of a virtual device that is assigned to the virtual machine, wherein the property comprises an operating status of the virtual device assigned to the virtual machine; determine whether to execute the script for the virtual machine in view of the property of the virtual device that is assigned to the virtual machine satisfying a condition in the script; and in response to determining that a value of the property of the virtual device that is assigned to the virtual machine satisfies the condition in the script, execute the script in accordance with the first type of event to perform an operation on the virtual device of the virtual machine in view of a property of the host system. - View Dependent Claims (16, 17, 18, 19)
-
Specification