---
name: "pci_vfs_assigned"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/pci_vfs_assigned"
---

# pci\_vfs\_assigned(9)

returns number of VFs are assigned to a guest

## NAME

pci\_vfs\_assigned - returns number of VFs are assigned to a guest

## SYNOPSIS

**int pci\_vfs\_assigned(struct pci\_dev \*** *dev***);**

## ARGUMENTS

*dev*

the PCI device

## DESCRIPTION

Returns number of VFs belonging to this device that are assigned to a guest. If device is not a physical function returns 0.

## COPYRIGHT
