Re: [libvirt] [PATCH v2 10/11] qemu: auto-add bridges and allow using them

2013-04-19 Thread Ján Tomko
On 04/19/2013 01:02 AM, Eric Blake wrote: On 04/17/2013 01:00 PM, Ján Tomko wrote: @@ -1321,7 +1363,39 @@ qemuDomainAssignPCIAddresses(virDomainDefPtr def, qemuDomainObjPrivatePtr priv = NULL; if (virQEMUCapsGet(qemuCaps, QEMU_CAPS_DEVICE)) { -if (!(addrs =

Re: [libvirt] [PATCH v2 10/11] qemu: auto-add bridges and allow using them

2013-04-18 Thread Eric Blake
On 04/17/2013 01:00 PM, Ján Tomko wrote: Add a dry run address allocation to figure out how many bridges will be needed for all the devices without explicit addresses. Auto-add just enough bridges to put all the devices on, or up to the bridge with the largest specified index. ---

[libvirt] [PATCH v2 10/11] qemu: auto-add bridges and allow using them

2013-04-17 Thread Ján Tomko
Add a dry run address allocation to figure out how many bridges will be needed for all the devices without explicit addresses. Auto-add just enough bridges to put all the devices on, or up to the bridge with the largest specified index. --- src/conf/domain_conf.c | 9 +--