Method for virtual adapter destruction on a physical adapter that supports virtual adapters
AssigneeInternational Business Machines Corporation
InventorsRichard Louis Arndt, Giora Biran, Harvey Gene Kiel, Vadim Makhervaks, Renato John Recio, Leah Shalev, Jaya Srikrishnan
Life of this patent
Estimating the term…
Abstract
A method for directly destroying the resources associated with one or more virtual adapters that reside within a physical adapter is provided. A mechanism is provided for directly destroying the resources associated with one or more virtual adapters that reside within a physical adapter, such as a PCI, PCI-X, or PCI-E adapter.
Claims6
A method of destroying a virtual adapter in a logically partitioned data processing system that includes a plurality of different system images, each one of the plurality of system images independently executing its own operating system, the method comprising the computer implemented steps of:
- creating a physical host memory translation table in a host memory, wherein the physical host memory translation table includes a plurality of sets of system image pages, and further wherein each one of the plurality of sets of system image pages is mapped to a corresponding one of a plurality of virtual adapters in a physical adapter;
- creating a physical adapter memory translation table in the physical adapter, wherein the physical adapter memory translation table includes a plurality of sets of virtual adapter memory locations and an association of each one of the plurality of sets of virtual adapter memory locations with a corresponding one of the plurality of system images;
- for each one of the plurality of virtual adapters:
- assigning a unique identifier to the virtual adapter, wherein resources contained by the virtual adapter is identified in the physical adapter memory translation table using the unique identifier;
- and
- collectively manipulating the resources contained by the virtual adapter using only the unique identifier that identifies the virtual adapter;
- invoking, by a particular one of the plurality of system images, a request to destroy a particular one of the plurality of virtual adapters that is associated with the particular one of the plurality of system images, wherein the request includes a particular unique identifier that is assigned to the particular one of the plurality of virtual adapters;
- conveying the request to the physical adapter;
- and
- responsive to receipt of the request by the physical adapter, destroying the particular one of the plurality of virtual adapters by freeing resources contained by the particular one of the plurality of virtual adapters on the physical adapter, wherein any data in the resources contained by the particular one of the plurality of virtual adapters is purged when said resources are freed.
Dependencies are inferred from the claim text.