Patent ID: 7376948

Claim:
A method of changing the state of a resource resident in a logically-partitioned computer of the type including a plurality of partitions managed by a partition manager, the method comprising: in a first partition among the plurality of partitions, generating a request to perform a state change operation for a resource resident in the logically-partitioned computer, the request including a correlation token indicating whether an asynchronous notification should be generated upon completion of the state change operation for the resource; attempting to perform the state change operation in the partition manager in response to the request, including: returning a synchronous notification to the first partition in response to receiving the request, the synchronous notification indicating one of an invalid request, in progress, successful completion, and unsuccessful completion status for the state change operation; and returning an asynchronous notification to the first partition upon completion of the state change operation only if the state change operation was still in progress when the synchronous notification was generated and the correlation token indicates that an asynchronous notification should be generated, the asynchronous notification identifying the correlation token to correlate the asynchronous notification with the request; and in the first partition, if the correlation token indicates that an asynchronous notification should not be generated, periodically polling the partition manager by generating additional requests to perform the state change operation until a synchronous notification returned in response thereto does not indicate an in progress status for the state change operation.