Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-10-05 Thread Bjoern Walk
Michal Privoznik [2017-09-21, 04:47PM +0200]: > In the near future the qemuAssignDeviceAliases() function is > going to be called multiple times: once at the domain define > time, then in domain prepare phase. To avoid regenerating the > same aliases the second time we need to be able to tell the

Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-22 Thread Michal Privoznik
On 09/21/2017 07:18 PM, Daniel P. Berrange wrote: > On Thu, Sep 21, 2017 at 06:05:19PM +0200, Peter Krempa wrote: >> On Thu, Sep 21, 2017 at 16:47:08 +0200, Michal Privoznik wrote: >>> In the near future the qemuAssignDeviceAliases() function is >>> going to be called multiple times: once at the do

Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-22 Thread Daniel P. Berrange
On Fri, Sep 22, 2017 at 10:25:46AM +0200, Peter Krempa wrote: > On Fri, Sep 22, 2017 at 10:18:02 +0200, Michal Privoznik wrote: > > On 09/21/2017 07:18 PM, Daniel P. Berrange wrote: > > > On Thu, Sep 21, 2017 at 06:05:19PM +0200, Peter Krempa wrote: > > >> On Thu, Sep 21, 2017 at 16:47:08 +0200, Mi

Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-22 Thread Peter Krempa
On Fri, Sep 22, 2017 at 10:18:02 +0200, Michal Privoznik wrote: > On 09/21/2017 07:18 PM, Daniel P. Berrange wrote: > > On Thu, Sep 21, 2017 at 06:05:19PM +0200, Peter Krempa wrote: > >> On Thu, Sep 21, 2017 at 16:47:08 +0200, Michal Privoznik wrote: > >>> In the near future the qemuAssignDeviceAli

Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-21 Thread Daniel P. Berrange
On Thu, Sep 21, 2017 at 06:05:19PM +0200, Peter Krempa wrote: > On Thu, Sep 21, 2017 at 16:47:08 +0200, Michal Privoznik wrote: > > In the near future the qemuAssignDeviceAliases() function is > > going to be called multiple times: once at the domain define > > time, then in domain prepare phase. T

Re: [libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-21 Thread Peter Krempa
On Thu, Sep 21, 2017 at 16:47:08 +0200, Michal Privoznik wrote: > In the near future the qemuAssignDeviceAliases() function is > going to be called multiple times: once at the domain define > time, then in domain prepare phase. To avoid regenerating the > same aliases the second time we need to be

[libvirt] [PATCH v1 4/7] qemu: Allow regeneration of aliases

2017-09-21 Thread Michal Privoznik
In the near future the qemuAssignDeviceAliases() function is going to be called multiple times: once at the domain define time, then in domain prepare phase. To avoid regenerating the same aliases the second time we need to be able to tell the function which time it is being called. Signed-off-by: