Patent ID: 8276151

Claim:
A method of determining a running status of a logical processor of an information processing system, the method comprising: allocating a physical processor to a first logical processor; executing a query instruction by the first logical processor running on the allocated physical processor of the information processing system for determining whether a target logical processor is running, the first logical processor and the target logical processor included among a plurality of logical processors of a logical partition on the information processing system, the information processing system comprising one or more physical processors configured to be allocated to the plurality of logical processors, the execution comprising: querying a state descriptor associated with the target logical processor to determine whether the target logical processor is currently running, the state descriptor maintained by a hypervisor and including logical partition data; returning a result to the first logical processor, the result indicating whether or not the target logical processor is currently running; determining whether a resource required for execution by the first logical processor is locked by the target logical processors based on the result indicating that the target processor is not currently running; and executing a diagnose instruction by the first logical processor based on determining that the resource required for execution by the first processor is locked by the target logical processor, the diagnose transaction causing the physical processor to be reallocated from the first logical processor to the target logical processor.