mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 01:45:17 +00:00
conf: rename and move virStoragePoolSourceInitiatorAttr
This structure will be reused by domain disk images as well. Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
60360e32ec
commit
1576c12628
@ -140,11 +140,6 @@ struct _virStoragePoolSourceDeviceExtent {
|
||||
int type; /* virStorageFreeType */
|
||||
};
|
||||
|
||||
typedef struct _virStoragePoolSourceInitiatorAttr virStoragePoolSourceInitiatorAttr;
|
||||
struct _virStoragePoolSourceInitiatorAttr {
|
||||
char *iqn; /* Initiator IQN */
|
||||
};
|
||||
|
||||
/*
|
||||
* Pools can be backed by one or more devices, and some
|
||||
* allow us to track free space on underlying devices.
|
||||
@ -189,7 +184,7 @@ struct _virStoragePoolSource {
|
||||
char *name;
|
||||
|
||||
/* Initiator IQN */
|
||||
virStoragePoolSourceInitiatorAttr initiator;
|
||||
virStorageSourceInitiatorDef initiator;
|
||||
|
||||
/* Authentication information */
|
||||
virStorageAuthDefPtr auth;
|
||||
|
@ -226,6 +226,12 @@ struct _virStoragePRDef {
|
||||
char *mgralias;
|
||||
};
|
||||
|
||||
typedef struct _virStorageSourceInitiatorDef virStorageSourceInitiatorDef;
|
||||
typedef virStorageSourceInitiatorDef *virStorageSourceInitiatorDefPtr;
|
||||
struct _virStorageSourceInitiatorDef {
|
||||
char *iqn; /* Initiator IQN */
|
||||
};
|
||||
|
||||
typedef struct _virStorageDriverData virStorageDriverData;
|
||||
typedef virStorageDriverData *virStorageDriverDataPtr;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user