Re: [libvirt] [PATCH v2 07/10] add qemuDomainPCIAddrSetCreateFromDomain

2016-07-26 Thread Martin Kletzander
On Sat, Jul 23, 2016 at 03:47:12AM +0200, Tomasz Flendrich wrote: The address sets (pci, ccw, virtio serial) are currently cached in qemu private data, but all the information required to recreate these sets is in the domain definition. Therefore I am removing the redundant data and adding a way

Re: [libvirt] [PATCH v2 07/10] add qemuDomainPCIAddrSetCreateFromDomain

2016-07-25 Thread Martin Kletzander
On Sat, Jul 23, 2016 at 03:47:12AM +0200, Tomasz Flendrich wrote: The address sets (pci, ccw, virtio serial) are currently cached in qemu private data, but all the information required to recreate these sets is in the domain definition. Therefore I am removing the redundant data and adding a way

[libvirt] [PATCH v2 07/10] add qemuDomainPCIAddrSetCreateFromDomain

2016-07-22 Thread Tomasz Flendrich
The address sets (pci, ccw, virtio serial) are currently cached in qemu private data, but all the information required to recreate these sets is in the domain definition. Therefore I am removing the redundant data and adding a way to recalculate these sets. Add a function that calculates the pci