Hi hi On Fri, Sep 16, 2011 at 1:38 PM, Marc-André Lureau <mlureau@xxxxxxxxxx> wrote: >> > >> > How do we allow other devices to share the slot? It seems to me that >> > qemuDomainPCIAddressSetNextAddr() only allocate whole slot, while >> > making sure there is no conflicts on the same slot. >> >> So, if the user wants to use multi function pci device, he should >> specify the >> pci address. > > So adding a check such as: > > if (!multiFunc && info->addr.pci.function != 0) > return error("The %s device doesn't support multifunction address") > Wen, does that sound reasonable to you? Daniel, did you had time to verify that PCI allocation is per-slot? (It would be nice to get this "workaround" for the next release) thanks! -- Marc-André Lureau -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list