aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2011-05-11 18:01:23 +0100
committerDaniel P. Berrange <berrange@redhat.com>2011-05-16 14:20:35 +0100
commit360df0199ef7fcefab5a3c669e27748c5251a059 (patch)
treea311e4b05223b88e6e065f7952ef87e11c81da37 /src/xenapi
parentqemu: Update domain state when reconnecting monitor (diff)
downloadlibvirt-360df0199ef7fcefab5a3c669e27748c5251a059.tar.gz
libvirt-360df0199ef7fcefab5a3c669e27748c5251a059.tar.bz2
libvirt-360df0199ef7fcefab5a3c669e27748c5251a059.zip
Tweak driver naming for consistency with public API
Fix some driver names: s/virDrvCPUCompare/virDrvCompareCPU/ s/virDrvCPUBaseline/virDrvBaselineCPU/ s/virDrvQemuDomainMonitorCommand/virDrvDomainQemuMonitorCommand/ s/virDrvSecretNumOfSecrets/virDrvNumOfSecrets/ s/virDrvSecretListSecrets/virDrvListSecrets/ And some driver struct field names: s/getFreeMemory/nodeGetFreeMemory/
Diffstat (limited to 'src/xenapi')
-rw-r--r--src/xenapi/xenapi_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xenapi/xenapi_driver.c b/src/xenapi/xenapi_driver.c
index 23bc5bf78..15fa4e89d 100644
--- a/src/xenapi/xenapi_driver.c
+++ b/src/xenapi/xenapi_driver.c
@@ -1834,7 +1834,7 @@ static virDriver xenapiDriver = {
xenapiSupportsFeature, /* supports_feature */
xenapiType, /* type */
xenapiGetVersion, /* version */
- NULL, /*getlibvirtVersion */
+ NULL, /* libvirtVersion */
xenapiGetHostname, /* getHostname */
NULL, /* getSysinfo */
xenapiGetMaxVcpus, /* getMaxVcpus */
@@ -1875,8 +1875,8 @@ static virDriver xenapiDriver = {
NULL, /* domainGetSecurityLabel */
NULL, /* nodeGetSecurityModel */
xenapiDomainGetXMLDesc, /* domainGetXMLDesc */
- NULL, /* domainXmlFromNative */
- NULL, /* domainXmlToNative */
+ NULL, /* domainXMLFromNative */
+ NULL, /* domainXMLToNative */
xenapiListDefinedDomains, /* listDefinedDomains */
xenapiNumOfDefinedDomains, /* numOfDefinedDomains */
xenapiDomainCreate, /* domainCreate */
@@ -1903,7 +1903,7 @@ static virDriver xenapiDriver = {
NULL, /* domainMemoryPeek */
NULL, /* domainGetBlockInfo */
xenapiNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
- xenapiNodeGetFreeMemory, /* getFreeMemory */
+ xenapiNodeGetFreeMemory, /* nodeGetFreeMemory */
NULL, /* domainEventRegister */
NULL, /* domainEventDeregister */
NULL, /* domainMigratePrepare2 */