mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
util: storage: Add notice for extension of struct virStorageSource
As we now have a deep copy function for struct virStorageSource add a notice that extensions of the structure require also appropriate changes to the virStorageSourceCopy func.
This commit is contained in:
parent
7be41e787d
commit
ceb3e59530
@ -228,9 +228,11 @@ typedef virStorageDriverData *virStorageDriverDataPtr;
|
||||
typedef struct _virStorageSource virStorageSource;
|
||||
typedef virStorageSource *virStorageSourcePtr;
|
||||
|
||||
/* Stores information related to a host resource. In the case of
|
||||
* backing chains, multiple source disks join to form a single guest
|
||||
* view. */
|
||||
/* Stores information related to a host resource. In the case of backing
|
||||
* chains, multiple source disks join to form a single guest view.
|
||||
*
|
||||
* IMPORTANT: When adding fields to this struct it's also necessary to add
|
||||
* appropriate code to the virStorageSourceCopy deep copy function */
|
||||
struct _virStorageSource {
|
||||
int type; /* virStorageType */
|
||||
char *path;
|
||||
|
Loading…
Reference in New Issue
Block a user