# US 2015/0178108 A1 · Fast Instantiation of Virtual Machines

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

- Number: US 2015/0178108 A1
- Document ID: US20150178108A1
- Status: Published application
- Kind: A1
- Application number: 14/136,661
- Filed: 2013-12-20
- Published: 2015-06-25
- Earliest claimed: 2013-12-20
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Gabriel Tarasuk-Levin; Jayanth Gummaraju
- Web page: https://patentgrep.com/patent/US20150178108A1

## CPC

- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The system of claim 1, wherein the processor is further programmed to obtain the virtual device state of the suspended first VM and store the obtained virtual device state in the memory.

### Claim 3 (depends on 1)

The system of claim 1, wherein the configuration data stored in the storage comprises at least one of an Internet Protocol (IP) address, a media access control (MAC) address, a hostname, or a domain identity.

### Claim 4 (depends on 1)

The system of claim 1, wherein the processor is programmed to suspend the execution of the first VM and tag the persistent storage of the suspended first VM in response to a request from a user for the second VM.

### Claim 5 (depends on 1)

The system of claim 1, wherein the processor is programmed to define the virtual device state of the second VM, define the persistent storage for the second VM, and execute the second VM to configure the identity of the second VM, in response to a request from a management level application executing on the computing device.

### Claim 6 (depends on 1)

The system of claim 1, wherein the processor is programmed to define the persistent storage for the second VM by:
creating a read-only base disk referencing the persistent storage of the first VM; and
creating a delta disk storing changes made by the second VM to the created read-only base disk.

### Claim 7

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.

### Claim 8 (depends on 7)

The method of claim 7, wherein defining the virtual device state of the second VM comprises copying the virtual device state of the suspended first VM.

### Claim 9 (depends on 7)

The method of claim 7, wherein the identity comprises at least one of an Internet Protocol (IP) address, a media access control (MAC) address, a hostname, or a domain identity.

### Claim 10 (depends on 7)

The method of claim 7, wherein defining the memory state for the second VM comprises creating copy-on-write (COW) sharing of the memory state of the suspended first VM.

### Claim 11 (depends on 7)

The method of claim 7, wherein defining the persistent storage for the second VM comprises creating a delta disk referencing the persistent storage of the suspended first VM.

### Claim 12 (depends on 7)

The method of claim 7, wherein defining the persistent storage for the second VM comprises using array-level disk snapshots of the suspended first VM.

### Claim 13 (depends on 7)

The method of claim 7, wherein configuring the identity of the second VM comprises executing the second VM, the second VM customizing itself during bootup.

### Claim 14 (depends on 7)

The method of claim 7, further comprising accessing the configuration data associated with the second VM, the configuration data being registered with virtualization software executing on the computing device.

### Claim 15 (depends on 7)

The method of claim 7, wherein defining the virtual device state of the second VM comprises defining, based on a virtual device state of a suspended parent VM, a virtual device state of a child VM.

### Claim 16

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.

### Claim 17 (depends on 16)

The computer storage media of claim 16, wherein the computer-executable instructions cause the processor to configure the identity of the second VM by configuring a boot process of the second VM, the second VM performing the boot process to configure the identity of the second VM.

### Claim 18 (depends on 16)

The computer storage media of claim 16, wherein the computer-executable instructions further cause the processor to create the plurality of domain identities prior to defining the virtual device state of the second VM and prior to defining the persistent storage for the second VM.

### Claim 19 (depends on 16)

The computer storage media of claim 16, wherein the computer-executable instructions further cause the processor block completion of bootup of the second VM until after the identity is applied to the second VM.

### Claim 20 (depends on 16)

The computer storage media of claim 16, wherein computer-executable instructions further cause the processor to suspend the first VM by quiescing the first VM.
