<div dir="ltr"><pre style="color:rgb(0,0,0)">On Mon,  7 Oct 2019 18:11:32 -0300
Daniel Henrique Barboza <danielhb413 gmail com> wrote:</pre><pre style="color:rgb(0,0,0)">> These series tries to solve the partial assignment of multifunction<br>> hostdev PCI devices by introducing a new hostdev attribute called<br>> 'assigned'. This is how it works:<br>> <br>> - it is a boolean value that will be efffective just for<br>> multifunction hostdev PCI devices, since there's no other<br>> occurrence for this kind of use in Libvirt. Trying to<br>> declare assign='yes|no' in any other PCI hostdev device<br>> will cause parse errors;<br></pre><pre style="color:rgb(0,0,0)"><br></pre><pre style="color:rgb(0,0,0)">I think this functionality should be available to all hostdev PCI<br>devices and not just multifunction ones. You might have several<br>devices that are part of the same IOMMU group that you don't mind<br>giving up from the host, but don't want to supply all of them to the<br>guest. This would be an alternative to using ACS patch in these<br>situations.<br><br>One example is having two nvme drives in a single IOMMU group, you<br>will be able to pass a single one to the guest rather than being<br>forced to pass both.<br></pre><pre style="color:rgb(0,0,0)"></pre></div>