Re: [libvirt] [PATCH 3/9] virDomainObjListAddLocked: Set vm->def only in success path

2019-06-04 Thread Nikolay Shirokovskiy
On 30.05.2019 12:33, Michal Privoznik wrote: > Because of past limitation of virDomainObjListAddObjLocked() we > had to set vm->def even before the object was on the domains > list. > > Signed-off-by: Michal Privoznik > --- > src/conf/virdomainobjlist.c | 9 - > 1 file changed, 4

[libvirt] [PATCH 3/9] virDomainObjListAddLocked: Set vm->def only in success path

2019-05-30 Thread Michal Privoznik
Because of past limitation of virDomainObjListAddObjLocked() we had to set vm->def even before the object was on the domains list. Signed-off-by: Michal Privoznik --- src/conf/virdomainobjlist.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git