IP Library Granted Patent US 12,001,870
Granted Patent B2
US 12,001,870 · App. 17/214,108 · Granted Jun 4, 2024

Injection and execution of workloads into virtual machines

Inventor: Cleber Rosa Junior (Manchester, NH)
Assignee: RED HAT. INC.
G06F9/45558G06F9/505G06F9/5077G06F2009/4557G06F2009/45575G06F2009/45595
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,001,870
App. No.
17/214,108
Granted
Jun 4, 2024
Kind
B2
Abstract

A system includes a processor in communication with a memory, a virtual machine running on the processor, and a hypervisor. The hypervisor is configured to receive a workload definition file (“WDF”). The WDF is associated with a workload, and the WDF is packaged such that the WDF is configured to generate a workload definition device (“WDD”). Additionally, the hypervisor is configured to receive a request to deploy the WDD within the virtual machine. The request includes the WDF. The hypervisor is also configured to deploy the WDD within the virtual machine. The WDD is configured to automatically execute the workload responsive to meeting at least one execution criteria.

Claims (56)

1. A system comprising:

a processor in communication with a memory;

a virtual machine running on the processor; and

a hypervisor configured to:

receive a workload definition file (“WDF”), wherein

the WDF is associated with a workload, and

the WDF is packaged such that the WDF is configured to generate a workload definition device (“WDD”);

receive a request to deploy the WDD within the virtual machine, wherein the request includes the WDF, wherein the virtual machine is a pre-existing virtual machine that is running at a time the request is received, and wherein the virtual machine is in an initial state at the time the request is received; and

deploy the WDD within the virtual machine, wherein the WDD is configured to automatically execute the workload responsive to meeting at least one execution criteria wherein the hypervisor is configured to deploy the WDD within the virtual machine by:

locating the virtual machine according to the request, and

attaching the WDD to the virtual machine, wherein the virtual machine is in a workload execution state after the WDD is attached.

2. The system of claim 1 , wherein the WDD is configured to automatically execute without further interaction between an agent and the WDD.

3. The system of claim 2 , wherein the agent is at least one of the hypervisor, an owner of the virtual machine, and a proxy representing a client or customer.

4. The system of claim 1 , wherein the WDD is an output device.

5. The system of claim 4 , wherein the WDD is configured to:

record an output generated by the workload; and

send the output to a receiver.

6. The system of claim 1 , wherein the WDD is a block device with a file system containing at least one executable and at least one supporting file.

7. The system of claim 1 , wherein the at least one execution criteria includes at least one of (i) the WDD is a first type, (ii) the WDD includes a predetermined identifier marking the WDD as a workload candidate, (iii) the WDD includes a file system having authentication data that binds the WDD to the virtual machine, and (iv) the WDD includes a workload executable entry point.

8. The system of claim 1 , wherein the WDD is configured to close responsive to the workload completing execution.

9. A method comprising:

receiving, by a hypervisor, a workload definition file (“WDF”), wherein

the WDF is associated with a workload, and

the WDF is packaged such that the WDF is configured to generate a workload definition device (“WDD”);

receiving, by the hypervisor, a request to deploy the WDD within a virtual machine, wherein the request includes the WDF, wherein the virtual machine is a pre-existing virtual machine that is running at a time the request is received, and wherein the virtual machine is in an initial state at the time the request is received; and

deploying, by the hypervisor, the WDD within the virtual machine, wherein the WDD is configured to automatically execute the workload responsive to meeting at least one execution criteria, wherein deploying, by the hypervisor, the WDD within the virtual machine includes:

locating, by the hypervisor, the virtual machine, according to the request, and

attaching, by the hypervisor, the WDD to the virtual machine, wherein the virtual machine is in a workload execution state after the WDD is attached.

10. The method of claim 9 , wherein deploying the WDD within the virtual machine includes:

creating, by the hypervisor, the virtual machine according to the request, and

attaching, by the hypervisor, the WDD to the virtual machine.

11. The method of claim 10 , further comprising:

responsive to the workload completing execution, closing the WDD; and

shutting down, by the hypervisor, the virtual machine after the WDD closes.

12. The method of claim 9 , further comprising:

responsive to the workload completing execution, closing the WDD; and

restoring the virtual machine back to the initial state.

13. The method of claim 12 , further comprising:

receiving, by the hypervisor, a second request to deploy a second WDD within the virtual machine;

confirming, by the hypervisor, the virtual machine is in the initial state; and

deploying, by the hypervisor, the second WDD within the virtual machine.

14. The method of claim 9 , wherein the hypervisor deploys the WDD and the WDD automatically executes without further interaction between an agent and the WDD.

15. The method of claim 14 , wherein the agent is at least one of the hypervisor, an owner of the virtual machine, and a proxy representing a client or customer.

16. The method of claim 9 , further comprising:

recording, by the WDD, an output generated by the workload; and

sending, by the WDD, the output to a receiver.

17. The method of claim 9 , wherein the at least one execution criteria includes at least one of (i) the WDD is a first type, (ii) the WDD includes a predetermined identifier marking the WDD as a workload candidate, (iii) the WDD includes a file system having authentication data that binds the WDD to the virtual machine, and (iv) the WDD includes a workload executable entry point.

18. The method of claim 9 , further comprising:

responsive to the workload completing execution, closing the WDD; and

shutting down, by the hypervisor, the virtual machine after the WDD closes.

19. A non-transitory machine-readable medium storing code, which when executed by a processor is configured to:

receive a workload definition file (“WDF”), wherein the WDF is associated with a workload, and the WDF is packaged such that the WDF is configured to generate a workload definition device (“WDD”);

receive a request to deploy the WDD within a virtual machine, wherein the request includes the WDF, wherein the virtual machine is a pre-existing virtual machine that is running at a time the request is received, and wherein the virtual machine is in an initial state at the time the request is received; and

deploy the WDD within the virtual machine, wherein the WDD is configured to automatically execute the workload responsive to meeting at least one execution criteria, wherein deploy the WDD within the virtual machine includes:

locate the virtual machine, according to the request, and

attach the WDD to the virtual machine, wherein the virtual machine is in a workload execution state after the WDD is attached.

Assignments (3)
CHANGE OF NAME Recorded Mar 3, 2026
From: RED HAT, INC.
To: RED HAT, LLC
Reel/Frame 074913/0759 →
CORRECTIVE ASSIGNMENT TO CORRECT THE CORRECT THE ASSIGNOR DOC DATE PREVIOUSLY RECORDED AT REEL: 055737 FRAME: 0920. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Apr 1, 2021
From: JUNIOR, CLEBER ROSA
To: RED HAT, INC.
Reel/Frame 055797/0792 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2021
From: JUNIOR, CLEBER ROSA
To: RED HAT, INC.
Reel/Frame 055737/0920 →
Continuity (1)
Related Publication 20220308907A1 · Sep 29, 2022
Cited By (1)
US 12,360,822