MANAGEMENT OF DEVICE IDENTIFIERS ACROSS VIRTUALIZED ENVIRONMENTS
First Claim
Patent Images
1. A method comprising:
- a first of a plurality of virtual operating system instances requesting a device identifier for a device to be configured by the first virtual operating system instance within an execution space of the first virtual operating system instance;
accessing a device identifier data structure maintained in a kernel space and determining a device identifier that is available based, at least in part, on the device identifier data structure;
recording an indication in the device identifier data structure that the device identifier is no longer available;
returning the device identifier to the first virtual operating system instance; and
the first virtual operating system instance assigning the device identifier to the device.
1 Assignment
0 Petitions
Accused Products
Abstract
A first of a plurality of virtual operating system instances requests a device identifier for a device to be configured by the first virtual operating system instance within an execution space of the first virtual operating system instance. In response, a device identifier data structure maintained in a kernel space is accessed, and a device identifier that is available is determined. An indication in the device identifier data structure that the device identifier is no longer available is recorded. The device identifier is returned from the kernel space to the first virtual operating system instance. The first virtual operating system instance assigns the device identifier to the device.
-
Citations
20 Claims
-
1. A method comprising:
-
a first of a plurality of virtual operating system instances requesting a device identifier for a device to be configured by the first virtual operating system instance within an execution space of the first virtual operating system instance; accessing a device identifier data structure maintained in a kernel space and determining a device identifier that is available based, at least in part, on the device identifier data structure; recording an indication in the device identifier data structure that the device identifier is no longer available; returning the device identifier to the first virtual operating system instance; and the first virtual operating system instance assigning the device identifier to the device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 12)
-
- 10. The method of 1, wherein said determining the device identifier that is available based, at least in part, on the device identifier data structure comprises generating a device minor number that is not indicated in the device identifier data structure.
-
13. A computer program product for generating and tracking device identifiers within kernel space for a plurality of virtual operating system instances that share a kernel, the computer program product comprising:
a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; a first computer readable program code configured to restrict a second computer readable program code to execute within an execution space allocated to a first of a the plurality of virtual operating system instances; the second computer readable program code configured to request a device identifier for a device to be configured by the first virtual operating system instance within the execution space of the first virtual operating system instance; and a third computer readable program code configured to, maintain in the kernel space a device identifier data structure that tracks device identifiers allocated to the plurality of virtual operating system instances, access the device identifier data structure to determine a device identifier that is available, generate the device identifier based, at least in part, on the device identifier data structure, record an indication in the device identifier data structure that the device identifier is no longer available, return the device identifier to the first virtual operating system instance. - View Dependent Claims (14, 15, 16, 17, 18)
-
19. An apparatus comprising:
-
a processor; and a computer readable storage medium having computer readable program code embodied therewith, the computer readable program code comprising; a first computer readable program code configured to restrict a second computer readable program code to execute within an execution space allocated to a first of a the plurality of virtual operating system instances; the second computer readable program code configured to request a device identifier for a device to be configured by the first virtual operating system instance within the execution space of the first virtual operating system instance; and a third computer readable program code configured to, maintain in the kernel space a device identifier data structure that tracks device identifiers allocated to the plurality of virtual operating system instances, access the device identifier data structure to determine a device identifier that is available, generate the device identifier based, at least in part, on the device identifier data structure, record an indication in the device identifier data structure that the device identifier is no longer available, return the device identifier to the first virtual operating system instance. - View Dependent Claims (20)
-
Specification