Re: [libvirt] [PATCHv2] netdev: fail when setting up an SRIOV VF if PF is offline

2015-05-23 Thread Martin Kletzander
On Fri, May 15, 2015 at 03:04:14PM -0400, Laine Stump wrote: If an SRIOV PF is offline, the kernel won't complain if you set the mac address and vlan tag for a VF via this PF, and it will even let you assign the VF to a guest using PCI device assignment or macvtap passthrough. But in this case

[libvirt] [PATCHv2] netdev: fail when setting up an SRIOV VF if PF is offline

2015-05-15 Thread Laine Stump
If an SRIOV PF is offline, the kernel won't complain if you set the mac address and vlan tag for a VF via this PF, and it will even let you assign the VF to a guest using PCI device assignment or macvtap passthrough. But in this case (the PF isn't online), the device won't be usable in the guest.