Re: [libvirt] [PATCH 1/2] Add helper for removing transient definition

2016-09-08 Thread Peter Krempa
On Thu, Sep 08, 2016 at 16:21:03 +0200, Jiri Denemark wrote: > The code for replacing domain's transient definition with the persistent > one is repeated in several places and we'll need to add one more. Let's > make a nice helper for it. > > Signed-off-by: Jiri Denemark > --- > src/conf/domain_

[libvirt] [PATCH 1/2] Add helper for removing transient definition

2016-09-08 Thread Jiri Denemark
The code for replacing domain's transient definition with the persistent one is repeated in several places and we'll need to add one more. Let's make a nice helper for it. Signed-off-by: Jiri Denemark --- src/conf/domain_conf.c | 19 +++ src/conf/domain_conf.h | 1 + src/lib