Patent ID: 9720775
Date: 2017-08-01
CPC Classifications: G06F

Claim:
1. A system for implementing concurrent adapter firmware update of a shared adapter in a virtualized computer system comprising: a Single Root Input/Output Virtualization (SRIOV) capable adapter provided for the shared adapter in the virtualized computer system; the SRIOV adapter comprising a plurality of virtual functions (VFs) for sharing by multiple system partitions; a processor; a hypervisor managing functions associated with the SRIOV adapter; an adapter driver provided with said hypervisor to update adapter firmware concurrent with normal I/O operations; said processor using said hypervisor to perform the steps of: detecting virtual functions (VFs) configured and operating, responsive to configuration data stored in a scratchpad buffer; loading an updated adapter firmware image to the SRIOV adapter concurrently with ongoing VF operations; initiating an enhanced error handling (EEH) recovery process, and freezing the identified VFs configured and operating; responsive to completing the EEH recovery with the adapter driver, restarting the adapter using the new updated adapter firmware; and responsive to restarting the SRIOV adapter, using the new updated adapter firmware, unfreezing the identified VFs with VFs device drivers, and completing the EEH recovery process.