# US 9,354,858 B2 · Desktop image management for virtual desktops using on-demand stub creation

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

- Number: US 9,354,858 B2
- Document ID: US9354858B2
- Status: Granted
- Kind: B2
- Application number: 14/176,011
- Filed: 2014-02-07
- Published: 2015-08-13
- Granted: 2016-05-31
- Earliest claimed: 2014-02-07
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Tal Zamir; Leonid Vasetsky
- Web page: https://patentgrep.com/patent/US9354858B2

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 9/452: {Remote windowing, e.g. X-Window System, desktop virtualisation (protocols for virtual reality H04L67/131)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 16/188: Virtual file systems
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G06F 2009/45579: {I/O management, e.g. providing access to device drivers or storage}
- 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. On a first request to open the directory containing the files on the VM, corresponding stub files are created on-demand for each file in the single instance store. The stub files are marked to indicate that they are mapped to the single instance store. Subsequently, 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 efficient management of virtual desktop images, said method comprising:
receiving an update for a virtual machine hosted on a host server device, the update including a plurality of files, the host server device hosting a plurality of other virtual machines and including a single instance store;
storing the plurality of files of the update in the single instance store on the host server device;
creating a directory corresponding to the update on the virtual machine, the directory being empty of content;
intercepting a request to open the directory, the request received from an application executing on a guest operating system on the virtual machine;
in response to intercepting the request:
creating one or more stub files in the directory corresponding the plurality of files in the single instance store before the request to open the directory is completed, each stub file being empty of content; and
mapping each of the one or more stub files to the corresponding plurality of files in the single instance store;
wherein a subsequent read request on the one or more stub files returns the content of the one of the plurality of files in the single instance store.

### Claim 2 (depends on 1)

The method of claim 1, wherein the request to open the directory is intercepted by an agent operating on the virtual machine, the agent configured to create the one or more stub files.

### Claim 3 (depends on 1)

The method of claim 1, wherein creating the one or more stub files in the directory further comprises:
creating one or more subdirectories in the directory, the subdirectories being empty of content.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
intercepting a request to open the one or more subdirectories; and
creating one or more stub files in the one or more subdirectories before the request to open the one or more subdirectories is completed.

### Claim 5 (depends on 1)

The method of claim 1, wherein the update further comprises an application layer including one or more files, registry, drivers and virtual devices.

### Claim 6 (depends on 1)

The method of claim 1, wherein the single instance store is maintained in at least one of: random access memory (RAM) or solid state drive (SSD) of the host server device.

### Claim 7 (depends on 1)

The method of claim 1, wherein a virtual disk layer of the host server device maps the subsequent read request to the content in the single instance store.

### Claim 8

A system for efficient management of virtual desktop images, the system comprising:
one or more processors; and
memory storing instructions that when executed by the one or more processors, cause the one or more processors to:
receive an update for a virtual machine hosted on a host server device, the update including a plurality of files, the host server device hosting a plurality of other virtual machines and including a single instance store;
store the plurality of files of the update in the single instance store on the host server device;
create a directory corresponding to the update on the virtual machine, the directory being empty of content;
intercept a request to open the directory, the request received from an application executing on a guest operating system on the virtual machine;
in response to intercepting the request:
create one or more stub files in the directory corresponding the plurality of files in the single instance store before the request to open the directory is completed, each stub file being empty of content; and
map each of the one or more stub files to the corresponding plurality of files in the single instance store;
wherein a subsequent read request on the one or more stub files returns the content of the one of the plurality of files in the single instance store.

### Claim 9 (depends on 8)

The system of claim 8, wherein the request to open the directory is intercepted by an agent operating on the virtual machine, the agent configured to create the one or more stub files.

### Claim 10 (depends on 8)

The system of claim 8, wherein creating the one or more stub files in the directory further comprises:
creating one or more subdirectories in the directory, the subdirectories being empty of content.

### Claim 11 (depends on 10)

The system of claim 10, the memory further comprising instructions to cause the one or more processors to:
intercept a request to open the one or more subdirectories; and
create one or more stub files in the one or more subdirectories before the request to open the one or more subdirectories is completed.

### Claim 12 (depends on 8)

The system of claim 8, wherein the update further comprises an application layer including one or more files, registry, drivers and virtual devices.

### Claim 13 (depends on 8)

The system of claim 8, wherein the single instance store is maintained in at least one of: random access memory (RAM) or solid state drive (SSD) of the host server device.

### Claim 14 (depends on 8)

The system of claim 8, wherein a virtual disk layer of the host server device maps the subsequent read request to the content 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 an update for a virtual machine hosted on a host server device, the update including a plurality of files, the host server device hosting a plurality of other virtual machines and including a single instance store;
storing the plurality of files of the update in the single instance store on the host server device;
creating a directory corresponding to the update on the virtual machine, the directory being empty of content;
intercepting a request to open the directory, the request received from an application executing on a guest operating system on the virtual machine;
in response to intercepting the request:
creating one or more stub files in the directory corresponding the plurality of files in the single instance store before the request to open the directory is completed, each stub file being empty of content; and
mapping each of the one or more stub files to the corresponding plurality of files in the single instance store;
wherein a subsequent read request on the one or more stub files returns the content of the one of the plurality of files in the single instance store.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the request to open the directory is intercepted by an agent operating on the virtual machine, the agent configured to create the one or more stub files.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein creating the one or more stub files in the directory further comprises:
creating one or more subdirectories in the directory, the subdirectories being empty of content.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, further comprising instructions to cause the one or more processors to:
intercept a request to open the one or more subdirectories; and
create one or more stub files in the one or more subdirectories before the request to open the one or more subdirectories is completed.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the update further comprises an application layer including one or more files, registry, drivers and virtual devices.

### Claim 20 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the single instance store is maintained in at least one of: random access memory (RAM) or solid state drive (SSD) of the host server device.
