# US 2008/0301676 A1 · Method for Delivering, Testing, and Applying Software Patches or Other Changes to a Conventionally Installed Application in Virtual Application Containers

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

- Number: US 2008/0301676 A1
- Document ID: US20080301676A1
- Status: Published application
- Kind: A1
- Application number: 11/757,954
- Filed: 2007-06-04
- Published: 2008-12-04
- Earliest claimed: 2007-06-04
- Assignees: International Business Machines Corporation
- Inventors: Bowen Alpern; Glenn Ammons; Vasanth Bala; Todd W. Mummert; Balachandar Rajaraman; Darrell Christopher Reimer; Mark N. Wegman
- Web page: https://patentgrep.com/patent/US20080301676A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for updating an application on a host system includes steps or acts of: installing an application on the host system; installing a virtual machine monitor on the host system, installing a first virtual container on the host system, wherein the first virtual container comprises at least one update to the installed application; and instantiating the first virtual container under the virtual machine monitor in a mode wherein the host system can be accessed but not modified and wherein instantiating the first virtual container includes updating the installed application in the first virtual computer and running the updated application in the first virtual container. The method may also include a step of confirming that the updated application runs properly. Optionally, the virtual container may be devirtualized. A system for updating an application on a host system includes: at least one virtual machine monitor, at least one virtual container; at least one application; at least one update to the application contained within the at least one virtual container; and a processor configured for carrying out the above method steps. The system may also include an input multiplexer configured for mediating access to the at least one virtual container; and an output analyzer configured for confirming that the updated application performed as expected in at least one virtual container.

## Claims

### Claim 1

A method for updating an application on a host system, the method comprising steps of:
installing an application on the host system;
installing a virtual machine monitor;
installing a first virtual container on the host system, wherein the first virtual container comprises at least one update to the application; and
instantiating the first virtual container in a mode wherein the host system can be accessed but not modified and wherein instantiating the first virtual container comprises
applying the at least one update to the installed application, within the first virtual container; and
running the updated application in the first virtual container.

### Claim 2 (depends on 1)

The method of claim 1 further comprising a step of:
confirming that the updated application runs properly.

### Claim 3 (depends on 2)

The method of claim 2 wherein the step of confirming that the updated application runs properly comprises running tests from within the first virtual container.

### Claim 4 (depends on 1)

The method of claim 1 further comprising steps of:
installing a second virtual container for providing an additional update to the application; and
running the second virtual container from within the first virtual container.

### Claim 5 (depends on 1)

The method of claim 1 wherein running the updated application comprises using a copy-on-write mechanism when code in the container attempts to modify the host environment.

### Claim 6 (depends on 1)

The method of claim 1 further comprising:
installing the first and second virtual containers for two different updates, one update in each virtual container, wherein at most one of the updates contains no modifications to the application; and
running the application on the host system from within each of the virtual containers simultaneously.

### Claim 7 (depends on 6)

The method of claim 6 further comprising:
comparing the performance of the application running the two different virtual containers.

### Claim 8 (depends on 2)

The method of claim 2, further comprising a step of:
devirtualizing the virtual container.

### Claim 9 (depends on 2)

The method of claim 2 further comprising a step of:
presenting results of the confirming step to an end user.

### Claim 10 (depends on 9)

The method of claim 9 further comprising steps of:
determining a monetary cost for each virtualization; and
billing the end user for the cost.

### Claim 11 (depends on 2)

The method of claim 2 further comprising a step of:
discarding a current instance of the virtual container.

### Claim 12 (depends on 1)

The method of claim 1 wherein the step of running the updated application comprises steps of:
running the application and the updated application in tandem with input replicated between the two instances; and
comparing the output.

### Claim 13

A method of devirtualizing a virtual container into a host computer, or a designated portion thereof, the method comprising steps of:
copying a state of the virtual container into the host machine, or designated portion thereof, the copying step comprising steps of:
examining data items in the host system, or designated portion thereof, and the virtual container to determine any data items that exist in the host machine, or designated portion thereof, that do not exist in the virtual container
deleting the data items that exist in the host system, or designated portion thereof, but do not exist in the virtual container;
deleting data items of the host system, or designated portion thereof, with contents that are different from corresponding data items in the virtual container;
copying data items from the virtual container that do not exist in the host system, or designated portion thereof, to the host system, or designated portion thereof.

### Claim 14 (depends on 13)

The method of claim 13 wherein the data items comprise one or more of the following: files, Windows registry keys, environment variable values, Jar and zip-file entries.

### Claim 15 (depends on 14)

The method of claim 14 further comprising a step of:
uninstalling the virtual container from the host system.

### Claim 16 (depends on 15)

The method of claim 15 further comprising a step of:
uninstalling the virtual machine monitor from the host computer.

### Claim 17

A system for updating an application on a host system, the system comprising:
at least one virtual machine monitor,
at least one virtual container;
at least one application;
at least one update to the at least one application; and
a processor configured for:
installing the at least one application on the host system;
installing the virtual machine monitor;
installing the at least one virtual container on the host system, wherein the at least one virtual container comprises the at least one update to the at least one application;
instantiating the at least one virtual container within the virtual machine monitor in a mode wherein the host system can be accessed but not modified and wherein instantiating the at least one virtual container comprises:
applying the at least one update to the at least one application within the at least one virtual container; and
running the updated application in the at least one virtual container.

### Claim 18 (depends on 17)

The system of claim 17 wherein the virtual container is a virtual application container.

### Claim 19 (depends on 17)

The system of claim 17 further comprising:
an input multiplexer configured for mediating access to the at least one virtual container; and
an output analyzer configured for confirming that the updated application performed as expected.

### Claim 20

A computer program product embodied on a computer readable medium and comprising code that, when executed, causes a computer to perform the following:
install an application on the host system;
install a virtual machine monitor;
install a first virtual container on the host system, wherein the first virtual container comprises at least one update to the application; and
instantiate the first virtual container in a mode wherein the host system can be accessed but not modified and wherein instantiating the first virtual container comprises
applying the update, within the first virtual container, to the installed application, and
running the updated application in the first virtual container.
