<div dir="ltr">Hi <span style="white-space:pre-wrap">Fuzail</span>, <div><br><div>Even there are  8 VFs in total, you only specified 2 in the hostnet network. </div><div>And <span style="white-space:pre-wrap">connections='2' means the hostnet networks is connected 2 times, so both of the 2 VFs in hostnet  are occupied.</span></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Please try to define network like this:</div><div><network><br>  <name>hostnet</name><br>  <forward mode='passthrough'  managed='yes'><br><pf dev='ens2'/> <br></forward><br></network></div><div>It will include all the 8 VFs from PF ens2. </div><div><br></div><div>-------<br>Best Regards,<br>Yalan Zhang<br>IRC: yalzhang<br></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 24, 2019 at 6:34 PM Erik Skultety <<a href="mailto:eskultet@redhat.com">eskultet@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, May 23, 2019 at 10:37:56PM +0530, Fuzail Ahmad wrote:<br>
> Problem Statement:<br>
><br>
> Libvirt failed to claim Virtual Functions  on hostdev network after VM<br>
> reboot.<br>
><br>
> Version-Release number of selected component (if applicable):<br>
><br>
> libvirtd (libvirt) 2.0.0<br>
<br>
I'd just like to point out that 2.0.0 is very old libvirt, even debian 9 has<br>
3.0.n, can you verify you're experiencing the same kind of issue with the<br>
current upstream?<br>
<br>
Regards,<br>
Erik<br>
<br>
_______________________________________________<br>
libvirt-users mailing list<br>
<a href="mailto:libvirt-users@redhat.com" target="_blank">libvirt-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/libvirt-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br>
</blockquote></div>