# US 2016/0253167 A1 · Desktop image management for virtual desktops

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

- Number: US 2016/0253167 A1
- Document ID: US20160253167A1
- Status: Published application
- Kind: A1
- Application number: 15/149,306
- Filed: 2016-05-09
- Published: 2016-09-01
- Earliest claimed: 2014-02-07
- Assignees: VMware, Inc.
- Applicants: VMWare, Inc.
- Inventors: Tal Zamir; Leonid Vasetsky
- Web page: https://patentgrep.com/patent/US20160253167A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 67/08: specially adapted for terminal emulation, e.g. Telnet
- H04L 67/131: Protocols for games, networked simulations or virtual reality
- G06F 9/45533: {Hypervisors; Virtual machine monitors}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A desktop image management system is described that can efficiently distribute updates to virtual desktops running on host servers in a data center. The system is comprised of a central server and multiple agents, each agent installed on a virtual machine. When a VM receives an update from the central server, the files are stored in a single instance store on the host server. The agent running on the VM then creates a corresponding stub file (empty of content) on the VM for each file in the single instance store. The agent further marks the stub file to indicate that the stub file is mapped to the single instance store. When the guest operating system requests to read the stub file, the virtual disk layer of the host server detects that the requested block has been marked and fetches the content of the file from the single instance store.

## Claims

### Claim 1

A method for distributing updates in virtual desktop environments, the method comprising:
receiving a request to apply an application layer to two or more virtual machines executing on a host computing device, the application layer including a set of files and registry entries that comprise an application;
storing content of the application layer in a single instance store that resides on physical storage associated with the host computing device;
generating one or more stubs corresponding to the content of the application layer on virtual disks of each of said two or more virtual machines; and
marking metadata of each stub on each virtual disk to indicate that the content of the stub resides in the single instance store.

### Claim 2 (depends on 1)

The method of claim 1, wherein the storing, generating and marking are performed by an agent on each virtual machine, wherein the agent is configured to download the content of the application layer from a central server.

### Claim 3 (depends on 1)

The method of claim 1, wherein the single instance store stores a single copy of each unique block of the content of the application layer, and wherein the host computing device is operating virtualization software that includes a virtual disk layer that manages access to the virtual disks of the virtual machines.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
receiving, by the virtual disk layer, a read operation to access a block of a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determining that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
providing, the guest operating system with access to the requested block in the single instance store.

### Claim 5 (depends on 3)

The method of claim 3, further comprising:
receiving, by the virtual disk layer, a request to write a block to a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determining that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
writing the block to the virtual disk of the virtual machine; and
removing the marking of the metadata of the block to indicate that the block is no longer stored in the single instance store.

### Claim 6 (depends on 5)

The method of claim 5, further comprising:
receiving a subsequent request to read the block after the marking of the metadata has been removed to indicate that the block is no longer stored in the single instance store;
providing access to the content of the block in the virtual disk of the virtual machine instead of the single instance store.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
storing the one or more stubs in a dedicated staging area on a virtual machine;
shutting down the virtual machine to finish applying the application layer after the one or more stubs are in the dedicated staging area; and
upon reboot of the virtual machine, creating mappings between the stubs and the corresponding logical offsets of files or blocks in the single instance store.

### Claim 8

A computing device, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing device to:
receive a request to apply an application layer to two or more virtual machines executing on a host computing device, the application layer including a set of files and registry entries that comprise an application;
store content of the application layer in a single instance store that resides on physical storage associated with the host computing device;
generate one or more stubs corresponding to the content of the application layer on virtual disks of each of said two or more virtual machines; and
mark metadata of each stub on each virtual disk to indicate that the content of the stub resides in the single instance store.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the storing, generating and marking are performed by an agent on each virtual machine, wherein the agent is configured to download the content of the application layer from a central server.

### Claim 10 (depends on 8)

The computing device of claim 8, wherein the single instance store stores a single copy of each unique block of the content of the application layer, and wherein the host computing device is operating virtualization software that includes a virtual disk layer that manages access to the virtual disks of the virtual machines.

### Claim 11 (depends on 10)

The computing device of claim 10, the memory further comprising instructions that, when executed by the at least one processor, cause the computing device to:
receive, by the virtual disk layer, a read operation to access a block of a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determine that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
provide, the guest operating system with access to the requested block in the single instance store.

### Claim 12 (depends on 10)

The computing device of claim 10, the memory further comprising instructions that, when executed by the at least one processor, cause the computing device to:
receive, by the virtual disk layer, a request to write a block to a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determine that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
write the block to the virtual disk of the virtual machine; and
remove the marking of the metadata of the block to indicate that the block is no longer stored in the single instance store.

### Claim 13 (depends on 12)

The computing device of claim 12, the memory further comprising instructions that, when executed by the at least one processor, cause the computing device to:
receive a subsequent request to read the block after the marking of the metadata has been removed to indicate that the block is no longer stored in the single instance store;
provide access to the content of the block in the virtual disk of the virtual machine instead of the single instance store.

### Claim 14 (depends on 8)

The computing device of claim 8, the memory further comprising instructions that, when executed by the at least one processor, cause the computing device to:
store the one or more stubs in a dedicated staging area on a virtual machine;
shut down the virtual machine to finish applying the application layer after the one or more stubs are in the dedicated staging area; and
upon reboot of the virtual machine, create mappings between the stubs and the corresponding logical offsets of files or blocks in the single instance store.

### Claim 15

A non-transitory computer readable storage medium comprising one or more sequences of instructions, the instructions when executed by one or more processors causing the one or more processors to execute the operations of:
receiving a request to apply an application layer to two or more virtual machines executing on a host computing device, the application layer including a set of files and registry entries that comprise an application;
storing content of the application layer in a single instance store that resides on physical storage associated with the host computing device;
generating one or more stubs corresponding to the content of the application layer on virtual disks of each of said two or more virtual machines; and
marking metadata of each stub on each virtual disk to indicate that the content of the stub resides in the single instance store.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the storing, generating and marking are performed by an agent on each virtual machine, wherein the agent is configured to download the content of the application layer from a central server.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the single instance store stores a single copy of each unique block of the content of the application layer, and wherein the host computing device is operating virtualization software that includes a virtual disk layer that manages access to the virtual disks of the virtual machines.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, further comprising instructions executed by one or more processors to cause the one or more processors to execute the operations of:
receiving, by the virtual disk layer, a read operation to access a block of a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determining that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
providing, the guest operating system with access to the requested block in the single instance store.

### Claim 19 (depends on 17)

The non-transitory computer readable storage medium of claim 17, further comprising instructions executed by one or more processors to cause the one or more processors to execute the operations of:
receiving, by the virtual disk layer, a request to write a block to a stub on a virtual disk of a virtual machine, wherein the read operation is received from a guest operating system of the virtual machine;
determining that the block of the stub is stored in the single instance store based on the metadata marked for the stub; and
writing the block to the virtual disk of the virtual machine; and
removing the marking of the metadata of the block to indicate that the block is no longer stored in the single instance store.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, further comprising instructions executed by one or more processors to cause the one or more processors to execute the operations of:
receiving a subsequent request to read the block after the marking of the metadata has been removed to indicate that the block is no longer stored in the single instance store;
providing access to the content of the block in the virtual disk of the virtual machine instead of the single instance store.
