# US 2018/0324191 A1 · Configuration management for virtual machine environment

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

- Number: US 2018/0324191 A1
- Document ID: US20180324191A1
- Status: Published application
- Kind: A1
- Application number: 16/038,679
- Filed: 2018-07-18
- Published: 2018-11-08
- Earliest claimed: 2015-06-11
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sanehiro Furuichi; Takahito Tashiro
- Web page: https://patentgrep.com/patent/US20180324191A1

## CPC

- H04L 63/107: {wherein the security policies are location-dependent, e.g. entities privileges depend on current location or allowing specific operations only from locally connected terminals}
- H04L 41/0816: the condition being an adaptation, e.g. in response to network events
- H04L 41/085: Retrieval of network configuration; Tracking network configuration history
- H04L 41/0866: Checking the configuration
- H04L 63/0876: {based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/10: {for controlling access to devices or network resources}
- H04L 63/105: {Multiple levels of security}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer-implemented method for controlling a connection between a virtual machine and a physical device comprises receiving a connection request for connecting the physical device to the virtual machine and determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition. In response to a determination that the virtual machine does not satisfy the first connection permission condition, a configuration of the virtual machine is changed to satisfy the first connection permission condition. In response to a determination that the physical device does not satisfy the second connection permission condition, a configuration of the physical device is changed to satisfy the second connection permission condition. In response to a determination that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition, the received connection request is accepted.

## Claims

### Claim 1

A computer-implemented method for controlling a connection between a virtual machine and a physical device, the method comprising:
receiving a connection request for connecting the physical device to the virtual machine;
determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition, wherein the second connection permission condition comprises a context of the physical device comprising a location of the physical device and a current time;
determining that the physical device does not satisfy the second connection permission condition;
changing a configuration of the physical device to satisfy the second connection permission condition;
determining that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition; and
accepting the connection request and connecting the physical device to the virtual machine.

### Claim 2 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
determining that the context of the physical device does not satisfy the second connection permission condition; and
rejecting the connection request.

### Claim 3 (depends on 1)

The computer-implemented method according to claim 1, wherein the method further comprises:
in response to connecting the physical device and the virtual machine, dynamically detecting a change in the context of the physical device;
determining that the dynamically detected change does not satisfy the second connection permission condition; and
disconnecting the virtual machine and the physical device.

### Claim 4 (depends on 1)

The computer-implemented method according to claim 1, further comprising:
in response to receiving the connection request, obtaining a latest configuration and a latest context of each of the virtual machine and the physical device.

### Claim 5 (depends on 4)

The computer-implemented method according to claim 4, wherein determining whether the virtual machine satisfies the first connection permission condition and whether the physical device satisfies the second connection permission condition further comprises:
determining whether the latest configuration of the virtual machine and the latest context of the virtual machine satisfy the first connection permission condition; and
determining whether the latest configuration of the physical device and the latest context of the physical device satisfy the second connection permission condition.

### Claim 6 (depends on 1)

The computer-implemented method according to claim 1, wherein the first connection permission condition comprises a configuration of the virtual machine and a context of the virtual machine, wherein the configuration of the virtual machine is distinct from the context of the virtual machine.

### Claim 7 (depends on 1)

The computer-implemented method according to claim 1, wherein the configuration of the virtual machine comprises a security setting, and wherein the context of the virtual machine comprises a progress of a process performed by the virtual machine.

### Claim 8

A computer system for controlling a connection between a virtual machine and a physical device, the computer system comprising:
a processor; and
a computer readable storage medium storing program instructions executable by the processor to cause the processor to perform a method comprising:
receiving a connection request for connecting the physical device to the virtual machine;
determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition, wherein the second connection permission condition comprises a context of the physical device comprising a location of the physical device and a current time;
determining that the physical device does not satisfy the second connection permission condition;
changing a configuration of the physical device to satisfy the second connection permission condition;
determining that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition; and
accepting the connection request and connecting the physical device to the virtual machine.

### Claim 9 (depends on 8)

The computer system according to claim 8, further comprising:
determining that the context of the physical device does not satisfy the second connection permission condition; and
rejecting the connection request.

### Claim 10 (depends on 8)

The computer system according to claim 8, wherein the method further comprises:
in response to connecting the physical device and the virtual machine, dynamically detecting a change in the context of the physical device;
determining that the dynamically detected change does not satisfy the second connection permission condition; and
disconnecting the virtual machine and the physical device.

### Claim 11 (depends on 8)

The computer system according to claim 8, further comprising:
in response to receiving the connection request, obtaining a latest configuration and a latest context of each of the virtual machine and the physical device.

### Claim 12 (depends on 11)

The computer system according to claim 11, wherein determining whether the virtual machine satisfies the first connection permission condition and whether the physical device satisfies the second connection permission condition further comprises:
determining whether the latest configuration of the virtual machine and the latest context of the virtual machine satisfy the first connection permission condition; and
determining whether the latest configuration of the physical device and the latest context of the physical device satisfy the second connection permission condition.

### Claim 13 (depends on 8)

The computer system according to claim 8, wherein the first connection permission condition comprises a configuration of the virtual machine and a context of the virtual machine, wherein the configuration of the virtual machine is distinct from the context of the virtual machine.

### Claim 14 (depends on 8)

The computer system according to claim 8, wherein the configuration of the virtual machine comprises a security setting, and wherein the context of the virtual machine comprises a progress of a process performed by the virtual machine.

### Claim 15

A computer program product for controlling a connection between a virtual machine and a physical device, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor perform a method comprising:
receiving a connection request for connecting the physical device to the virtual machine;
determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition, wherein the second connection permission condition comprises a context of the physical device comprising a location of the physical device and a current time;
determining that the physical device does not satisfy the second connection permission condition;
changing a configuration of the physical device to satisfy the second connection permission condition;
determining that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition; and
accepting the connection request and connecting the physical device to the virtual machine.

### Claim 16 (depends on 15)

The computer program product according to claim 15, wherein the program instructions are further configured to cause the processor to perform a method further comprising:
determining that the context of the physical device does not satisfy the second connection permission condition; and
rejecting the connection request.

### Claim 17 (depends on 15)

The computer program product according to claim 15, wherein the program instructions are further configured to cause the processor to perform a method further comprising:
in response to connecting the physical device and the virtual machine, dynamically detecting a change in the context of the physical device;
determining that the dynamically detected change does not satisfy the second connection permission condition; and
disconnecting the virtual machine and the physical device.

### Claim 18 (depends on 15)

The computer program product according to claim 15, wherein the program instructions are further configured to cause the processor to perform a method further comprising:
in response to receiving the connection request, obtaining a latest configuration and a latest context of each of the virtual machine and the physical device.

### Claim 19 (depends on 18)

The computer program product according to claim 18, wherein the program instructions are further configured to cause the processor to perform a method further comprising:
determining whether the latest configuration of the virtual machine and the latest context of the virtual machine satisfy the first connection permission condition; and
determining whether the latest configuration of the physical device and the latest context of the physical device satisfy the second connection permission condition.

### Claim 20

A computer-implemented method for controlling a connection between a virtual machine and a physical device, the method comprising:
receiving a connection request for connecting the physical device to the virtual machine;
determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition;
wherein an access control policy is associated with the second connection permission condition such that, in response to the physical device being in a first area, the physical device is allowed to execute an application for accessing confidential information and a first printer is set as a default printer for the physical device;
determining that the physical device does not satisfy the second connection permission condition;
changing a configuration of the physical device to satisfy the second connection permission condition by setting a second printer as the default printer and prohibiting execution of the application in response to the physical device being located outside the first area;
determining that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition; and
accepting the connection request and connecting the physical device to the virtual machine.

### Claim 21 (depends on 20)

The method according to claim 20, wherein the second connection permission condition comprises a configuration of the physical device and a context of the physical device comprising a location of the physical device and a current time.

### Claim 22 (depends on 20)

The method according to claim 20, further comprising:
in response to connecting the physical device and the virtual machine, dynamically detecting a change in a context of the physical device; and
determining that the dynamically detected change does not satisfy the second connection permission condition; and
disconnecting the virtual machine and the physical device.

### Claim 23

A computer program product for controlling a connection between a virtual machine and a physical device, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a processor to cause the processor to perform a method comprising:
receiving a connection request for connecting the physical device to the virtual machine;
determining whether the virtual machine satisfies a first connection permission condition and whether the physical device satisfies a second connection permission condition;
wherein an access control policy is associated with the second connection permission condition such that, in response to the physical device being in a first area, the physical device is allowed to execute an application for accessing confidential information and a first printer is set as a default printer for the physical device;
determining that the physical device does not satisfy the second connection permission condition;
changing a configuration of the physical device to satisfy the second connection permission condition by setting a second printer as the default printer and prohibiting execution of the application in response to the physical device being located outside the first area;
determining that the virtual machine satisfies the first connection permission condition and that the physical device satisfies the second connection permission condition; and
accepting the connection request and connecting the physical device to the virtual machine.

### Claim 24 (depends on 23)

The computer program product according to claim 23, wherein the second connection permission condition comprises a configuration of the physical device and a context of the physical device comprising a location of the physical device and a current time.

### Claim 25 (depends on 23)

The computer program product according to claim 23, further comprising:
in response to connecting the physical device and the virtual machine, dynamically detecting a change in a context of the physical device; and
determining that the dynamically detected change does not satisfy the second connection permission condition; and
disconnecting the virtual machine and the physical device.
