mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
Define the internal driver API for vol wiping
Also add vol wiping to ESX storage driver struct
This commit is contained in:
parent
e10dc8666e
commit
b50ab42d41
@ -722,6 +722,10 @@ typedef int
|
||||
(*virDrvStorageVolDelete) (virStorageVolPtr vol,
|
||||
unsigned int flags);
|
||||
|
||||
typedef int
|
||||
(*virDrvStorageVolWipe) (virStorageVolPtr vol,
|
||||
unsigned int flags);
|
||||
|
||||
typedef int
|
||||
(*virDrvStorageVolGetInfo) (virStorageVolPtr vol,
|
||||
virStorageVolInfoPtr info);
|
||||
@ -791,6 +795,7 @@ struct _virStorageDriver {
|
||||
virDrvStorageVolCreateXML volCreateXML;
|
||||
virDrvStorageVolCreateXMLFrom volCreateXMLFrom;
|
||||
virDrvStorageVolDelete volDelete;
|
||||
virDrvStorageVolWipe volWipe;
|
||||
virDrvStorageVolGetInfo volGetInfo;
|
||||
virDrvStorageVolGetXMLDesc volGetXMLDesc;
|
||||
virDrvStorageVolGetPath volGetPath;
|
||||
|
@ -102,6 +102,7 @@ static virStorageDriver esxStorageDriver = {
|
||||
NULL, /* volCreateXML */
|
||||
NULL, /* volCreateXMLFrom */
|
||||
NULL, /* volDelete */
|
||||
NULL, /* volWipe */
|
||||
NULL, /* volGetInfo */
|
||||
NULL, /* volGetXMLDesc */
|
||||
NULL, /* volGetPath */
|
||||
|
Loading…
Reference in New Issue
Block a user