Patent ID: 8726276
Filing Date: 2014-05-13
Classification: G06F

Abstract:
1. A computer implemented method, comprising: receiving, via a data processor, a reset request to reset a first virtual function of a plurality of virtual functions that are hosted by a hardware input/output adapter; identifying, via the data processor, a first logical partition that is associated with the first virtual function; determining, via the data processor, whether or not the first logical partition has initiated a shutdown operation; in response to determining that the first logical partition has initiated a shutdown operation, retrieving, via the data processor, first data corresponding to the first virtual function from a table; creating, via the data processor, a first reset virtual function structure that includes at least a portion of the first data, wherein the first reset virtual function structure includes a token that enables the first logical partition to access the first virtual function to perform at least one of an input operation and an output operation; sending, via the data processor, the first reset virtual function structure to a hypervisor to instruct the hypervisor to retrieve a first entry from the table, the first entry corresponding to the first virtual function that is associated with the token; and setting, via the data processor, a state field of the first entry to reset pending.