* src/remote_internal.c src/storage_driver.c: structure init cleanup

by Chris Lalancette
Daniel
This commit is contained in:
Daniel Veillard 2008-09-22 19:53:42 +00:00
parent 7e0ff3aab0
commit 0958489ca5
3 changed files with 41 additions and 35 deletions

View File

@ -1,3 +1,8 @@
Mon Sep 22 18:00:39 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/remote_internal.c src/storage_driver.c: structure init fixes
by Chris Lalancette
Mon Sep 22 17:14:25 CEST 2008 Daniel Veillard <veillard@redhat.com> Mon Sep 22 17:14:25 CEST 2008 Daniel Veillard <veillard@redhat.com>
* src/openvz_conf.c: patch from Evgeniy Sokolov to read * src/openvz_conf.c: patch from Evgeniy Sokolov to read

View File

@ -4907,14 +4907,14 @@ static virStorageDriver storage_driver = {
.numOfDefinedPools = remoteNumOfDefinedStoragePools, .numOfDefinedPools = remoteNumOfDefinedStoragePools,
.listDefinedPools = remoteListDefinedStoragePools, .listDefinedPools = remoteListDefinedStoragePools,
.findPoolSources = remoteFindStoragePoolSources, .findPoolSources = remoteFindStoragePoolSources,
.poolLookupByUUID = remoteStoragePoolLookupByUUID,
.poolLookupByName = remoteStoragePoolLookupByName, .poolLookupByName = remoteStoragePoolLookupByName,
.poolLookupByUUID = remoteStoragePoolLookupByUUID,
.poolLookupByVolume = remoteStoragePoolLookupByVolume, .poolLookupByVolume = remoteStoragePoolLookupByVolume,
.poolCreateXML = remoteStoragePoolCreateXML, .poolCreateXML = remoteStoragePoolCreateXML,
.poolDefineXML = remoteStoragePoolDefineXML, .poolDefineXML = remoteStoragePoolDefineXML,
.poolBuild = remoteStoragePoolBuild,
.poolUndefine = remoteStoragePoolUndefine, .poolUndefine = remoteStoragePoolUndefine,
.poolCreate = remoteStoragePoolCreate, .poolCreate = remoteStoragePoolCreate,
.poolBuild = remoteStoragePoolBuild,
.poolDestroy = remoteStoragePoolDestroy, .poolDestroy = remoteStoragePoolDestroy,
.poolDelete = remoteStoragePoolDelete, .poolDelete = remoteStoragePoolDelete,
.poolRefresh = remoteStoragePoolRefresh, .poolRefresh = remoteStoragePoolRefresh,

View File

@ -1229,39 +1229,40 @@ storageVolumeGetPath(virStorageVolPtr obj) {
static virStorageDriver storageDriver = { static virStorageDriver storageDriver = {
"storage", .name = "storage",
storageOpen, .open = storageOpen,
storageClose, .close = storageClose,
storageNumPools, .numOfPools = storageNumPools,
storageListPools, .listPools = storageListPools,
storageNumDefinedPools, .numOfDefinedPools = storageNumDefinedPools,
storageListDefinedPools, .listDefinedPools = storageListDefinedPools,
storageFindPoolSources, .findPoolSources = storageFindPoolSources,
storagePoolLookupByName, .poolLookupByName = storagePoolLookupByName,
storagePoolLookupByUUID, .poolLookupByUUID = storagePoolLookupByUUID,
storagePoolLookupByVolume, .poolLookupByVolume = storagePoolLookupByVolume,
storagePoolCreate, .poolCreateXML = storagePoolCreate,
storagePoolDefine, .poolDefineXML = storagePoolDefine,
storagePoolBuild, .poolBuild = storagePoolBuild,
storagePoolUndefine, .poolUndefine = storagePoolUndefine,
storagePoolStart, .poolCreate = storagePoolStart,
storagePoolDestroy, .poolDestroy = storagePoolDestroy,
storagePoolDelete, .poolDelete = storagePoolDelete,
storagePoolRefresh, .poolRefresh = storagePoolRefresh,
storagePoolGetInfo, .poolGetInfo = storagePoolGetInfo,
storagePoolDumpXML, .poolGetXMLDesc = storagePoolDumpXML,
storagePoolGetAutostart, .poolGetAutostart = storagePoolGetAutostart,
storagePoolSetAutostart, .poolSetAutostart = storagePoolSetAutostart,
storagePoolNumVolumes, .poolNumOfVolumes = storagePoolNumVolumes,
storagePoolListVolumes, .poolListVolumes = storagePoolListVolumes,
storageVolumeLookupByName,
storageVolumeLookupByKey, .volLookupByName = storageVolumeLookupByName,
storageVolumeLookupByPath, .volLookupByKey = storageVolumeLookupByKey,
storageVolumeCreateXML, .volLookupByPath = storageVolumeLookupByPath,
storageVolumeDelete, .volCreateXML = storageVolumeCreateXML,
storageVolumeGetInfo, .volDelete = storageVolumeDelete,
storageVolumeGetXMLDesc, .volGetInfo = storageVolumeGetInfo,
storageVolumeGetPath .volGetXMLDesc = storageVolumeGetXMLDesc,
.volGetPath = storageVolumeGetPath,
}; };