[libvirt] [PATCH] network: better validation of devices in hostdev network pool

Michal Privoznik mprivozn at redhat.com
Mon Mar 27 15:40:09 UTC 2017


On 25.03.2017 19:00, Laine Stump wrote:
> This adds a few validations to the devices listed for a hostdev network:
>
> * devices must be listed by PCI address, not by netdev name
>
> * listing a device by PCI address is valid only for hostdev networks, not
>   for other types of network (e.g. macvtap passthrough).
>
> * each device in a hostdev pool must be an SR-IOV VF
>
> Resolves: https://bugzilla.redhat.com/1004676
> ---
>  src/network/bridge_driver.c | 47 ++++++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 44 insertions(+), 3 deletions(-)

ACK

Michal




More information about the libvir-list mailing list