Running virtual machines within containers
AssigneeRed Hat, Inc.
InventorsMichael Tsirkin, Amnon Ilan
Life of this patent
Estimating the term…
Abstract
System and method for running virtual machines within containers. An example method may include: running, by a host computer system, a hypervisor managing a first virtual machine implemented by a first container with a first set of resources, creating, by the hypervisor, a second container implementing the second virtual machine, wherein the second container is nested within the first container, determining, by the first virtual machine of the first container, one or more of the first set of resources to assign to the second container, and assigning, by the hypervisor, to the second container one or more of the first set of resources.
Claims18
A method comprising:
- running, by a host computer system, a hypervisor that executes a first container with a first set of resources, and wherein the first container executes a first virtual machine;
- creating, by the hypervisor, a second container executing a second virtual machine, wherein the second container is nested within the first container and the second virtual machine is a child virtual machine of the first virtual machine;
- identifying, by the first virtual machine of the first container, a second set of resources to be allocated to the second container, wherein the second set of resources is a subset of the first set of resources;
- and
- assigning, by the hypervisor, the second set of resources to the second container.
A system comprising:
- a memory device;
- a processing device operatively coupled to the memory device, to perform operations comprising:
- running, by a host computer system, a hypervisor that executes a first container with a first set of resources, and wherein the first container executes a first virtual machine;
- creating, by the hypervisor, a second container executing a second virtual machine, wherein the second container is nested within the first container and the second virtual machine is a child virtual machine of the first virtual machine;
- identifying, by the first virtual machine of the first container, a second set of resources to be allocated to the second container, wherein the second set of resources is a subset of the first set of resources;
- and
- assigning, by the hypervisor, the second set of resources to the second container.
A non-transitory machine-readable storage medium including instructions that, when accessed by a processing device, cause the processing device to:
- run, by a host computer system, a hypervisor that executes a first container with a first set of resources, and wherein the first container executes a first virtual machine;
- and
- run, by the host computer system based on a request from the first virtual machine, a second virtual machine that executes within a second container using a second set of resources identified as resources to be allocated to the second container, wherein the first virtual machine of the first container identifies the second set of resources that is a subset of the first set of resources and wherein the second virtual machine is a child virtual machine of the first virtual machine.
Dependencies are inferred from the claim text.