Returns number of vfs are assigned to a guest
int pci_vfs_assigned(struct pci_dev * dev);
dev
the PCI device
Returns number of VFs belonging to this device that are assigned to a guest. If device is not a physical function returns 0.