mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-29 12:01:16 +00:00
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/
This commit is contained in:
parent
9f1319618a
commit
360df0199e
22
src/driver.h
22
src/driver.h
@ -432,11 +432,11 @@ typedef int
|
|||||||
(*virDrvDomainIsUpdated)(virDomainPtr dom);
|
(*virDrvDomainIsUpdated)(virDomainPtr dom);
|
||||||
|
|
||||||
typedef int
|
typedef int
|
||||||
(*virDrvCPUCompare)(virConnectPtr conn,
|
(*virDrvCompareCPU)(virConnectPtr conn,
|
||||||
const char *cpu,
|
const char *cpu,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
typedef char *
|
typedef char *
|
||||||
(*virDrvCPUBaseline)(virConnectPtr conn,
|
(*virDrvBaselineCPU)(virConnectPtr conn,
|
||||||
const char **xmlCPUs,
|
const char **xmlCPUs,
|
||||||
unsigned int ncpus,
|
unsigned int ncpus,
|
||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
@ -516,7 +516,7 @@ typedef int
|
|||||||
unsigned int flags);
|
unsigned int flags);
|
||||||
|
|
||||||
typedef int
|
typedef int
|
||||||
(*virDrvQemuDomainMonitorCommand)(virDomainPtr domain, const char *cmd,
|
(*virDrvDomainQemuMonitorCommand)(virDomainPtr domain, const char *cmd,
|
||||||
char **result, unsigned int flags);
|
char **result, unsigned int flags);
|
||||||
|
|
||||||
typedef int
|
typedef int
|
||||||
@ -618,7 +618,7 @@ struct _virDriver {
|
|||||||
virDrvDomainMemoryPeek domainMemoryPeek;
|
virDrvDomainMemoryPeek domainMemoryPeek;
|
||||||
virDrvDomainGetBlockInfo domainGetBlockInfo;
|
virDrvDomainGetBlockInfo domainGetBlockInfo;
|
||||||
virDrvNodeGetCellsFreeMemory nodeGetCellsFreeMemory;
|
virDrvNodeGetCellsFreeMemory nodeGetCellsFreeMemory;
|
||||||
virDrvNodeGetFreeMemory getFreeMemory;
|
virDrvNodeGetFreeMemory nodeGetFreeMemory;
|
||||||
virDrvDomainEventRegister domainEventRegister;
|
virDrvDomainEventRegister domainEventRegister;
|
||||||
virDrvDomainEventDeregister domainEventDeregister;
|
virDrvDomainEventDeregister domainEventDeregister;
|
||||||
virDrvDomainMigratePrepare2 domainMigratePrepare2;
|
virDrvDomainMigratePrepare2 domainMigratePrepare2;
|
||||||
@ -632,8 +632,8 @@ struct _virDriver {
|
|||||||
virDrvDomainIsActive domainIsActive;
|
virDrvDomainIsActive domainIsActive;
|
||||||
virDrvDomainIsPersistent domainIsPersistent;
|
virDrvDomainIsPersistent domainIsPersistent;
|
||||||
virDrvDomainIsUpdated domainIsUpdated;
|
virDrvDomainIsUpdated domainIsUpdated;
|
||||||
virDrvCPUCompare cpuCompare;
|
virDrvCompareCPU cpuCompare;
|
||||||
virDrvCPUBaseline cpuBaseline;
|
virDrvBaselineCPU cpuBaseline;
|
||||||
virDrvDomainGetJobInfo domainGetJobInfo;
|
virDrvDomainGetJobInfo domainGetJobInfo;
|
||||||
virDrvDomainAbortJob domainAbortJob;
|
virDrvDomainAbortJob domainAbortJob;
|
||||||
virDrvDomainMigrateSetMaxDowntime domainMigrateSetMaxDowntime;
|
virDrvDomainMigrateSetMaxDowntime domainMigrateSetMaxDowntime;
|
||||||
@ -652,7 +652,7 @@ struct _virDriver {
|
|||||||
virDrvDomainSnapshotCurrent domainSnapshotCurrent;
|
virDrvDomainSnapshotCurrent domainSnapshotCurrent;
|
||||||
virDrvDomainRevertToSnapshot domainRevertToSnapshot;
|
virDrvDomainRevertToSnapshot domainRevertToSnapshot;
|
||||||
virDrvDomainSnapshotDelete domainSnapshotDelete;
|
virDrvDomainSnapshotDelete domainSnapshotDelete;
|
||||||
virDrvQemuDomainMonitorCommand qemuDomainMonitorCommand;
|
virDrvDomainQemuMonitorCommand qemuDomainMonitorCommand;
|
||||||
virDrvDomainOpenConsole domainOpenConsole;
|
virDrvDomainOpenConsole domainOpenConsole;
|
||||||
virDrvDomainInjectNMI domainInjectNMI;
|
virDrvDomainInjectNMI domainInjectNMI;
|
||||||
};
|
};
|
||||||
@ -1109,9 +1109,9 @@ typedef unsigned char *
|
|||||||
typedef int
|
typedef int
|
||||||
(*virDrvSecretUndefine) (virSecretPtr secret);
|
(*virDrvSecretUndefine) (virSecretPtr secret);
|
||||||
typedef int
|
typedef int
|
||||||
(*virDrvSecretNumOfSecrets) (virConnectPtr conn);
|
(*virDrvNumOfSecrets) (virConnectPtr conn);
|
||||||
typedef int
|
typedef int
|
||||||
(*virDrvSecretListSecrets) (virConnectPtr conn,
|
(*virDrvListSecrets) (virConnectPtr conn,
|
||||||
char **uuids,
|
char **uuids,
|
||||||
int maxuuids);
|
int maxuuids);
|
||||||
|
|
||||||
@ -1133,8 +1133,8 @@ struct _virSecretDriver {
|
|||||||
virDrvOpen open;
|
virDrvOpen open;
|
||||||
virDrvClose close;
|
virDrvClose close;
|
||||||
|
|
||||||
virDrvSecretNumOfSecrets numOfSecrets;
|
virDrvNumOfSecrets numOfSecrets;
|
||||||
virDrvSecretListSecrets listSecrets;
|
virDrvListSecrets listSecrets;
|
||||||
virDrvSecretLookupByUUID lookupByUUID;
|
virDrvSecretLookupByUUID lookupByUUID;
|
||||||
virDrvSecretLookupByUsage lookupByUsage;
|
virDrvSecretLookupByUsage lookupByUsage;
|
||||||
virDrvSecretDefineXML defineXML;
|
virDrvSecretDefineXML defineXML;
|
||||||
|
@ -4640,7 +4640,7 @@ static virDriver esxDriver = {
|
|||||||
esxGetType, /* type */
|
esxGetType, /* type */
|
||||||
esxGetVersion, /* version */
|
esxGetVersion, /* version */
|
||||||
NULL, /* libvirtVersion (impl. in libvirt.c) */
|
NULL, /* libvirtVersion (impl. in libvirt.c) */
|
||||||
esxGetHostname, /* hostname */
|
esxGetHostname, /* getHostname */
|
||||||
NULL, /* getSysinfo */
|
NULL, /* getSysinfo */
|
||||||
NULL, /* getMaxVcpus */
|
NULL, /* getMaxVcpus */
|
||||||
esxNodeGetInfo, /* nodeGetInfo */
|
esxNodeGetInfo, /* nodeGetInfo */
|
||||||
|
@ -549,7 +549,7 @@ static virInterfaceDriver interfaceDriver = {
|
|||||||
interfaceNumOfDefinedInterfaces, /* numOfInterfaces */
|
interfaceNumOfDefinedInterfaces, /* numOfInterfaces */
|
||||||
interfaceListDefinedInterfaces, /* listInterfaces */
|
interfaceListDefinedInterfaces, /* listInterfaces */
|
||||||
interfaceLookupByName, /* interfaceLookupByName */
|
interfaceLookupByName, /* interfaceLookupByName */
|
||||||
interfaceLookupByMACString, /* interfaceLookupByMACSTring */
|
interfaceLookupByMACString, /* interfaceLookupByMACString */
|
||||||
interfaceGetXMLDesc, /* interfaceGetXMLDesc */
|
interfaceGetXMLDesc, /* interfaceGetXMLDesc */
|
||||||
interfaceDefineXML, /* interfaceDefineXML */
|
interfaceDefineXML, /* interfaceDefineXML */
|
||||||
interfaceUndefine, /* interfaceUndefine */
|
interfaceUndefine, /* interfaceUndefine */
|
||||||
|
@ -4402,9 +4402,9 @@ virNodeGetFreeMemory(virConnectPtr conn)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (conn->driver->getFreeMemory) {
|
if (conn->driver->nodeGetFreeMemory) {
|
||||||
unsigned long long ret;
|
unsigned long long ret;
|
||||||
ret = conn->driver->getFreeMemory (conn);
|
ret = conn->driver->nodeGetFreeMemory (conn);
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
goto error;
|
goto error;
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -2736,8 +2736,8 @@ static virDriver libxlDriver = {
|
|||||||
NULL, /* domainGetSecurityLabel */
|
NULL, /* domainGetSecurityLabel */
|
||||||
NULL, /* nodeGetSecurityModel */
|
NULL, /* nodeGetSecurityModel */
|
||||||
libxlDomainGetXMLDesc, /* domainGetXMLDesc */
|
libxlDomainGetXMLDesc, /* domainGetXMLDesc */
|
||||||
libxlDomainXMLFromNative, /* domainXmlFromNative */
|
libxlDomainXMLFromNative, /* domainXMLFromNative */
|
||||||
libxlDomainXMLToNative, /* domainXmlToNative */
|
libxlDomainXMLToNative, /* domainXMLToNative */
|
||||||
libxlListDefinedDomains, /* listDefinedDomains */
|
libxlListDefinedDomains, /* listDefinedDomains */
|
||||||
libxlNumDefinedDomains, /* numOfDefinedDomains */
|
libxlNumDefinedDomains, /* numOfDefinedDomains */
|
||||||
libxlDomainCreate, /* domainCreate */
|
libxlDomainCreate, /* domainCreate */
|
||||||
@ -2764,7 +2764,7 @@ static virDriver libxlDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
NULL, /* nodeGetCellsFreeMemory */
|
NULL, /* nodeGetCellsFreeMemory */
|
||||||
libxlNodeGetFreeMemory, /* getFreeMemory */
|
libxlNodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
libxlDomainEventRegister, /* domainEventRegister */
|
libxlDomainEventRegister, /* domainEventRegister */
|
||||||
libxlDomainEventDeregister, /* domainEventDeregister */
|
libxlDomainEventDeregister, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
@ -2773,10 +2773,10 @@ static virDriver libxlDriver = {
|
|||||||
NULL, /* nodeDeviceReAttach */
|
NULL, /* nodeDeviceReAttach */
|
||||||
NULL, /* nodeDeviceReset */
|
NULL, /* nodeDeviceReset */
|
||||||
NULL, /* domainMigratePrepareTunnel */
|
NULL, /* domainMigratePrepareTunnel */
|
||||||
NULL, /* IsEncrypted */
|
NULL, /* isEncrypted */
|
||||||
NULL, /* IsSecure */
|
NULL, /* isSecure */
|
||||||
libxlDomainIsActive, /* DomainIsActive */
|
libxlDomainIsActive, /* domainIsActive */
|
||||||
libxlDomainIsPersistent, /* DomainIsPersistent */
|
libxlDomainIsPersistent, /* domainIsPersistent */
|
||||||
libxlDomainIsUpdated, /* domainIsUpdated */
|
libxlDomainIsUpdated, /* domainIsUpdated */
|
||||||
NULL, /* cpuCompare */
|
NULL, /* cpuCompare */
|
||||||
NULL, /* cpuBaseline */
|
NULL, /* cpuBaseline */
|
||||||
|
@ -2714,8 +2714,8 @@ cleanup:
|
|||||||
|
|
||||||
/* Function Tables */
|
/* Function Tables */
|
||||||
static virDriver lxcDriver = {
|
static virDriver lxcDriver = {
|
||||||
VIR_DRV_LXC, /* the number virDrvNo */
|
VIR_DRV_LXC,
|
||||||
"LXC", /* the name of the driver */
|
"LXC",
|
||||||
lxcOpen, /* open */
|
lxcOpen, /* open */
|
||||||
lxcClose, /* close */
|
lxcClose, /* close */
|
||||||
NULL, /* supports_feature */
|
NULL, /* supports_feature */
|
||||||
@ -2790,7 +2790,7 @@ static virDriver lxcDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
nodeGetFreeMemory, /* getFreeMemory */
|
nodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
lxcDomainEventRegister, /* domainEventRegister */
|
lxcDomainEventRegister, /* domainEventRegister */
|
||||||
lxcDomainEventDeregister, /* domainEventDeregister */
|
lxcDomainEventDeregister, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
@ -1625,8 +1625,8 @@ static virDriver openvzDriver = {
|
|||||||
NULL, /* domainGetSecurityLabel */
|
NULL, /* domainGetSecurityLabel */
|
||||||
NULL, /* nodeGetSecurityModel */
|
NULL, /* nodeGetSecurityModel */
|
||||||
openvzDomainGetXMLDesc, /* domainGetXMLDesc */
|
openvzDomainGetXMLDesc, /* domainGetXMLDesc */
|
||||||
NULL, /* domainXmlFromNative */
|
NULL, /* domainXMLFromNative */
|
||||||
NULL, /* domainXmlToNative */
|
NULL, /* domainXMLToNative */
|
||||||
openvzListDefinedDomains, /* listDefinedDomains */
|
openvzListDefinedDomains, /* listDefinedDomains */
|
||||||
openvzNumDefinedDomains, /* numOfDefinedDomains */
|
openvzNumDefinedDomains, /* numOfDefinedDomains */
|
||||||
openvzDomainCreate, /* domainCreate */
|
openvzDomainCreate, /* domainCreate */
|
||||||
@ -1653,7 +1653,7 @@ static virDriver openvzDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
NULL, /* nodeGetCellsFreeMemory */
|
NULL, /* nodeGetCellsFreeMemory */
|
||||||
NULL, /* getFreeMemory */
|
NULL, /* nodeGetFreeMemory */
|
||||||
NULL, /* domainEventRegister */
|
NULL, /* domainEventRegister */
|
||||||
NULL, /* domainEventDeregister */
|
NULL, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
@ -3814,7 +3814,7 @@ static virDriver phypDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
NULL, /* nodeGetCellsFreeMemory */
|
NULL, /* nodeGetCellsFreeMemory */
|
||||||
NULL, /* getFreeMemory */
|
NULL, /* nodeGetFreeMemory */
|
||||||
NULL, /* domainEventRegister */
|
NULL, /* domainEventRegister */
|
||||||
NULL, /* domainEventDeregister */
|
NULL, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
@ -3848,7 +3848,7 @@ static virDriver phypDriver = {
|
|||||||
NULL, /* domainSnapshotCurrent */
|
NULL, /* domainSnapshotCurrent */
|
||||||
NULL, /* domainRevertToSnapshot */
|
NULL, /* domainRevertToSnapshot */
|
||||||
NULL, /* domainSnapshotDelete */
|
NULL, /* domainSnapshotDelete */
|
||||||
NULL, /* qemuMonitorCommand */
|
NULL, /* qemuDomainMonitorCommand */
|
||||||
NULL, /* domainOpenConsole */
|
NULL, /* domainOpenConsole */
|
||||||
NULL, /* domainInjectNMI */
|
NULL, /* domainInjectNMI */
|
||||||
};
|
};
|
||||||
|
@ -7302,7 +7302,7 @@ static virDriver qemuDriver = {
|
|||||||
qemudDomainGetSecurityLabel, /* domainGetSecurityLabel */
|
qemudDomainGetSecurityLabel, /* domainGetSecurityLabel */
|
||||||
qemudNodeGetSecurityModel, /* nodeGetSecurityModel */
|
qemudNodeGetSecurityModel, /* nodeGetSecurityModel */
|
||||||
qemuDomainGetXMLDesc, /* domainGetXMLDesc */
|
qemuDomainGetXMLDesc, /* domainGetXMLDesc */
|
||||||
qemuDomainXMLFromNative, /* domainXmlFromNative */
|
qemuDomainXMLFromNative, /* domainXMLFromNative */
|
||||||
qemuDomainXMLToNative, /* domainXMLToNative */
|
qemuDomainXMLToNative, /* domainXMLToNative */
|
||||||
qemudListDefinedDomains, /* listDefinedDomains */
|
qemudListDefinedDomains, /* listDefinedDomains */
|
||||||
qemudNumDefinedDomains, /* numOfDefinedDomains */
|
qemudNumDefinedDomains, /* numOfDefinedDomains */
|
||||||
@ -7330,7 +7330,7 @@ static virDriver qemuDriver = {
|
|||||||
qemudDomainMemoryPeek, /* domainMemoryPeek */
|
qemudDomainMemoryPeek, /* domainMemoryPeek */
|
||||||
qemuDomainGetBlockInfo, /* domainGetBlockInfo */
|
qemuDomainGetBlockInfo, /* domainGetBlockInfo */
|
||||||
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
nodeGetFreeMemory, /* getFreeMemory */
|
nodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
qemuDomainEventRegister, /* domainEventRegister */
|
qemuDomainEventRegister, /* domainEventRegister */
|
||||||
qemuDomainEventDeregister, /* domainEventDeregister */
|
qemuDomainEventDeregister, /* domainEventDeregister */
|
||||||
qemudDomainMigratePrepare2, /* domainMigratePrepare2 */
|
qemudDomainMigratePrepare2, /* domainMigratePrepare2 */
|
||||||
|
@ -6473,7 +6473,7 @@ static virDriver remote_driver = {
|
|||||||
remoteDomainMemoryPeek, /* domainMemoryPeek */
|
remoteDomainMemoryPeek, /* domainMemoryPeek */
|
||||||
remoteDomainGetBlockInfo, /* domainGetBlockInfo */
|
remoteDomainGetBlockInfo, /* domainGetBlockInfo */
|
||||||
remoteNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
remoteNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
remoteNodeGetFreeMemory, /* getFreeMemory */
|
remoteNodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
remoteDomainEventRegister, /* domainEventRegister */
|
remoteDomainEventRegister, /* domainEventRegister */
|
||||||
remoteDomainEventDeregister, /* domainEventDeregister */
|
remoteDomainEventDeregister, /* domainEventDeregister */
|
||||||
remoteDomainMigratePrepare2, /* domainMigratePrepare2 */
|
remoteDomainMigratePrepare2, /* domainMigratePrepare2 */
|
||||||
@ -6490,7 +6490,7 @@ static virDriver remote_driver = {
|
|||||||
remoteCPUCompare, /* cpuCompare */
|
remoteCPUCompare, /* cpuCompare */
|
||||||
remoteCPUBaseline, /* cpuBaseline */
|
remoteCPUBaseline, /* cpuBaseline */
|
||||||
remoteDomainGetJobInfo, /* domainGetJobInfo */
|
remoteDomainGetJobInfo, /* domainGetJobInfo */
|
||||||
remoteDomainAbortJob, /* domainFinishJob */
|
remoteDomainAbortJob, /* domainAbortJob */
|
||||||
remoteDomainMigrateSetMaxDowntime, /* domainMigrateSetMaxDowntime */
|
remoteDomainMigrateSetMaxDowntime, /* domainMigrateSetMaxDowntime */
|
||||||
remoteDomainMigrateSetMaxSpeed, /* domainMigrateSetMaxSpeed */
|
remoteDomainMigrateSetMaxSpeed, /* domainMigrateSetMaxSpeed */
|
||||||
remoteDomainEventRegisterAny, /* domainEventRegisterAny */
|
remoteDomainEventRegisterAny, /* domainEventRegisterAny */
|
||||||
|
@ -5394,7 +5394,7 @@ static virDriver testDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
testNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
testNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
NULL, /* getFreeMemory */
|
NULL, /* nodeGetFreeMemory */
|
||||||
testDomainEventRegister, /* domainEventRegister */
|
testDomainEventRegister, /* domainEventRegister */
|
||||||
testDomainEventDeregister, /* domainEventDeregister */
|
testDomainEventDeregister, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
@ -2257,7 +2257,7 @@ static virDriver umlDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
nodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
nodeGetFreeMemory, /* getFreeMemory */
|
nodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
NULL, /* domainEventRegister */
|
NULL, /* domainEventRegister */
|
||||||
NULL, /* domainEventDeregister */
|
NULL, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
@ -978,8 +978,8 @@ static virDriver vmwareDriver = {
|
|||||||
NULL, /* domainGetSecurityLabel */
|
NULL, /* domainGetSecurityLabel */
|
||||||
NULL, /* nodeGetSecurityModel */
|
NULL, /* nodeGetSecurityModel */
|
||||||
vmwareDomainGetXMLDesc, /* domainGetXMLDesc */
|
vmwareDomainGetXMLDesc, /* domainGetXMLDesc */
|
||||||
NULL, /* domainXmlFromNative */
|
NULL, /* domainXMLFromNative */
|
||||||
NULL, /* domainXmlToNative */
|
NULL, /* domainXMLToNative */
|
||||||
vmwareListDefinedDomains, /* listDefinedDomains */
|
vmwareListDefinedDomains, /* listDefinedDomains */
|
||||||
vmwareNumDefinedDomains, /* numOfDefinedDomains */
|
vmwareNumDefinedDomains, /* numOfDefinedDomains */
|
||||||
vmwareDomainCreate, /* domainCreate */
|
vmwareDomainCreate, /* domainCreate */
|
||||||
@ -1006,7 +1006,7 @@ static virDriver vmwareDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
NULL, /* nodeGetCellsFreeMemory */
|
NULL, /* nodeGetCellsFreeMemory */
|
||||||
NULL, /* getFreeMemory */
|
NULL, /* nodeGetFreeMemory */
|
||||||
NULL, /* domainEventRegister */
|
NULL, /* domainEventRegister */
|
||||||
NULL, /* domainEventDeregister */
|
NULL, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
@ -1015,10 +1015,10 @@ static virDriver vmwareDriver = {
|
|||||||
NULL, /* nodeDeviceReAttach */
|
NULL, /* nodeDeviceReAttach */
|
||||||
NULL, /* nodeDeviceReset */
|
NULL, /* nodeDeviceReset */
|
||||||
NULL, /* domainMigratePrepareTunnel */
|
NULL, /* domainMigratePrepareTunnel */
|
||||||
NULL, /* IsEncrypted */
|
NULL, /* isEncrypted */
|
||||||
NULL, /* IsSecure */
|
NULL, /* isSecure */
|
||||||
vmwareDomainIsActive, /* DomainIsActive */
|
vmwareDomainIsActive, /* domainIsActive */
|
||||||
vmwareDomainIsPersistent, /* DomainIsPersistent */
|
vmwareDomainIsPersistent, /* domainIsPersistent */
|
||||||
NULL, /* domainIsUpdated */
|
NULL, /* domainIsUpdated */
|
||||||
NULL, /* cpuCompare */
|
NULL, /* cpuCompare */
|
||||||
NULL, /* cpuBaseline */
|
NULL, /* cpuBaseline */
|
||||||
|
@ -2216,7 +2216,7 @@ static virDriver xenUnifiedDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
xenUnifiedNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
xenUnifiedNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
xenUnifiedNodeGetFreeMemory, /* getFreeMemory */
|
xenUnifiedNodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
xenUnifiedDomainEventRegister, /* domainEventRegister */
|
xenUnifiedDomainEventRegister, /* domainEventRegister */
|
||||||
xenUnifiedDomainEventDeregister, /* domainEventDeregister */
|
xenUnifiedDomainEventDeregister, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
@ -1834,7 +1834,7 @@ static virDriver xenapiDriver = {
|
|||||||
xenapiSupportsFeature, /* supports_feature */
|
xenapiSupportsFeature, /* supports_feature */
|
||||||
xenapiType, /* type */
|
xenapiType, /* type */
|
||||||
xenapiGetVersion, /* version */
|
xenapiGetVersion, /* version */
|
||||||
NULL, /*getlibvirtVersion */
|
NULL, /* libvirtVersion */
|
||||||
xenapiGetHostname, /* getHostname */
|
xenapiGetHostname, /* getHostname */
|
||||||
NULL, /* getSysinfo */
|
NULL, /* getSysinfo */
|
||||||
xenapiGetMaxVcpus, /* getMaxVcpus */
|
xenapiGetMaxVcpus, /* getMaxVcpus */
|
||||||
@ -1875,8 +1875,8 @@ static virDriver xenapiDriver = {
|
|||||||
NULL, /* domainGetSecurityLabel */
|
NULL, /* domainGetSecurityLabel */
|
||||||
NULL, /* nodeGetSecurityModel */
|
NULL, /* nodeGetSecurityModel */
|
||||||
xenapiDomainGetXMLDesc, /* domainGetXMLDesc */
|
xenapiDomainGetXMLDesc, /* domainGetXMLDesc */
|
||||||
NULL, /* domainXmlFromNative */
|
NULL, /* domainXMLFromNative */
|
||||||
NULL, /* domainXmlToNative */
|
NULL, /* domainXMLToNative */
|
||||||
xenapiListDefinedDomains, /* listDefinedDomains */
|
xenapiListDefinedDomains, /* listDefinedDomains */
|
||||||
xenapiNumOfDefinedDomains, /* numOfDefinedDomains */
|
xenapiNumOfDefinedDomains, /* numOfDefinedDomains */
|
||||||
xenapiDomainCreate, /* domainCreate */
|
xenapiDomainCreate, /* domainCreate */
|
||||||
@ -1903,7 +1903,7 @@ static virDriver xenapiDriver = {
|
|||||||
NULL, /* domainMemoryPeek */
|
NULL, /* domainMemoryPeek */
|
||||||
NULL, /* domainGetBlockInfo */
|
NULL, /* domainGetBlockInfo */
|
||||||
xenapiNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
xenapiNodeGetCellsFreeMemory, /* nodeGetCellsFreeMemory */
|
||||||
xenapiNodeGetFreeMemory, /* getFreeMemory */
|
xenapiNodeGetFreeMemory, /* nodeGetFreeMemory */
|
||||||
NULL, /* domainEventRegister */
|
NULL, /* domainEventRegister */
|
||||||
NULL, /* domainEventDeregister */
|
NULL, /* domainEventDeregister */
|
||||||
NULL, /* domainMigratePrepare2 */
|
NULL, /* domainMigratePrepare2 */
|
||||||
|
Loading…
Reference in New Issue
Block a user