'Update PCI usage information if devices are de/allocated.'

def update_pci_for_instance(self, context, instance, sign):

    if (not self.pci_devs):
        return
    if (sign == (-1)):
        self.free_instance(context, instance)
    if (sign == 1):
        self.allocate_instance(instance)
