# US 10,871,980 B2 · Execution of a script based on properties of a virtual device associated with a virtual machine

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,871,980 B2
- Document ID: US10871980B2
- Status: Granted
- Kind: B2
- Application number: 16/387,328
- Filed: 2019-04-17
- Published: 2019-08-08
- Granted: 2020-12-22
- Earliest claimed: 2014-02-26
- Assignees: Red Hat Israel, Ltd.
- Applicants: Red Hat Israel, Ltd.
- Inventors: Assaf Muller; Dan Kenigsberg
- Web page: https://patentgrep.com/patent/US10871980B2

## CPC

- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/485: {Task life-cycle, e.g. stopping, restarting, resuming execution (G06F9/4881 takes precedence)}
- G06F 9/5077: {Logical partitioning of resources; Management or configuration of virtualized resources (specific details on emulation or internal functioning of virtual machines G06F9/455)}
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 9/45504: {Abstract machines for program code execution, e.g. Java virtual machine [JVM], interpreters or emulators}
- G06F 9/45512: {Command shells}
- G06F 9/5027: {the resource being a machine, e.g. CPUs, Servers, Terminals}
- G06F 9/5061: {Partitioning or combining of resources}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 11/3409: {for performance assessment}
- G06F 11/366: {using diagnostics (G06F11/0703 takes precedence)}
- G06F 11/368: {for test version control, e.g. updating test cases to a new software version}
- G06F 16/10: File systems; File servers
- G06F 16/188: Virtual file systems
- G06F 2209/544: Remote
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An occurrence of an event associated with a computing device is identified. A script associated with the identified event is identified. A property of a component that is associated with the computing device is received, wherein the property includes an operating status of the component associated with the computing device. The script is executed for the computing device in view of the operating status of the component.

## Claims

### Claim 1

A method comprising:
identifying an occurrence of an event associated with a virtual machine supported by a computing device;
identifying a script associated with the identified event;
receiving a property of a component that is assigned to the virtual machine, wherein the property comprises an operating status of the component associated with the virtual machine that indicates whether the component is in a powered on or powered off state;
providing the property of the component to the script, wherein the property is to be used in execution of the script; and
executing, by a processing device, the script for the virtual machine in view of the operating status of the component.

### Claim 2 (depends on 1)

The method of claim 1, wherein the component comprises a virtual device that is assigned to the virtual machine.

### Claim 3 (depends on 1)

The method of claim 1, wherein the event comprises at least one of a stopping of the virtual machine, a start of the virtual machine, a destruction of the virtual machine, a pausing of the virtual machine, an unpausing of the virtual machine, a hibernation of the virtual machine, a de-hibernation of the virtual machine, a migration of the virtual machine or a disconnection of the component from the virtual machine.

### Claim 4 (depends on 1)

The method of claim 1, wherein the script is determined to be executed if a value of the property of the component assigned to the virtual machine satisfies a condition of the script.

### Claim 5 (depends on 1)

The method of claim 1, wherein the script is determined to not be executed if a value of the property of the component assigned to the virtual machine does not satisfy a condition of the script.

### Claim 6 (depends on 1)

The method of claim 1, wherein the script comprises commands associated with operations to be performed on the component assigned to the virtual machine.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
identifying a second computing device associated with the event; and
receiving a second property of a second component that is associated with the second computing device, wherein the executing of the script performs an operation on the second component if the second property of the second component satisfies a condition of the script.

### Claim 8

A system, comprising:
a memory to store a script; and
a processing device, operatively coupled with the memory, to:
identify an occurrence of an event associated with a virtual machine supported by a computing device;
identify the script associated with the identified event;
receive a property of a component that is assigned to the virtual machine, wherein the property comprises an operating status of the component associated with the virtual machine that indicates whether the component is in a powered on or powered off state;
provide the property of the component to the script, wherein the property is to be used in execution of the script; and
execute the script for the virtual machine in view of the operating status of the component.

### Claim 9 (depends on 8)

The system of claim 8, wherein the component comprises a virtual device that is assigned to the virtual machine.

### Claim 10 (depends on 8)

The system of claim 8, wherein the event comprises at least one of a stopping of the virtual machine, a start of the virtual machine, a destruction of the virtual machine, a pausing of the virtual machine, an unpausing of the virtual machine, a hibernation of the virtual machine, a de-hibernation of the virtual machine, a migration of the virtual machine or a disconnection of the component from the virtual machine.

### Claim 11 (depends on 8)

The system of claim 8, wherein the script is determined to be executed if a value of the property of the component assigned to the virtual machine satisfies a condition of the script.

### Claim 12 (depends on 8)

The system of claim 8, wherein the script is determined to not be executed if a value of the property of the component assigned to the virtual machine does not satisfy a condition of the script.

### Claim 13 (depends on 8)

The system of claim 8, wherein the script comprises commands associated with operations to be performed on the component assigned to the virtual machine.

### Claim 14 (depends on 8)

The system of claim 8, wherein the processing device is further to:
identify a second computing device associated with the event; and
receive a second property of a second component that is associated with the second computing device, wherein the executing of the script performs an operation on the second component if the second property of the second component satisfies a condition of the script.

### Claim 15

A non-transitory machine-readable storage medium comprising data that, when accessed by a processing device, cause the processing device to:
identify an occurrence of an event associated with a virtual machine supported by a computing device;
identify a script associated with the identified event;
receive a property of a component that is assigned to the virtual machine, wherein the property comprises an operating status of the component associated with the virtual machine that indicates whether the component is in a powered on or powered off state;
provide the property of the component to the script, wherein the property is to be used in execution of the script; and
execute, by the processing device, the script for the virtual machine in view of the operating status of the component.

### Claim 16 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the component comprises a virtual device that is assigned to the virtual machine.

### Claim 17 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the event comprises at least one of a stopping of the virtual machine, a start of the virtual machine, a destruction of the virtual machine, a pausing of the virtual machine, an unpausing of the virtual machine, a hibernation of the virtual machine, a de-hibernation of the virtual machine, a migration of the virtual machine or a disconnection of the component from the virtual machine.

### Claim 18 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the script is determined to be executed if a value of the property of the component assigned to the virtual machine satisfies a condition of the script.

### Claim 19 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the script comprises commands associated with operations to be performed on the component assigned to the virtual machine.

### Claim 20 (depends on 15)

The non-transitory machine-readable storage medium of claim 15, wherein the processing device is further to:
identify a second computing device associated with the event; and
receive a second property of a second component that is associated with the second computing device, wherein the executing of the script performs an operation on the second component if the second property of the second component satisfies a condition of the script.
