Fast Instantiation of Virtual Machines
AssigneeVMware, Inc.
InventorsGabriel Tarasuk-Levin, Jayanth Gummaraju
Life of this patent
Estimating the term…
Abstract
Embodiments support instant forking of virtual machines (VMs) and state customization. Virtual device state and persistent storage of a child VM are defined based on virtual device state and persistent storage of parent VMs. After forking, a state of the child VM is customized based on configuration data. Customizing the state includes configuring one or more identities of the child VM, before bootup completes on the child VM.
Claims20
A system for creating customized, forked virtual machines (VMs), said system comprising:
- memory associated with a computing device, said memory storing a virtual device state and a memory state of a suspended first VM;
- storage for the first VM, said storage further including configuration data for a second VM;
- and
- a processor programmed to:
- suspend execution of the first VM;
- tag the persistent storage of the suspended first VM as copy-on-write (COW);
- define a virtual device state of the second VM based on the virtual device state of the suspended first VM;
- define a memory state of the second VM based on the memory state of the suspended first VM;
- define persistent storage for the second VM based on the persistent storage of the first VM;
- and
- execute the second VM to configure an identity of the second VM based on the configuration data.
A method comprising:
- defining, by a computing device based on a virtual device state of a suspended first virtual machine (VM), a virtual device state of a second VM;
- defining a memory state for the second VM based on a memory state of the suspended first VM;
- defining persistent storage for the second VM based on persistent storage of the suspended first VM;
- and
- configuring, by the computing device, an identity of the second VM based on configuration data associated with the second VM.
One or more computer-readable storage media including computer-executable instructions that, when executed, cause at least one processor to fork a virtual machine (VM) and configure an identity thereof, by:
- defining, by a computing device based on a virtual device state of a suspended first VM, a virtual device state of a second VM;
- defining persistent storage for the second VM based on persistent storage of the suspended first VM;
- and
- configuring an identity of the second VM based on configuration data associated with the second VM.
Dependencies are inferred from the claim text.