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

Claim:
1. A method comprising: retrieving, by a processing device executing a virtualization manager, a list of hypervisors available to the virtualization manager, wherein the list of hypervisors comprises a virtual function capability of each hypervisor on the list of hypervisors; identifying, by the virtualization manager, a hypervisor providing the virtual function capability from the list of hypervisors; selecting, by the virtualization manager, at least one physical interface that provides the virtual function capability for the identified hypervisor; determining a current number of virtual functions associated with the at least one physical interface; determining a maximum number of virtual functions associated with the at least one physical interface; receiving, by the virtualization manager, a request to change the current number of virtual functions associated with the at least one physical interface to a modified number of virtual functions; responsive to determining that the modified number of virtual functions is not greater than the maximum number of virtual functions for the at least one physical interface, configuring, by the virtualization manager, the at least one physical interface with the modified number; and responsive to determining that at least one virtual function associated with the at least one physical interface has been assigned to a virtual machine or attached to another device, rejecting the request to change the current number of virtual functions.