mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
* src/remote_internal.c src/storage_driver.c: structure init cleanup
by Chris Lalancette Daniel
This commit is contained in:
parent
7e0ff3aab0
commit
0958489ca5
@ -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>
|
||||
|
||||
* src/openvz_conf.c: patch from Evgeniy Sokolov to read
|
||||
|
@ -4907,14 +4907,14 @@ static virStorageDriver storage_driver = {
|
||||
.numOfDefinedPools = remoteNumOfDefinedStoragePools,
|
||||
.listDefinedPools = remoteListDefinedStoragePools,
|
||||
.findPoolSources = remoteFindStoragePoolSources,
|
||||
.poolLookupByUUID = remoteStoragePoolLookupByUUID,
|
||||
.poolLookupByName = remoteStoragePoolLookupByName,
|
||||
.poolLookupByUUID = remoteStoragePoolLookupByUUID,
|
||||
.poolLookupByVolume = remoteStoragePoolLookupByVolume,
|
||||
.poolCreateXML = remoteStoragePoolCreateXML,
|
||||
.poolDefineXML = remoteStoragePoolDefineXML,
|
||||
.poolBuild = remoteStoragePoolBuild,
|
||||
.poolUndefine = remoteStoragePoolUndefine,
|
||||
.poolCreate = remoteStoragePoolCreate,
|
||||
.poolBuild = remoteStoragePoolBuild,
|
||||
.poolDestroy = remoteStoragePoolDestroy,
|
||||
.poolDelete = remoteStoragePoolDelete,
|
||||
.poolRefresh = remoteStoragePoolRefresh,
|
||||
|
@ -1229,39 +1229,40 @@ storageVolumeGetPath(virStorageVolPtr obj) {
|
||||
|
||||
|
||||
static virStorageDriver storageDriver = {
|
||||
"storage",
|
||||
storageOpen,
|
||||
storageClose,
|
||||
storageNumPools,
|
||||
storageListPools,
|
||||
storageNumDefinedPools,
|
||||
storageListDefinedPools,
|
||||
storageFindPoolSources,
|
||||
storagePoolLookupByName,
|
||||
storagePoolLookupByUUID,
|
||||
storagePoolLookupByVolume,
|
||||
storagePoolCreate,
|
||||
storagePoolDefine,
|
||||
storagePoolBuild,
|
||||
storagePoolUndefine,
|
||||
storagePoolStart,
|
||||
storagePoolDestroy,
|
||||
storagePoolDelete,
|
||||
storagePoolRefresh,
|
||||
storagePoolGetInfo,
|
||||
storagePoolDumpXML,
|
||||
storagePoolGetAutostart,
|
||||
storagePoolSetAutostart,
|
||||
storagePoolNumVolumes,
|
||||
storagePoolListVolumes,
|
||||
storageVolumeLookupByName,
|
||||
storageVolumeLookupByKey,
|
||||
storageVolumeLookupByPath,
|
||||
storageVolumeCreateXML,
|
||||
storageVolumeDelete,
|
||||
storageVolumeGetInfo,
|
||||
storageVolumeGetXMLDesc,
|
||||
storageVolumeGetPath
|
||||
.name = "storage",
|
||||
.open = storageOpen,
|
||||
.close = storageClose,
|
||||
.numOfPools = storageNumPools,
|
||||
.listPools = storageListPools,
|
||||
.numOfDefinedPools = storageNumDefinedPools,
|
||||
.listDefinedPools = storageListDefinedPools,
|
||||
.findPoolSources = storageFindPoolSources,
|
||||
.poolLookupByName = storagePoolLookupByName,
|
||||
.poolLookupByUUID = storagePoolLookupByUUID,
|
||||
.poolLookupByVolume = storagePoolLookupByVolume,
|
||||
.poolCreateXML = storagePoolCreate,
|
||||
.poolDefineXML = storagePoolDefine,
|
||||
.poolBuild = storagePoolBuild,
|
||||
.poolUndefine = storagePoolUndefine,
|
||||
.poolCreate = storagePoolStart,
|
||||
.poolDestroy = storagePoolDestroy,
|
||||
.poolDelete = storagePoolDelete,
|
||||
.poolRefresh = storagePoolRefresh,
|
||||
.poolGetInfo = storagePoolGetInfo,
|
||||
.poolGetXMLDesc = storagePoolDumpXML,
|
||||
.poolGetAutostart = storagePoolGetAutostart,
|
||||
.poolSetAutostart = storagePoolSetAutostart,
|
||||
.poolNumOfVolumes = storagePoolNumVolumes,
|
||||
.poolListVolumes = storagePoolListVolumes,
|
||||
|
||||
.volLookupByName = storageVolumeLookupByName,
|
||||
.volLookupByKey = storageVolumeLookupByKey,
|
||||
.volLookupByPath = storageVolumeLookupByPath,
|
||||
.volCreateXML = storageVolumeCreateXML,
|
||||
.volDelete = storageVolumeDelete,
|
||||
.volGetInfo = storageVolumeGetInfo,
|
||||
.volGetXMLDesc = storageVolumeGetXMLDesc,
|
||||
.volGetPath = storageVolumeGetPath,
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user