diff --git a/src/driver.h b/src/driver.h index a64bba026e63fe390b68a9444f587897a3d9b30f..1a511eb93477b44398d381fd9301e587e2bcab1f 100644 --- a/src/driver.h +++ b/src/driver.h @@ -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; diff --git a/src/esx/esx_storage_driver.c b/src/esx/esx_storage_driver.c index b920f3b3c0c3ffea2611d1ca3a2c3b658d0c6af8..7b073a65e861acc7e226c07450811ab5fd77b4f1 100644 --- a/src/esx/esx_storage_driver.c +++ b/src/esx/esx_storage_driver.c @@ -102,6 +102,7 @@ static virStorageDriver esxStorageDriver = { NULL, /* volCreateXML */ NULL, /* volCreateXMLFrom */ NULL, /* volDelete */ + NULL, /* volWipe */ NULL, /* volGetInfo */ NULL, /* volGetXMLDesc */ NULL, /* volGetPath */