US 7,543,084 B2
Method for destroying virtual resources in a logically partitioned data processing system
Richard Louis Arndt, Austin, Tex. (US); Giora Biran, Zichron-Yaakov (Israel); Harvey Gene Kiel, Rochester, Minn. (US); Vadim Makhervaks, Austin, Tex. (US); Renato John Recio, Austin, Tex. (US); Leah Shalev, Zichron-Yaakov (Israel); and Jaya Srikrishnan, Wappingers Falls, N.Y. (US)
Assigned to International Business Machines Corporation, Armonk, N.Y. (US)
Filed on Feb. 25, 2005, as Appl. No. 11/66,096.
Prior Publication US 2006/0195619 A1, Aug. 31, 2006
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 13/00 (2006.01); G06F 3/00 (2006.01); G06F 9/46 (2006.01); G06F 12/00 (2006.01); G06F 12/10 (2006.01)
U.S. Cl. 710—8  [710/62; 710/63; 710/64; 710/72; 710/104; 718/1; 718/104; 719/319; 719/324; 713/100; 711/1; 711/6; 711/202; 711/203; 711/206; 711/207; 711/208; 711/209] 15 Claims
OG exemplary drawing
 
1. A method of resetting a particular virtual resource in a 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 virtual resources contained by the virtual adapter are identified in the physical adapter memory translation table using the unique identifier; and
manipulating the virtual 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 virtual resource, wherein the request includes a particular unique identifier that is assigned to the particular virtual resource;
conveying the request to the physical adapter by a logical partitioning manager interfacing with a memory management interface of the physical adapter; and
responsive to receipt of the request by the physical adapter;
freeing all other virtual resources that are associated with the particular virtual resource;
purging residual data from the particular virtual resource; and
resetting the particular virtual resource to its initial state.