Re: [libvirt] [RFC PATCH 4/5] util: storagefile: Add deep copy for struct virStorageSource

2014-06-13 Thread Peter Krempa
On 06/13/14 00:38, Eric Blake wrote: > On 06/12/2014 09:02 AM, Peter Krempa wrote: >> Now that we have pointers to store disk source information and thus can >> easily exchange the structs behind we need a function to copy all the >> data. >> --- >> src/libvirt_private.syms | 1 + >> src/util/v

Re: [libvirt] [RFC PATCH 4/5] util: storagefile: Add deep copy for struct virStorageSource

2014-06-12 Thread Eric Blake
On 06/12/2014 09:02 AM, Peter Krempa wrote: > Now that we have pointers to store disk source information and thus can > easily exchange the structs behind we need a function to copy all the > data. > --- > src/libvirt_private.syms | 1 + > src/util/virstoragefile.c | 150 >

[libvirt] [RFC PATCH 4/5] util: storagefile: Add deep copy for struct virStorageSource

2014-06-12 Thread Peter Krempa
Now that we have pointers to store disk source information and thus can easily exchange the structs behind we need a function to copy all the data. --- src/libvirt_private.syms | 1 + src/util/virstoragefile.c | 150 ++ src/util/virstoragefile.h | 2