summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorÍñigo Huguet <ihuguet@redhat.com>2021-06-21 17:32:37 +0200
committerDavid S. Miller <davem@davemloft.net>2021-06-22 18:51:13 +0200
commit9a022e76500e8ce86dbce83c7856cf59820dce24 (patch)
tree9a3f0888789c187147a9396ea24de6846845ecb3 /drivers/rtc
parentsfc: error code if SRIOV cannot be disabled (diff)
downloadlinux-9a022e76500e8ce86dbce83c7856cf59820dce24.tar.xz
linux-9a022e76500e8ce86dbce83c7856cf59820dce24.zip
sfc: explain that "attached" VFs only refer to Xen
During SRIOV disabling it is checked wether any VF is currently attached to a guest, using pci_vfs_assigned function. However, this check only works with VFs attached with Xen, not with vfio/KVM. Added comments clarifying this point. Also, replaced manual check of PCI_DEV_FLAGS_ASSIGNED flag and used the helper function pci_is_dev_assigned instead. Signed-off-by: Íñigo Huguet <ihuguet@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions