提交 0958489c 编写于 作者: D Daniel Veillard

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

  by Chris Lalancette
Daniel
上级 7e0ff3aa
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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册