aboutsummaryrefslogtreecommitdiff
path: root/src/phyp
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-05-13 14:35:01 +0100
committerDaniel P. Berrange <berrange@redhat.com>2011-05-16 14:20:48 +0100
commit9b1ae97fdc230facf58ea4a290305c038e32b147 (patch)
tree0773ccf028ef345a18b9dbf26c198c9dfa25b305 /src/phyp
parentConvert all driver struct intializers to C99 style (diff)
downloadlibvirt-9b1ae97fdc230facf58ea4a290305c038e32b147.tar.gz
libvirt-9b1ae97fdc230facf58ea4a290305c038e32b147.tar.bz2
libvirt-9b1ae97fdc230facf58ea4a290305c038e32b147.zip
Add many version number annotations to drivers
Add many version number annotations to the internal driver tables, to allow hvsupport.html to display more accurate information
Diffstat (limited to 'src/phyp')
-rw-r--r--src/phyp/phyp_driver.c102
1 files changed, 51 insertions, 51 deletions
diff --git a/src/phyp/phyp_driver.c b/src/phyp/phyp_driver.c
index 7d6a74ab8..a9a9a217c 100644
--- a/src/phyp/phyp_driver.c
+++ b/src/phyp/phyp_driver.c
@@ -3742,65 +3742,65 @@ phypVIOSDriverClose(virConnectPtr conn ATTRIBUTE_UNUSED)
static virDriver phypDriver = {
.no = VIR_DRV_PHYP,
.name = "PHYP",
- .open = phypOpen,
- .close = phypClose,
- .getCapabilities = phypConnectGetCapabilities,
- .listDomains = phypListDomains,
- .numOfDomains = phypNumDomains,
- .domainCreateXML = phypDomainCreateAndStart,
- .domainLookupByID = phypDomainLookupByID,
- .domainLookupByName = phypDomainLookupByName,
- .domainResume = phypDomainResume,
- .domainShutdown = phypDomainShutdown,
- .domainReboot = phypDomainReboot,
- .domainDestroy = phypDomainDestroy,
- .domainGetInfo = phypDomainGetInfo,
- .domainGetState = phypDomainGetState,
- .domainSetVcpus = phypDomainSetCPU,
- .domainSetVcpusFlags = phypDomainSetVcpusFlags,
- .domainGetVcpusFlags = phypDomainGetVcpusFlags,
- .domainGetMaxVcpus = phypGetLparCPUMAX,
- .domainGetXMLDesc = phypDomainGetXMLDesc,
- .listDefinedDomains = phypListDefinedDomains,
- .numOfDefinedDomains = phypNumDefinedDomains,
- .domainAttachDevice = phypAttachDevice,
- .isEncrypted = phypIsEncrypted,
- .isSecure = phypIsSecure,
- .domainIsUpdated = phypIsUpdated,
+ .open = phypOpen, /* 0.7.0 */
+ .close = phypClose, /* 0.7.0 */
+ .getCapabilities = phypConnectGetCapabilities, /* 0.7.3 */
+ .listDomains = phypListDomains, /* 0.7.0 */
+ .numOfDomains = phypNumDomains, /* 0.7.0 */
+ .domainCreateXML = phypDomainCreateAndStart, /* 0.7.3 */
+ .domainLookupByID = phypDomainLookupByID, /* 0.7.0 */
+ .domainLookupByName = phypDomainLookupByName, /* 0.7.0 */
+ .domainResume = phypDomainResume, /* 0.7.0 */
+ .domainShutdown = phypDomainShutdown, /* 0.7.0 */
+ .domainReboot = phypDomainReboot, /* 0.9.1 */
+ .domainDestroy = phypDomainDestroy, /* 0.7.3 */
+ .domainGetInfo = phypDomainGetInfo, /* 0.7.0 */
+ .domainGetState = phypDomainGetState, /* 0.9.2 */
+ .domainSetVcpus = phypDomainSetCPU, /* 0.7.3 */
+ .domainSetVcpusFlags = phypDomainSetVcpusFlags, /* 0.8.5 */
+ .domainGetVcpusFlags = phypDomainGetVcpusFlags, /* 0.8.5 */
+ .domainGetMaxVcpus = phypGetLparCPUMAX, /* 0.7.3 */
+ .domainGetXMLDesc = phypDomainGetXMLDesc, /* 0.7.0 */
+ .listDefinedDomains = phypListDefinedDomains, /* 0.7.0 */
+ .numOfDefinedDomains = phypNumDefinedDomains, /* 0.7.0 */
+ .domainAttachDevice = phypAttachDevice, /* 0.8.2 */
+ .isEncrypted = phypIsEncrypted, /* 0.7.3 */
+ .isSecure = phypIsSecure, /* 0.7.3 */
+ .domainIsUpdated = phypIsUpdated, /* 0.8.6 */
};
static virStorageDriver phypStorageDriver = {
.name = "PHYP",
- .open = phypVIOSDriverOpen,
- .close = phypVIOSDriverClose,
-
- .numOfPools = phypNumOfStoragePools,
- .listPools = phypListStoragePools,
- .poolLookupByName = phypStoragePoolLookupByName,
- .poolLookupByUUID = phypGetStoragePoolLookUpByUUID,
- .poolCreateXML = phypStoragePoolCreateXML,
- .poolDestroy = phypDestroyStoragePool,
- .poolGetXMLDesc = phypGetStoragePoolXMLDesc,
- .poolNumOfVolumes = phypStoragePoolNumOfVolumes,
- .poolListVolumes = phypStoragePoolListVolumes,
-
- .volLookupByName = phypVolumeLookupByName,
- .volLookupByPath = phypVolumeLookupByPath,
- .volCreateXML = phypStorageVolCreateXML,
- .volGetXMLDesc = phypVolumeGetXMLDesc,
- .volGetPath = phypVolumeGetPath,
+ .open = phypVIOSDriverOpen, /* 0.8.2 */
+ .close = phypVIOSDriverClose, /* 0.8.2 */
+
+ .numOfPools = phypNumOfStoragePools, /* 0.8.2 */
+ .listPools = phypListStoragePools, /* 0.8.2 */
+ .poolLookupByName = phypStoragePoolLookupByName, /* 0.8.2 */
+ .poolLookupByUUID = phypGetStoragePoolLookUpByUUID, /* 0.8.2 */
+ .poolCreateXML = phypStoragePoolCreateXML, /* 0.8.2 */
+ .poolDestroy = phypDestroyStoragePool, /* 0.8.2 */
+ .poolGetXMLDesc = phypGetStoragePoolXMLDesc, /* 0.8.2 */
+ .poolNumOfVolumes = phypStoragePoolNumOfVolumes, /* 0.8.2 */
+ .poolListVolumes = phypStoragePoolListVolumes, /* 0.8.2 */
+
+ .volLookupByName = phypVolumeLookupByName, /* 0.8.2 */
+ .volLookupByPath = phypVolumeLookupByPath, /* 0.8.2 */
+ .volCreateXML = phypStorageVolCreateXML, /* 0.8.2 */
+ .volGetXMLDesc = phypVolumeGetXMLDesc, /* 0.8.2 */
+ .volGetPath = phypVolumeGetPath, /* 0.8.2 */
};
static virInterfaceDriver phypInterfaceDriver = {
.name = "PHYP",
- .open = phypVIOSDriverOpen,
- .close = phypVIOSDriverClose,
- .numOfInterfaces = phypNumOfInterfaces,
- .listInterfaces = phypListInterfaces,
- .interfaceLookupByName = phypInterfaceLookupByName,
- .interfaceDefineXML = phypInterfaceDefineXML,
- .interfaceDestroy = phypInterfaceDestroy,
- .interfaceIsActive = phypInterfaceIsActive
+ .open = phypVIOSDriverOpen, /* 0.9.1 */
+ .close = phypVIOSDriverClose, /* 0.9.1 */
+ .numOfInterfaces = phypNumOfInterfaces, /* 0.9.1 */
+ .listInterfaces = phypListInterfaces, /* 0.9.1 */
+ .interfaceLookupByName = phypInterfaceLookupByName, /* 0.9.1 */
+ .interfaceDefineXML = phypInterfaceDefineXML, /* 0.9.1 */
+ .interfaceDestroy = phypInterfaceDestroy, /* 0.9.1 */
+ .interfaceIsActive = phypInterfaceIsActive /* 0.9.1 */
};
int