# US 2015/0178110 A1 · State Customization of Forked 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/0178110 A1
- Document ID: US20150178110A1
- Status: Published application
- Kind: A1
- Application number: 14/136,741
- Filed: 2013-12-20
- Published: 2015-06-25
- Earliest claimed: 2013-12-20
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Hui Li; Gabriel Tarasuk-Levin; Jayanth Gummaraju; Daniel James Beveridge
- Web page: https://patentgrep.com/patent/US20150178110A1

## 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. A computing device initiates execution of a first group of services (e.g., identity-independent) in a first VM. A second VM is instantiated from the first VM. The second VM shares memory and storage with the first VM. The computing device customizes the second VM based on configuration data associated with the second VM. A second group of services (e.g., identity-dependent) starts executing on the second VM after configuring the identity of the second VM. Customizing the second VM includes configuring one or more identities of the second VM. In some embodiments, a domain identity is selected from a pool of previously-created identities and applied to the second VM, before bootup completes on the second VM.

## Claims

### Claim 1

A system for creating customized, forked virtual machines (VMs) with with identity-based differentiation of services, said system comprising:
memory associated with a computing device, said memory storing a virtual device state and a memory state of a parent virtual machine (VM);
storage for the parent VM, said storage further including configuration data for at least one child VM, said storage further identifying identity-independent services and identity-dependent services; and
a processor programmed to:
initiate execution of the identity-independent services in the parent VM;
instantiate the child VM from the parent VM, wherein the child VM shares memory and storage with the parent VM;
configure an identity of the child VM based on the configuration data associated with the child VM; and
initiate execution of the identity-dependent services in the child VM after configuring the identity of the child VM, wherein execution of the identity-dependent services occurs without prompting a reboot of the child VM.

### Claim 2 (depends on 1)

The system of claim 1, wherein the storage further includes a plurality of domain identities, and wherein configuring the identity of the child VM comprises:
selecting one of the plurality of domain identities from the storage; and
applying, before the child VM completes a boot process, the selected one of the plurality of domain identities to the child VM.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processor is programmed to instantiate the child VM from the parent VM by:
tagging the storage of the parent VM as copy-on-write (COW); and
tagging the memory state of the parent VM as COW.

### Claim 4 (depends on 3)

The system of claim 3, wherein the processor is programmed to suspend execution of the parent VM, tag the storage as COW, and tag the memory state as COW in response to a request from at least one of a user or a management level application.

### Claim 5 (depends on 3)

The system of claim 3, wherein the memory state of the parent VM is read-only, and wherein the processor is further programmed to store changes, made by the child VM to the read-only memory state of the parent VM, as delta memory.

### Claim 6 (depends on 1)

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

### Claim 7

A method for reboot-free identity customization of instantiated virtual machines, the method comprising:
initiating, by a computing device, execution of a first group of services in a first virtual machine (VM);
instantiating a second VM from the first VM, wherein the second VM shares memory and storage with the first VM;
configuring, by the computing device, an identity of the second VM based on configuration data associated with the second VM; and
initiating execution of a second group of services in the second VM after configuring the identity of the second VM, wherein execution of the second group of services occurs without prompting a reboot of the second VM.

### Claim 8 (depends on 7)

The method of claim 7, wherein configuring the identity of the second VM comprises applying one of a plurality of pre-configured domain identities to the second VM before the second VM completes a boot process.

### Claim 9 (depends on 7)

The method of claim 7, wherein the first group of services is identity dependent and the second group of services is identity independent.

### Claim 10 (depends on 7)

The method of claim 7, further comprising receiving, from a service provider, identification of the first group of services and identification of the second group of services.

### Claim 11 (depends on 7)

The method of claim 7, wherein instantiating a second VM from the first VM comprises:
suspending the first VM;
defining, based on a virtual device state of the suspended first VM, a virtual device state of the second VM;
defining, based on a memory state of the suspended first VM, a memory state of the second VM; and
defining persistent storage for the second VM based on persistent storage of the suspended first VM.

### Claim 12 (depends on 11)

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

### Claim 13 (depends on 11)

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

### Claim 14 (depends on 11)

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

### Claim 15 (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 16 (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 17

One or more computer-readable storage media including computer-executable instructions that, when executed, cause at least one processor to configure an identity of a forked virtual machine (VM) based on a pool of available domain identities, by:
initiating, by a computing device, execution of a first group of services in a first virtual machine (VM);
instantiating a second VM from the first VM, wherein the second VM shares memory and storage with the first VM;
configuring an identity of the second VM based on configuration data associated with the second VM by:
obtaining, by the second VM, one of a plurality of domain identities available to the second VM, and
applying the obtained one of the plurality of domain identities to the second VM; and
initiating execution of a second group of services in the second VM after configuring the identity of the second VM, wherein execution of the second group of services occurs without prompting a reboot of the second VM.

### Claim 18 (depends on 17)

The computer storage media of claim 17, 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 19 (depends on 17)

The computer storage media of claim 17, 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 20 (depends on 17)

The computer storage media of claim 17, wherein the computer-executable instructions further cause the processor block completion of bootup of the second VM until after the obtained one of the plurality of domain identities is applied to the second VM.
