mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
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
This commit is contained in:
parent
879d409e9e
commit
9b1ae97fdc
@ -4634,68 +4634,68 @@ esxDomainGetMemoryParameters(virDomainPtr domain, virMemoryParameterPtr params,
|
||||
static virDriver esxDriver = {
|
||||
.no = VIR_DRV_ESX,
|
||||
.name = "ESX",
|
||||
.open = esxOpen,
|
||||
.close = esxClose,
|
||||
.supports_feature = esxSupportsFeature,
|
||||
.type = esxGetType,
|
||||
.version = esxGetVersion,
|
||||
.getHostname = esxGetHostname,
|
||||
.nodeGetInfo = esxNodeGetInfo,
|
||||
.getCapabilities = esxGetCapabilities,
|
||||
.listDomains = esxListDomains,
|
||||
.numOfDomains = esxNumberOfDomains,
|
||||
.domainLookupByID = esxDomainLookupByID,
|
||||
.domainLookupByUUID = esxDomainLookupByUUID,
|
||||
.domainLookupByName = esxDomainLookupByName,
|
||||
.domainSuspend = esxDomainSuspend,
|
||||
.domainResume = esxDomainResume,
|
||||
.domainShutdown = esxDomainShutdown,
|
||||
.domainReboot = esxDomainReboot,
|
||||
.domainDestroy = esxDomainDestroy,
|
||||
.domainGetOSType = esxDomainGetOSType,
|
||||
.domainGetMaxMemory = esxDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = esxDomainSetMaxMemory,
|
||||
.domainSetMemory = esxDomainSetMemory,
|
||||
.domainSetMemoryParameters = esxDomainSetMemoryParameters,
|
||||
.domainGetMemoryParameters = esxDomainGetMemoryParameters,
|
||||
.domainGetInfo = esxDomainGetInfo,
|
||||
.domainGetState = esxDomainGetState,
|
||||
.domainSetVcpus = esxDomainSetVcpus,
|
||||
.domainSetVcpusFlags = esxDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = esxDomainGetVcpusFlags,
|
||||
.domainGetMaxVcpus = esxDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = esxDomainGetXMLDesc,
|
||||
.domainXMLFromNative = esxDomainXMLFromNative,
|
||||
.domainXMLToNative = esxDomainXMLToNative,
|
||||
.listDefinedDomains = esxListDefinedDomains,
|
||||
.numOfDefinedDomains = esxNumberOfDefinedDomains,
|
||||
.domainCreate = esxDomainCreate,
|
||||
.domainCreateWithFlags = esxDomainCreateWithFlags,
|
||||
.domainDefineXML = esxDomainDefineXML,
|
||||
.domainUndefine = esxDomainUndefine,
|
||||
.domainGetAutostart = esxDomainGetAutostart,
|
||||
.domainSetAutostart = esxDomainSetAutostart,
|
||||
.domainGetSchedulerType = esxDomainGetSchedulerType,
|
||||
.domainGetSchedulerParameters = esxDomainGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = esxDomainSetSchedulerParameters,
|
||||
.domainMigratePrepare = esxDomainMigratePrepare,
|
||||
.domainMigratePerform = esxDomainMigratePerform,
|
||||
.domainMigrateFinish = esxDomainMigrateFinish,
|
||||
.nodeGetFreeMemory = esxNodeGetFreeMemory,
|
||||
.isEncrypted = esxIsEncrypted,
|
||||
.isSecure = esxIsSecure,
|
||||
.domainIsActive = esxDomainIsActive,
|
||||
.domainIsPersistent = esxDomainIsPersistent,
|
||||
.domainIsUpdated = esxDomainIsUpdated,
|
||||
.domainSnapshotCreateXML = esxDomainSnapshotCreateXML,
|
||||
.domainSnapshotGetXMLDesc = esxDomainSnapshotGetXMLDesc,
|
||||
.domainSnapshotNum = esxDomainSnapshotNum,
|
||||
.domainSnapshotListNames = esxDomainSnapshotListNames,
|
||||
.domainSnapshotLookupByName = esxDomainSnapshotLookupByName,
|
||||
.domainHasCurrentSnapshot = esxDomainHasCurrentSnapshot,
|
||||
.domainSnapshotCurrent = esxDomainSnapshotCurrent,
|
||||
.domainRevertToSnapshot = esxDomainRevertToSnapshot,
|
||||
.domainSnapshotDelete = esxDomainSnapshotDelete,
|
||||
.open = esxOpen, /* 0.7.0 */
|
||||
.close = esxClose, /* 0.7.0 */
|
||||
.supports_feature = esxSupportsFeature, /* 0.7.0 */
|
||||
.type = esxGetType, /* 0.7.0 */
|
||||
.version = esxGetVersion, /* 0.7.0 */
|
||||
.getHostname = esxGetHostname, /* 0.7.0 */
|
||||
.nodeGetInfo = esxNodeGetInfo, /* 0.7.0 */
|
||||
.getCapabilities = esxGetCapabilities, /* 0.7.1 */
|
||||
.listDomains = esxListDomains, /* 0.7.0 */
|
||||
.numOfDomains = esxNumberOfDomains, /* 0.7.0 */
|
||||
.domainLookupByID = esxDomainLookupByID, /* 0.7.0 */
|
||||
.domainLookupByUUID = esxDomainLookupByUUID, /* 0.7.0 */
|
||||
.domainLookupByName = esxDomainLookupByName, /* 0.7.0 */
|
||||
.domainSuspend = esxDomainSuspend, /* 0.7.0 */
|
||||
.domainResume = esxDomainResume, /* 0.7.0 */
|
||||
.domainShutdown = esxDomainShutdown, /* 0.7.0 */
|
||||
.domainReboot = esxDomainReboot, /* 0.7.0 */
|
||||
.domainDestroy = esxDomainDestroy, /* 0.7.0 */
|
||||
.domainGetOSType = esxDomainGetOSType, /* 0.7.0 */
|
||||
.domainGetMaxMemory = esxDomainGetMaxMemory, /* 0.7.0 */
|
||||
.domainSetMaxMemory = esxDomainSetMaxMemory, /* 0.7.0 */
|
||||
.domainSetMemory = esxDomainSetMemory, /* 0.7.0 */
|
||||
.domainSetMemoryParameters = esxDomainSetMemoryParameters, /* 0.8.6 */
|
||||
.domainGetMemoryParameters = esxDomainGetMemoryParameters, /* 0.8.6 */
|
||||
.domainGetInfo = esxDomainGetInfo, /* 0.7.0 */
|
||||
.domainGetState = esxDomainGetState, /* 0.9.2 */
|
||||
.domainSetVcpus = esxDomainSetVcpus, /* 0.7.0 */
|
||||
.domainSetVcpusFlags = esxDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = esxDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetMaxVcpus = esxDomainGetMaxVcpus, /* 0.7.0 */
|
||||
.domainGetXMLDesc = esxDomainGetXMLDesc, /* 0.7.0 */
|
||||
.domainXMLFromNative = esxDomainXMLFromNative, /* 0.7.0 */
|
||||
.domainXMLToNative = esxDomainXMLToNative, /* 0.7.2 */
|
||||
.listDefinedDomains = esxListDefinedDomains, /* 0.7.0 */
|
||||
.numOfDefinedDomains = esxNumberOfDefinedDomains, /* 0.7.0 */
|
||||
.domainCreate = esxDomainCreate, /* 0.7.0 */
|
||||
.domainCreateWithFlags = esxDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = esxDomainDefineXML, /* 0.7.2 */
|
||||
.domainUndefine = esxDomainUndefine, /* 0.7.1 */
|
||||
.domainGetAutostart = esxDomainGetAutostart, /* 0.9.0 */
|
||||
.domainSetAutostart = esxDomainSetAutostart, /* 0.9.0 */
|
||||
.domainGetSchedulerType = esxDomainGetSchedulerType, /* 0.7.0 */
|
||||
.domainGetSchedulerParameters = esxDomainGetSchedulerParameters, /* 0.7.0 */
|
||||
.domainSetSchedulerParameters = esxDomainSetSchedulerParameters, /* 0.7.0 */
|
||||
.domainMigratePrepare = esxDomainMigratePrepare, /* 0.7.0 */
|
||||
.domainMigratePerform = esxDomainMigratePerform, /* 0.7.0 */
|
||||
.domainMigrateFinish = esxDomainMigrateFinish, /* 0.7.0 */
|
||||
.nodeGetFreeMemory = esxNodeGetFreeMemory, /* 0.7.2 */
|
||||
.isEncrypted = esxIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = esxIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = esxDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = esxDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = esxDomainIsUpdated, /* 0.8.6 */
|
||||
.domainSnapshotCreateXML = esxDomainSnapshotCreateXML, /* 0.8.0 */
|
||||
.domainSnapshotGetXMLDesc = esxDomainSnapshotGetXMLDesc, /* 0.8.0 */
|
||||
.domainSnapshotNum = esxDomainSnapshotNum, /* 0.8.0 */
|
||||
.domainSnapshotListNames = esxDomainSnapshotListNames, /* 0.8.0 */
|
||||
.domainSnapshotLookupByName = esxDomainSnapshotLookupByName, /* 0.8.0 */
|
||||
.domainHasCurrentSnapshot = esxDomainHasCurrentSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotCurrent = esxDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = esxDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = esxDomainSnapshotDelete, /* 0.8.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -67,8 +67,8 @@ esxInterfaceClose(virConnectPtr conn)
|
||||
|
||||
static virInterfaceDriver esxInterfaceDriver = {
|
||||
"ESX", /* name */
|
||||
.open = esxInterfaceOpen,
|
||||
.close = esxInterfaceClose,
|
||||
.open = esxInterfaceOpen, /* 0.7.0 */
|
||||
.close = esxInterfaceClose, /* 0.7.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -67,8 +67,8 @@ esxNetworkClose(virConnectPtr conn)
|
||||
|
||||
static virNetworkDriver esxNetworkDriver = {
|
||||
"ESX", /* name */
|
||||
.open = esxNetworkOpen,
|
||||
.close = esxNetworkClose,
|
||||
.open = esxNetworkOpen, /* 0.7.0 */
|
||||
.close = esxNetworkClose, /* 0.7.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -66,8 +66,8 @@ esxNWFilterClose(virConnectPtr conn)
|
||||
|
||||
static virNWFilterDriver esxNWFilterDriver = {
|
||||
"ESX", /* name */
|
||||
.open = esxNWFilterOpen,
|
||||
.close = esxNWFilterClose,
|
||||
.open = esxNWFilterOpen, /* 0.8.0 */
|
||||
.close = esxNWFilterClose, /* 0.8.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -65,8 +65,8 @@ esxSecretClose(virConnectPtr conn)
|
||||
|
||||
static virSecretDriver esxSecretDriver = {
|
||||
"ESX", /* name */
|
||||
.open = esxSecretOpen,
|
||||
.close = esxSecretClose,
|
||||
.open = esxSecretOpen, /* 0.7.1 */
|
||||
.close = esxSecretClose, /* 0.7.1 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -1642,34 +1642,34 @@ esxStoragePoolIsPersistent(virStoragePoolPtr pool ATTRIBUTE_UNUSED)
|
||||
|
||||
static virStorageDriver esxStorageDriver = {
|
||||
"ESX", /* name */
|
||||
.open = esxStorageOpen,
|
||||
.close = esxStorageClose,
|
||||
.numOfPools = esxNumberOfStoragePools,
|
||||
.listPools = esxListStoragePools,
|
||||
.numOfDefinedPools = esxNumberOfDefinedStoragePools,
|
||||
.listDefinedPools = esxListDefinedStoragePools,
|
||||
.poolLookupByName = esxStoragePoolLookupByName,
|
||||
.poolLookupByUUID = esxStoragePoolLookupByUUID,
|
||||
.poolLookupByVolume = esxStoragePoolLookupByVolume,
|
||||
.poolRefresh = esxStoragePoolRefresh,
|
||||
.poolGetInfo = esxStoragePoolGetInfo,
|
||||
.poolGetXMLDesc = esxStoragePoolGetXMLDesc,
|
||||
.poolGetAutostart = esxStoragePoolGetAutostart,
|
||||
.poolSetAutostart = esxStoragePoolSetAutostart,
|
||||
.poolNumOfVolumes = esxStoragePoolNumberOfStorageVolumes,
|
||||
.poolListVolumes = esxStoragePoolListStorageVolumes,
|
||||
.volLookupByName = esxStorageVolumeLookupByName,
|
||||
.volLookupByKey = esxStorageVolumeLookupByKey,
|
||||
.volLookupByPath = esxStorageVolumeLookupByPath,
|
||||
.volCreateXML = esxStorageVolumeCreateXML,
|
||||
.volCreateXMLFrom = esxStorageVolumeCreateXMLFrom,
|
||||
.volDelete = esxStorageVolumeDelete,
|
||||
.volWipe = esxStorageVolumeWipe,
|
||||
.volGetInfo = esxStorageVolumeGetInfo,
|
||||
.volGetXMLDesc = esxStorageVolumeGetXMLDesc,
|
||||
.volGetPath = esxStorageVolumeGetPath,
|
||||
.poolIsActive = esxStoragePoolIsActive,
|
||||
.poolIsPersistent = esxStoragePoolIsPersistent,
|
||||
.open = esxStorageOpen, /* 0.7.6 */
|
||||
.close = esxStorageClose, /* 0.7.6 */
|
||||
.numOfPools = esxNumberOfStoragePools, /* 0.8.2 */
|
||||
.listPools = esxListStoragePools, /* 0.8.2 */
|
||||
.numOfDefinedPools = esxNumberOfDefinedStoragePools, /* 0.8.2 */
|
||||
.listDefinedPools = esxListDefinedStoragePools, /* 0.8.2 */
|
||||
.poolLookupByName = esxStoragePoolLookupByName, /* 0.8.2 */
|
||||
.poolLookupByUUID = esxStoragePoolLookupByUUID, /* 0.8.2 */
|
||||
.poolLookupByVolume = esxStoragePoolLookupByVolume, /* 0.8.4 */
|
||||
.poolRefresh = esxStoragePoolRefresh, /* 0.8.2 */
|
||||
.poolGetInfo = esxStoragePoolGetInfo, /* 0.8.2 */
|
||||
.poolGetXMLDesc = esxStoragePoolGetXMLDesc, /* 0.8.2 */
|
||||
.poolGetAutostart = esxStoragePoolGetAutostart, /* 0.8.2 */
|
||||
.poolSetAutostart = esxStoragePoolSetAutostart, /* 0.8.2 */
|
||||
.poolNumOfVolumes = esxStoragePoolNumberOfStorageVolumes, /* 0.8.4 */
|
||||
.poolListVolumes = esxStoragePoolListStorageVolumes, /* 0.8.4 */
|
||||
.volLookupByName = esxStorageVolumeLookupByName, /* 0.8.4 */
|
||||
.volLookupByKey = esxStorageVolumeLookupByKey, /* 0.8.4 */
|
||||
.volLookupByPath = esxStorageVolumeLookupByPath, /* 0.8.4 */
|
||||
.volCreateXML = esxStorageVolumeCreateXML, /* 0.8.4 */
|
||||
.volCreateXMLFrom = esxStorageVolumeCreateXMLFrom, /* 0.8.7 */
|
||||
.volDelete = esxStorageVolumeDelete, /* 0.8.7 */
|
||||
.volWipe = esxStorageVolumeWipe, /* 0.8.7 */
|
||||
.volGetInfo = esxStorageVolumeGetInfo, /* 0.8.4 */
|
||||
.volGetXMLDesc = esxStorageVolumeGetXMLDesc, /* 0.8.4 */
|
||||
.volGetPath = esxStorageVolumeGetPath, /* 0.8.4 */
|
||||
.poolIsActive = esxStoragePoolIsActive, /* 0.8.2 */
|
||||
.poolIsPersistent = esxStoragePoolIsPersistent, /* 0.8.2 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -542,20 +542,20 @@ cleanup:
|
||||
|
||||
static virInterfaceDriver interfaceDriver = {
|
||||
"Interface",
|
||||
.open = interfaceOpenInterface,
|
||||
.close = interfaceCloseInterface,
|
||||
.numOfInterfaces = interfaceNumOfInterfaces,
|
||||
.listInterfaces = interfaceListInterfaces,
|
||||
.numOfDefinedInterfaces = interfaceNumOfDefinedInterfaces,
|
||||
.listDefinedInterfaces = interfaceListDefinedInterfaces,
|
||||
.interfaceLookupByName = interfaceLookupByName,
|
||||
.interfaceLookupByMACString = interfaceLookupByMACString,
|
||||
.interfaceGetXMLDesc = interfaceGetXMLDesc,
|
||||
.interfaceDefineXML = interfaceDefineXML,
|
||||
.interfaceUndefine = interfaceUndefine,
|
||||
.interfaceCreate = interfaceCreate,
|
||||
.interfaceDestroy = interfaceDestroy,
|
||||
.interfaceIsActive = interfaceIsActive,
|
||||
.open = interfaceOpenInterface, /* 0.7.0 */
|
||||
.close = interfaceCloseInterface, /* 0.7.0 */
|
||||
.numOfInterfaces = interfaceNumOfInterfaces, /* 0.7.0 */
|
||||
.listInterfaces = interfaceListInterfaces, /* 0.7.0 */
|
||||
.numOfDefinedInterfaces = interfaceNumOfDefinedInterfaces, /* 0.7.0 */
|
||||
.listDefinedInterfaces = interfaceListDefinedInterfaces, /* 0.7.0 */
|
||||
.interfaceLookupByName = interfaceLookupByName, /* 0.7.0 */
|
||||
.interfaceLookupByMACString = interfaceLookupByMACString, /* 0.7.0 */
|
||||
.interfaceGetXMLDesc = interfaceGetXMLDesc, /* 0.7.0 */
|
||||
.interfaceDefineXML = interfaceDefineXML, /* 0.7.0 */
|
||||
.interfaceUndefine = interfaceUndefine, /* 0.7.0 */
|
||||
.interfaceCreate = interfaceCreate, /* 0.7.0 */
|
||||
.interfaceDestroy = interfaceDestroy, /* 0.7.0 */
|
||||
.interfaceIsActive = interfaceIsActive, /* 0.7.3 */
|
||||
};
|
||||
|
||||
int interfaceRegister(void) {
|
||||
|
@ -2690,58 +2690,58 @@ libxlDomainEventDeregisterAny(virConnectPtr conn, int callbackID)
|
||||
static virDriver libxlDriver = {
|
||||
.no = VIR_DRV_LIBXL,
|
||||
.name = "xenlight",
|
||||
.open = libxlOpen,
|
||||
.close = libxlClose,
|
||||
.type = libxlGetType,
|
||||
.version = libxlGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.getMaxVcpus = libxlGetMaxVcpus,
|
||||
.nodeGetInfo = libxlNodeGetInfo,
|
||||
.getCapabilities = libxlGetCapabilities,
|
||||
.listDomains = libxlListDomains,
|
||||
.numOfDomains = libxlNumDomains,
|
||||
.domainCreateXML = libxlDomainCreateXML,
|
||||
.domainLookupByID = libxlDomainLookupByID,
|
||||
.domainLookupByUUID = libxlDomainLookupByUUID,
|
||||
.domainLookupByName = libxlDomainLookupByName,
|
||||
.domainSuspend = libxlDomainSuspend,
|
||||
.domainResume = libxlDomainResume,
|
||||
.domainShutdown = libxlDomainShutdown,
|
||||
.domainReboot = libxlDomainReboot,
|
||||
.domainDestroy = libxlDomainDestroy,
|
||||
.domainGetOSType = libxlDomainGetOSType,
|
||||
.domainGetMaxMemory = libxlDomainGetMaxMemory,
|
||||
.domainSetMemory = libxlDomainSetMemory,
|
||||
.domainSetMemoryFlags = libxlDomainSetMemoryFlags,
|
||||
.domainGetInfo = libxlDomainGetInfo,
|
||||
.domainGetState = libxlDomainGetState,
|
||||
.domainSetVcpus = libxlDomainSetVcpus,
|
||||
.domainSetVcpusFlags = libxlDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = libxlDomainGetVcpusFlags,
|
||||
.domainPinVcpu = libxlDomainPinVcpu,
|
||||
.domainGetVcpus = libxlDomainGetVcpus,
|
||||
.domainGetXMLDesc = libxlDomainGetXMLDesc,
|
||||
.domainXMLFromNative = libxlDomainXMLFromNative,
|
||||
.domainXMLToNative = libxlDomainXMLToNative,
|
||||
.listDefinedDomains = libxlListDefinedDomains,
|
||||
.numOfDefinedDomains = libxlNumDefinedDomains,
|
||||
.domainCreate = libxlDomainCreate,
|
||||
.domainCreateWithFlags = libxlDomainCreateWithFlags,
|
||||
.domainDefineXML = libxlDomainDefineXML,
|
||||
.domainUndefine = libxlDomainUndefine,
|
||||
.domainGetAutostart = libxlDomainGetAutostart,
|
||||
.domainSetAutostart = libxlDomainSetAutostart,
|
||||
.domainGetSchedulerType = libxlDomainGetSchedulerType,
|
||||
.domainGetSchedulerParameters = libxlDomainGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = libxlDomainSetSchedulerParameters,
|
||||
.nodeGetFreeMemory = libxlNodeGetFreeMemory,
|
||||
.domainEventRegister = libxlDomainEventRegister,
|
||||
.domainEventDeregister = libxlDomainEventDeregister,
|
||||
.domainIsActive = libxlDomainIsActive,
|
||||
.domainIsPersistent = libxlDomainIsPersistent,
|
||||
.domainIsUpdated = libxlDomainIsUpdated,
|
||||
.domainEventRegisterAny = libxlDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = libxlDomainEventDeregisterAny,
|
||||
.open = libxlOpen, /* 0.9.0 */
|
||||
.close = libxlClose, /* 0.9.0 */
|
||||
.type = libxlGetType, /* 0.9.0 */
|
||||
.version = libxlGetVersion, /* 0.9.0 */
|
||||
.getHostname = virGetHostname, /* 0.9.0 */
|
||||
.getMaxVcpus = libxlGetMaxVcpus, /* 0.9.0 */
|
||||
.nodeGetInfo = libxlNodeGetInfo, /* 0.9.0 */
|
||||
.getCapabilities = libxlGetCapabilities, /* 0.9.0 */
|
||||
.listDomains = libxlListDomains, /* 0.9.0 */
|
||||
.numOfDomains = libxlNumDomains, /* 0.9.0 */
|
||||
.domainCreateXML = libxlDomainCreateXML, /* 0.9.0 */
|
||||
.domainLookupByID = libxlDomainLookupByID, /* 0.9.0 */
|
||||
.domainLookupByUUID = libxlDomainLookupByUUID, /* 0.9.0 */
|
||||
.domainLookupByName = libxlDomainLookupByName, /* 0.9.0 */
|
||||
.domainSuspend = libxlDomainSuspend, /* 0.9.0 */
|
||||
.domainResume = libxlDomainResume, /* 0.9.0 */
|
||||
.domainShutdown = libxlDomainShutdown, /* 0.9.0 */
|
||||
.domainReboot = libxlDomainReboot, /* 0.9.0 */
|
||||
.domainDestroy = libxlDomainDestroy, /* 0.9.0 */
|
||||
.domainGetOSType = libxlDomainGetOSType, /* 0.9.0 */
|
||||
.domainGetMaxMemory = libxlDomainGetMaxMemory, /* 0.9.0 */
|
||||
.domainSetMemory = libxlDomainSetMemory, /* 0.9.0 */
|
||||
.domainSetMemoryFlags = libxlDomainSetMemoryFlags, /* 0.9.0 */
|
||||
.domainGetInfo = libxlDomainGetInfo, /* 0.9.0 */
|
||||
.domainGetState = libxlDomainGetState, /* 0.9.2 */
|
||||
.domainSetVcpus = libxlDomainSetVcpus, /* 0.9.0 */
|
||||
.domainSetVcpusFlags = libxlDomainSetVcpusFlags, /* 0.9.0 */
|
||||
.domainGetVcpusFlags = libxlDomainGetVcpusFlags, /* 0.9.0 */
|
||||
.domainPinVcpu = libxlDomainPinVcpu, /* 0.9.0 */
|
||||
.domainGetVcpus = libxlDomainGetVcpus, /* 0.9.0 */
|
||||
.domainGetXMLDesc = libxlDomainGetXMLDesc, /* 0.9.0 */
|
||||
.domainXMLFromNative = libxlDomainXMLFromNative, /* 0.9.0 */
|
||||
.domainXMLToNative = libxlDomainXMLToNative, /* 0.9.0 */
|
||||
.listDefinedDomains = libxlListDefinedDomains, /* 0.9.0 */
|
||||
.numOfDefinedDomains = libxlNumDefinedDomains, /* 0.9.0 */
|
||||
.domainCreate = libxlDomainCreate, /* 0.9.0 */
|
||||
.domainCreateWithFlags = libxlDomainCreateWithFlags, /* 0.9.0 */
|
||||
.domainDefineXML = libxlDomainDefineXML, /* 0.9.0 */
|
||||
.domainUndefine = libxlDomainUndefine, /* 0.9.0 */
|
||||
.domainGetAutostart = libxlDomainGetAutostart, /* 0.9.0 */
|
||||
.domainSetAutostart = libxlDomainSetAutostart, /* 0.9.0 */
|
||||
.domainGetSchedulerType = libxlDomainGetSchedulerType, /* 0.9.0 */
|
||||
.domainGetSchedulerParameters = libxlDomainGetSchedulerParameters, /* 0.9.0 */
|
||||
.domainSetSchedulerParameters = libxlDomainSetSchedulerParameters, /* 0.9.0 */
|
||||
.nodeGetFreeMemory = libxlNodeGetFreeMemory, /* 0.9.0 */
|
||||
.domainEventRegister = libxlDomainEventRegister, /* 0.9.0 */
|
||||
.domainEventDeregister = libxlDomainEventDeregister, /* 0.9.0 */
|
||||
.domainIsActive = libxlDomainIsActive, /* 0.9.0 */
|
||||
.domainIsPersistent = libxlDomainIsPersistent, /* 0.9.0 */
|
||||
.domainIsUpdated = libxlDomainIsUpdated, /* 0.9.0 */
|
||||
.domainEventRegisterAny = libxlDomainEventRegisterAny, /* 0.9.0 */
|
||||
.domainEventDeregisterAny = libxlDomainEventDeregisterAny, /* 0.9.0 */
|
||||
};
|
||||
|
||||
static virStateDriver libxlStateDriver = {
|
||||
|
@ -2716,54 +2716,54 @@ cleanup:
|
||||
static virDriver lxcDriver = {
|
||||
.no = VIR_DRV_LXC,
|
||||
.name = "LXC",
|
||||
.open = lxcOpen,
|
||||
.close = lxcClose,
|
||||
.version = lxcVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.nodeGetInfo = nodeGetInfo,
|
||||
.getCapabilities = lxcGetCapabilities,
|
||||
.listDomains = lxcListDomains,
|
||||
.numOfDomains = lxcNumDomains,
|
||||
.domainCreateXML = lxcDomainCreateAndStart,
|
||||
.domainLookupByID = lxcDomainLookupByID,
|
||||
.domainLookupByUUID = lxcDomainLookupByUUID,
|
||||
.domainLookupByName = lxcDomainLookupByName,
|
||||
.domainSuspend = lxcDomainSuspend,
|
||||
.domainResume = lxcDomainResume,
|
||||
.domainDestroy = lxcDomainDestroy,
|
||||
.domainGetOSType = lxcGetOSType,
|
||||
.domainGetMaxMemory = lxcDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = lxcDomainSetMaxMemory,
|
||||
.domainSetMemory = lxcDomainSetMemory,
|
||||
.domainSetMemoryParameters = lxcDomainSetMemoryParameters,
|
||||
.domainGetMemoryParameters = lxcDomainGetMemoryParameters,
|
||||
.domainGetInfo = lxcDomainGetInfo,
|
||||
.domainGetState = lxcDomainGetState,
|
||||
.domainGetXMLDesc = lxcDomainGetXMLDesc,
|
||||
.listDefinedDomains = lxcListDefinedDomains,
|
||||
.numOfDefinedDomains = lxcNumDefinedDomains,
|
||||
.domainCreate = lxcDomainStart,
|
||||
.domainCreateWithFlags = lxcDomainStartWithFlags,
|
||||
.domainDefineXML = lxcDomainDefine,
|
||||
.domainUndefine = lxcDomainUndefine,
|
||||
.domainGetAutostart = lxcDomainGetAutostart,
|
||||
.domainSetAutostart = lxcDomainSetAutostart,
|
||||
.domainGetSchedulerType = lxcGetSchedulerType,
|
||||
.domainGetSchedulerParameters = lxcGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = lxcSetSchedulerParameters,
|
||||
.domainInterfaceStats = lxcDomainInterfaceStats,
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory,
|
||||
.domainEventRegister = lxcDomainEventRegister,
|
||||
.domainEventDeregister = lxcDomainEventDeregister,
|
||||
.isEncrypted = lxcIsEncrypted,
|
||||
.isSecure = lxcIsSecure,
|
||||
.domainIsActive = lxcDomainIsActive,
|
||||
.domainIsPersistent = lxcDomainIsPersistent,
|
||||
.domainIsUpdated = lxcDomainIsUpdated,
|
||||
.domainEventRegisterAny = lxcDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = lxcDomainEventDeregisterAny,
|
||||
.domainOpenConsole = lxcDomainOpenConsole,
|
||||
.open = lxcOpen, /* 0.4.2 */
|
||||
.close = lxcClose, /* 0.4.2 */
|
||||
.version = lxcVersion, /* 0.4.6 */
|
||||
.getHostname = virGetHostname, /* 0.6.3 */
|
||||
.nodeGetInfo = nodeGetInfo, /* 0.6.5 */
|
||||
.getCapabilities = lxcGetCapabilities, /* 0.6.5 */
|
||||
.listDomains = lxcListDomains, /* 0.4.2 */
|
||||
.numOfDomains = lxcNumDomains, /* 0.4.2 */
|
||||
.domainCreateXML = lxcDomainCreateAndStart, /* 0.4.4 */
|
||||
.domainLookupByID = lxcDomainLookupByID, /* 0.4.2 */
|
||||
.domainLookupByUUID = lxcDomainLookupByUUID, /* 0.4.2 */
|
||||
.domainLookupByName = lxcDomainLookupByName, /* 0.4.2 */
|
||||
.domainSuspend = lxcDomainSuspend, /* 0.7.2 */
|
||||
.domainResume = lxcDomainResume, /* 0.7.2 */
|
||||
.domainDestroy = lxcDomainDestroy, /* 0.4.4 */
|
||||
.domainGetOSType = lxcGetOSType, /* 0.4.2 */
|
||||
.domainGetMaxMemory = lxcDomainGetMaxMemory, /* 0.7.2 */
|
||||
.domainSetMaxMemory = lxcDomainSetMaxMemory, /* 0.7.2 */
|
||||
.domainSetMemory = lxcDomainSetMemory, /* 0.7.2 */
|
||||
.domainSetMemoryParameters = lxcDomainSetMemoryParameters, /* 0.8.5 */
|
||||
.domainGetMemoryParameters = lxcDomainGetMemoryParameters, /* 0.8.5 */
|
||||
.domainGetInfo = lxcDomainGetInfo, /* 0.4.2 */
|
||||
.domainGetState = lxcDomainGetState, /* 0.9.2 */
|
||||
.domainGetXMLDesc = lxcDomainGetXMLDesc, /* 0.4.2 */
|
||||
.listDefinedDomains = lxcListDefinedDomains, /* 0.4.2 */
|
||||
.numOfDefinedDomains = lxcNumDefinedDomains, /* 0.4.2 */
|
||||
.domainCreate = lxcDomainStart, /* 0.4.4 */
|
||||
.domainCreateWithFlags = lxcDomainStartWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = lxcDomainDefine, /* 0.4.2 */
|
||||
.domainUndefine = lxcDomainUndefine, /* 0.4.2 */
|
||||
.domainGetAutostart = lxcDomainGetAutostart, /* 0.7.0 */
|
||||
.domainSetAutostart = lxcDomainSetAutostart, /* 0.7.0 */
|
||||
.domainGetSchedulerType = lxcGetSchedulerType, /* 0.5.0 */
|
||||
.domainGetSchedulerParameters = lxcGetSchedulerParameters, /* 0.5.0 */
|
||||
.domainSetSchedulerParameters = lxcSetSchedulerParameters, /* 0.5.0 */
|
||||
.domainInterfaceStats = lxcDomainInterfaceStats, /* 0.7.3 */
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.6.5 */
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory, /* 0.6.5 */
|
||||
.domainEventRegister = lxcDomainEventRegister, /* 0.7.0 */
|
||||
.domainEventDeregister = lxcDomainEventDeregister, /* 0.7.0 */
|
||||
.isEncrypted = lxcIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = lxcIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = lxcDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = lxcDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = lxcDomainIsUpdated, /* 0.8.6 */
|
||||
.domainEventRegisterAny = lxcDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = lxcDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainOpenConsole = lxcDomainOpenConsole, /* 0.8.6 */
|
||||
};
|
||||
|
||||
static virStateDriver lxcStateDriver = {
|
||||
|
@ -2504,25 +2504,25 @@ cleanup:
|
||||
|
||||
static virNetworkDriver networkDriver = {
|
||||
"Network",
|
||||
.open = networkOpenNetwork,
|
||||
.close = networkCloseNetwork,
|
||||
.numOfNetworks = networkNumNetworks,
|
||||
.listNetworks = networkListNetworks,
|
||||
.numOfDefinedNetworks = networkNumDefinedNetworks,
|
||||
.listDefinedNetworks = networkListDefinedNetworks,
|
||||
.networkLookupByUUID = networkLookupByUUID,
|
||||
.networkLookupByName = networkLookupByName,
|
||||
.networkCreateXML = networkCreate,
|
||||
.networkDefineXML = networkDefine,
|
||||
.networkUndefine = networkUndefine,
|
||||
.networkCreate = networkStart,
|
||||
.networkDestroy = networkDestroy,
|
||||
.networkGetXMLDesc = networkGetXMLDesc,
|
||||
.networkGetBridgeName = networkGetBridgeName,
|
||||
.networkGetAutostart = networkGetAutostart,
|
||||
.networkSetAutostart = networkSetAutostart,
|
||||
networkIsActive,
|
||||
networkIsPersistent,
|
||||
.open = networkOpenNetwork, /* 0.2.0 */
|
||||
.close = networkCloseNetwork, /* 0.2.0 */
|
||||
.numOfNetworks = networkNumNetworks, /* 0.2.0 */
|
||||
.listNetworks = networkListNetworks, /* 0.2.0 */
|
||||
.numOfDefinedNetworks = networkNumDefinedNetworks, /* 0.2.0 */
|
||||
.listDefinedNetworks = networkListDefinedNetworks, /* 0.2.0 */
|
||||
.networkLookupByUUID = networkLookupByUUID, /* 0.2.0 */
|
||||
.networkLookupByName = networkLookupByName, /* 0.2.0 */
|
||||
.networkCreateXML = networkCreate, /* 0.2.0 */
|
||||
.networkDefineXML = networkDefine, /* 0.2.0 */
|
||||
.networkUndefine = networkUndefine, /* 0.2.0 */
|
||||
.networkCreate = networkStart, /* 0.2.0 */
|
||||
.networkDestroy = networkDestroy, /* 0.2.0 */
|
||||
.networkGetXMLDesc = networkGetXMLDesc, /* 0.2.0 */
|
||||
.networkGetBridgeName = networkGetBridgeName, /* 0.2.0 */
|
||||
.networkGetAutostart = networkGetAutostart, /* 0.2.1 */
|
||||
.networkSetAutostart = networkSetAutostart, /* 0.2.1 */
|
||||
.networkIsActive = networkIsActive, /* 0.7.3 */
|
||||
.networkIsPersistent = networkIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virStateDriver networkStateDriver = {
|
||||
|
@ -449,15 +449,15 @@ nwfilterTeardownFilter(virDomainNetDefPtr net) {
|
||||
|
||||
static virNWFilterDriver nwfilterDriver = {
|
||||
.name = "nwfilter",
|
||||
.open = nwfilterOpen,
|
||||
.close = nwfilterClose,
|
||||
.numOfNWFilters = nwfilterNumNWFilters,
|
||||
.listNWFilters = nwfilterListNWFilters,
|
||||
.nwfilterLookupByName = nwfilterLookupByName,
|
||||
.nwfilterLookupByUUID = nwfilterLookupByUUID,
|
||||
.defineXML = nwfilterDefine,
|
||||
.undefine = nwfilterUndefine,
|
||||
.getXMLDesc = nwfilterGetXMLDesc,
|
||||
.open = nwfilterOpen, /* 0.8.0 */
|
||||
.close = nwfilterClose, /* 0.8.0 */
|
||||
.numOfNWFilters = nwfilterNumNWFilters, /* 0.8.0 */
|
||||
.listNWFilters = nwfilterListNWFilters, /* 0.8.0 */
|
||||
.nwfilterLookupByName = nwfilterLookupByName, /* 0.8.0 */
|
||||
.nwfilterLookupByUUID = nwfilterLookupByUUID, /* 0.8.0 */
|
||||
.defineXML = nwfilterDefine, /* 0.8.0 */
|
||||
.undefine = nwfilterUndefine, /* 0.8.0 */
|
||||
.getXMLDesc = nwfilterGetXMLDesc, /* 0.8.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -1579,45 +1579,45 @@ cleanup:
|
||||
static virDriver openvzDriver = {
|
||||
.no = VIR_DRV_OPENVZ,
|
||||
.name = "OPENVZ",
|
||||
.open = openvzOpen,
|
||||
.close = openvzClose,
|
||||
.type = openvzGetType,
|
||||
.version = openvzGetVersion,
|
||||
.getMaxVcpus = openvzGetMaxVCPUs,
|
||||
.nodeGetInfo = nodeGetInfo,
|
||||
.getCapabilities = openvzGetCapabilities,
|
||||
.listDomains = openvzListDomains,
|
||||
.numOfDomains = openvzNumDomains,
|
||||
.domainCreateXML = openvzDomainCreateXML,
|
||||
.domainLookupByID = openvzDomainLookupByID,
|
||||
.domainLookupByUUID = openvzDomainLookupByUUID,
|
||||
.domainLookupByName = openvzDomainLookupByName,
|
||||
.domainSuspend = openvzDomainSuspend,
|
||||
.domainResume = openvzDomainResume,
|
||||
.domainShutdown = openvzDomainShutdown,
|
||||
.domainReboot = openvzDomainReboot,
|
||||
.domainDestroy = openvzDomainShutdown,
|
||||
.domainGetOSType = openvzGetOSType,
|
||||
.domainGetInfo = openvzDomainGetInfo,
|
||||
.domainGetState = openvzDomainGetState,
|
||||
.domainSetVcpus = openvzDomainSetVcpus,
|
||||
.domainSetVcpusFlags = openvzDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = openvzDomainGetVcpusFlags,
|
||||
.domainGetMaxVcpus = openvzDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = openvzDomainGetXMLDesc,
|
||||
.listDefinedDomains = openvzListDefinedDomains,
|
||||
.numOfDefinedDomains = openvzNumDefinedDomains,
|
||||
.domainCreate = openvzDomainCreate,
|
||||
.domainCreateWithFlags = openvzDomainCreateWithFlags,
|
||||
.domainDefineXML = openvzDomainDefineXML,
|
||||
.domainUndefine = openvzDomainUndefine,
|
||||
.domainGetAutostart = openvzDomainGetAutostart,
|
||||
.domainSetAutostart = openvzDomainSetAutostart,
|
||||
.isEncrypted = openvzIsEncrypted,
|
||||
.isSecure = openvzIsSecure,
|
||||
.domainIsActive = openvzDomainIsActive,
|
||||
.domainIsPersistent = openvzDomainIsPersistent,
|
||||
.domainIsUpdated = openvzDomainIsUpdated,
|
||||
.open = openvzOpen, /* 0.3.1 */
|
||||
.close = openvzClose, /* 0.3.1 */
|
||||
.type = openvzGetType, /* 0.3.1 */
|
||||
.version = openvzGetVersion, /* 0.5.0 */
|
||||
.getMaxVcpus = openvzGetMaxVCPUs, /* 0.4.6 */
|
||||
.nodeGetInfo = nodeGetInfo, /* 0.3.2 */
|
||||
.getCapabilities = openvzGetCapabilities, /* 0.4.6 */
|
||||
.listDomains = openvzListDomains, /* 0.3.1 */
|
||||
.numOfDomains = openvzNumDomains, /* 0.3.1 */
|
||||
.domainCreateXML = openvzDomainCreateXML, /* 0.3.3 */
|
||||
.domainLookupByID = openvzDomainLookupByID, /* 0.3.1 */
|
||||
.domainLookupByUUID = openvzDomainLookupByUUID, /* 0.3.1 */
|
||||
.domainLookupByName = openvzDomainLookupByName, /* 0.3.1 */
|
||||
.domainSuspend = openvzDomainSuspend, /* 0.8.3 */
|
||||
.domainResume = openvzDomainResume, /* 0.8.3 */
|
||||
.domainShutdown = openvzDomainShutdown, /* 0.3.1 */
|
||||
.domainReboot = openvzDomainReboot, /* 0.3.1 */
|
||||
.domainDestroy = openvzDomainShutdown, /* 0.3.1 */
|
||||
.domainGetOSType = openvzGetOSType, /* 0.3.1 */
|
||||
.domainGetInfo = openvzDomainGetInfo, /* 0.3.1 */
|
||||
.domainGetState = openvzDomainGetState, /* 0.9.2 */
|
||||
.domainSetVcpus = openvzDomainSetVcpus, /* 0.4.6 */
|
||||
.domainSetVcpusFlags = openvzDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = openvzDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetMaxVcpus = openvzDomainGetMaxVcpus, /* 0.4.6 */
|
||||
.domainGetXMLDesc = openvzDomainGetXMLDesc, /* 0.4.6 */
|
||||
.listDefinedDomains = openvzListDefinedDomains, /* 0.3.1 */
|
||||
.numOfDefinedDomains = openvzNumDefinedDomains, /* 0.3.1 */
|
||||
.domainCreate = openvzDomainCreate, /* 0.3.1 */
|
||||
.domainCreateWithFlags = openvzDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = openvzDomainDefineXML, /* 0.3.3 */
|
||||
.domainUndefine = openvzDomainUndefine, /* 0.3.3 */
|
||||
.domainGetAutostart = openvzDomainGetAutostart, /* 0.4.6 */
|
||||
.domainSetAutostart = openvzDomainSetAutostart, /* 0.4.6 */
|
||||
.isEncrypted = openvzIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = openvzIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = openvzDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = openvzDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = openvzDomainIsUpdated, /* 0.8.6 */
|
||||
};
|
||||
|
||||
int openvzRegister(void) {
|
||||
|
@ -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,
|
||||
.open = phypVIOSDriverOpen, /* 0.8.2 */
|
||||
.close = phypVIOSDriverClose, /* 0.8.2 */
|
||||
|
||||
.numOfPools = phypNumOfStoragePools,
|
||||
.listPools = phypListStoragePools,
|
||||
.poolLookupByName = phypStoragePoolLookupByName,
|
||||
.poolLookupByUUID = phypGetStoragePoolLookUpByUUID,
|
||||
.poolCreateXML = phypStoragePoolCreateXML,
|
||||
.poolDestroy = phypDestroyStoragePool,
|
||||
.poolGetXMLDesc = phypGetStoragePoolXMLDesc,
|
||||
.poolNumOfVolumes = phypStoragePoolNumOfVolumes,
|
||||
.poolListVolumes = phypStoragePoolListVolumes,
|
||||
.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,
|
||||
.volLookupByPath = phypVolumeLookupByPath,
|
||||
.volCreateXML = phypStorageVolCreateXML,
|
||||
.volGetXMLDesc = phypVolumeGetXMLDesc,
|
||||
.volGetPath = phypVolumeGetPath,
|
||||
.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
|
||||
|
@ -7256,113 +7256,113 @@ cleanup:
|
||||
static virDriver qemuDriver = {
|
||||
.no = VIR_DRV_QEMU,
|
||||
.name = "QEMU",
|
||||
.open = qemudOpen,
|
||||
.close = qemudClose,
|
||||
.supports_feature = qemudSupportsFeature,
|
||||
.type = qemudGetType,
|
||||
.version = qemudGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.getSysinfo = qemuGetSysinfo,
|
||||
.getMaxVcpus = qemudGetMaxVCPUs,
|
||||
.nodeGetInfo = nodeGetInfo,
|
||||
.getCapabilities = qemudGetCapabilities,
|
||||
.listDomains = qemudListDomains,
|
||||
.numOfDomains = qemudNumDomains,
|
||||
.domainCreateXML = qemudDomainCreate,
|
||||
.domainLookupByID = qemudDomainLookupByID,
|
||||
.domainLookupByUUID = qemudDomainLookupByUUID,
|
||||
.domainLookupByName = qemudDomainLookupByName,
|
||||
.domainSuspend = qemudDomainSuspend,
|
||||
.domainResume = qemudDomainResume,
|
||||
.domainShutdown = qemudDomainShutdown,
|
||||
.domainDestroy = qemudDomainDestroy,
|
||||
.domainGetOSType = qemudDomainGetOSType,
|
||||
.domainGetMaxMemory = qemudDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = qemudDomainSetMaxMemory,
|
||||
.domainSetMemory = qemudDomainSetMemory,
|
||||
.domainSetMemoryFlags = qemudDomainSetMemoryFlags,
|
||||
.domainSetMemoryParameters = qemuDomainSetMemoryParameters,
|
||||
.domainGetMemoryParameters = qemuDomainGetMemoryParameters,
|
||||
.domainSetBlkioParameters = qemuDomainSetBlkioParameters,
|
||||
.domainGetBlkioParameters = qemuDomainGetBlkioParameters,
|
||||
.domainGetInfo = qemudDomainGetInfo,
|
||||
.domainGetState = qemuDomainGetState,
|
||||
.domainSave = qemudDomainSave,
|
||||
.domainRestore = qemuDomainRestore,
|
||||
.domainCoreDump = qemudDomainCoreDump,
|
||||
.domainScreenshot = qemuDomainScreenshot,
|
||||
.domainSetVcpus = qemudDomainSetVcpus,
|
||||
.domainSetVcpusFlags = qemudDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = qemudDomainGetVcpusFlags,
|
||||
.domainPinVcpu = qemudDomainPinVcpu,
|
||||
.domainGetVcpus = qemudDomainGetVcpus,
|
||||
.domainGetMaxVcpus = qemudDomainGetMaxVcpus,
|
||||
.domainGetSecurityLabel = qemudDomainGetSecurityLabel,
|
||||
.nodeGetSecurityModel = qemudNodeGetSecurityModel,
|
||||
.domainGetXMLDesc = qemuDomainGetXMLDesc,
|
||||
.domainXMLFromNative = qemuDomainXMLFromNative,
|
||||
.domainXMLToNative = qemuDomainXMLToNative,
|
||||
.listDefinedDomains = qemudListDefinedDomains,
|
||||
.numOfDefinedDomains = qemudNumDefinedDomains,
|
||||
.domainCreate = qemudDomainStart,
|
||||
.domainCreateWithFlags = qemudDomainStartWithFlags,
|
||||
.domainDefineXML = qemudDomainDefine,
|
||||
.domainUndefine = qemudDomainUndefine,
|
||||
.domainAttachDevice = qemuDomainAttachDevice,
|
||||
.domainAttachDeviceFlags = qemuDomainAttachDeviceFlags,
|
||||
.domainDetachDevice = qemuDomainDetachDevice,
|
||||
.domainDetachDeviceFlags = qemuDomainDetachDeviceFlags,
|
||||
.domainUpdateDeviceFlags = qemuDomainUpdateDeviceFlags,
|
||||
.domainGetAutostart = qemudDomainGetAutostart,
|
||||
.domainSetAutostart = qemudDomainSetAutostart,
|
||||
.domainGetSchedulerType = qemuGetSchedulerType,
|
||||
.domainGetSchedulerParameters = qemuGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = qemuSetSchedulerParameters,
|
||||
.domainMigratePerform = qemudDomainMigratePerform,
|
||||
.domainBlockStats = qemudDomainBlockStats,
|
||||
.domainInterfaceStats = qemudDomainInterfaceStats,
|
||||
.domainMemoryStats = qemudDomainMemoryStats,
|
||||
.domainBlockPeek = qemudDomainBlockPeek,
|
||||
.domainMemoryPeek = qemudDomainMemoryPeek,
|
||||
.domainGetBlockInfo = qemuDomainGetBlockInfo,
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory,
|
||||
.domainEventRegister = qemuDomainEventRegister,
|
||||
.domainEventDeregister = qemuDomainEventDeregister,
|
||||
.domainMigratePrepare2 = qemudDomainMigratePrepare2,
|
||||
.domainMigrateFinish2 = qemudDomainMigrateFinish2,
|
||||
.nodeDeviceDettach = qemudNodeDeviceDettach,
|
||||
.nodeDeviceReAttach = qemudNodeDeviceReAttach,
|
||||
.nodeDeviceReset = qemudNodeDeviceReset,
|
||||
.domainMigratePrepareTunnel = qemudDomainMigratePrepareTunnel,
|
||||
.isEncrypted = qemuIsEncrypted,
|
||||
.isSecure = qemuIsSecure,
|
||||
.domainIsActive = qemuDomainIsActive,
|
||||
.domainIsPersistent = qemuDomainIsPersistent,
|
||||
.domainIsUpdated = qemuDomainIsUpdated,
|
||||
.cpuCompare = qemuCPUCompare,
|
||||
.cpuBaseline = qemuCPUBaseline,
|
||||
.domainGetJobInfo = qemuDomainGetJobInfo,
|
||||
.domainAbortJob = qemuDomainAbortJob,
|
||||
.domainMigrateSetMaxDowntime = qemuDomainMigrateSetMaxDowntime,
|
||||
.domainMigrateSetMaxSpeed = qemuDomainMigrateSetMaxSpeed,
|
||||
.domainEventRegisterAny = qemuDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = qemuDomainEventDeregisterAny,
|
||||
.domainManagedSave = qemuDomainManagedSave,
|
||||
.domainHasManagedSaveImage = qemuDomainHasManagedSaveImage,
|
||||
.domainManagedSaveRemove = qemuDomainManagedSaveRemove,
|
||||
.domainSnapshotCreateXML = qemuDomainSnapshotCreateXML,
|
||||
.domainSnapshotGetXMLDesc = qemuDomainSnapshotGetXMLDesc,
|
||||
.domainSnapshotNum = qemuDomainSnapshotNum,
|
||||
.domainSnapshotListNames = qemuDomainSnapshotListNames,
|
||||
.domainSnapshotLookupByName = qemuDomainSnapshotLookupByName,
|
||||
.domainHasCurrentSnapshot = qemuDomainHasCurrentSnapshot,
|
||||
.domainSnapshotCurrent = qemuDomainSnapshotCurrent,
|
||||
.domainRevertToSnapshot = qemuDomainRevertToSnapshot,
|
||||
.domainSnapshotDelete = qemuDomainSnapshotDelete,
|
||||
.qemuDomainMonitorCommand = qemuDomainMonitorCommand,
|
||||
.domainOpenConsole = qemuDomainOpenConsole,
|
||||
.domainInjectNMI = qemuDomainInjectNMI,
|
||||
.open = qemudOpen, /* 0.2.0 */
|
||||
.close = qemudClose, /* 0.2.0 */
|
||||
.supports_feature = qemudSupportsFeature, /* 0.5.0 */
|
||||
.type = qemudGetType, /* 0.2.0 */
|
||||
.version = qemudGetVersion, /* 0.2.0 */
|
||||
.getHostname = virGetHostname, /* 0.3.3 */
|
||||
.getSysinfo = qemuGetSysinfo, /* 0.8.8 */
|
||||
.getMaxVcpus = qemudGetMaxVCPUs, /* 0.2.1 */
|
||||
.nodeGetInfo = nodeGetInfo, /* 0.2.0 */
|
||||
.getCapabilities = qemudGetCapabilities, /* 0.2.1 */
|
||||
.listDomains = qemudListDomains, /* 0.2.0 */
|
||||
.numOfDomains = qemudNumDomains, /* 0.2.0 */
|
||||
.domainCreateXML = qemudDomainCreate, /* 0.2.0 */
|
||||
.domainLookupByID = qemudDomainLookupByID, /* 0.2.0 */
|
||||
.domainLookupByUUID = qemudDomainLookupByUUID, /* 0.2.0 */
|
||||
.domainLookupByName = qemudDomainLookupByName, /* 0.2.0 */
|
||||
.domainSuspend = qemudDomainSuspend, /* 0.2.0 */
|
||||
.domainResume = qemudDomainResume, /* 0.2.0 */
|
||||
.domainShutdown = qemudDomainShutdown, /* 0.2.0 */
|
||||
.domainDestroy = qemudDomainDestroy, /* 0.2.0 */
|
||||
.domainGetOSType = qemudDomainGetOSType, /* 0.2.2 */
|
||||
.domainGetMaxMemory = qemudDomainGetMaxMemory, /* 0.4.2 */
|
||||
.domainSetMaxMemory = qemudDomainSetMaxMemory, /* 0.4.2 */
|
||||
.domainSetMemory = qemudDomainSetMemory, /* 0.4.2 */
|
||||
.domainSetMemoryFlags = qemudDomainSetMemoryFlags, /* 0.9.0 */
|
||||
.domainSetMemoryParameters = qemuDomainSetMemoryParameters, /* 0.8.5 */
|
||||
.domainGetMemoryParameters = qemuDomainGetMemoryParameters, /* 0.8.5 */
|
||||
.domainSetBlkioParameters = qemuDomainSetBlkioParameters, /* 0.9.0 */
|
||||
.domainGetBlkioParameters = qemuDomainGetBlkioParameters, /* 0.9.0 */
|
||||
.domainGetInfo = qemudDomainGetInfo, /* 0.2.0 */
|
||||
.domainGetState = qemuDomainGetState, /* 0.9.2 */
|
||||
.domainSave = qemudDomainSave, /* 0.2.0 */
|
||||
.domainRestore = qemuDomainRestore, /* 0.2.0 */
|
||||
.domainCoreDump = qemudDomainCoreDump, /* 0.7.0 */
|
||||
.domainScreenshot = qemuDomainScreenshot, /* 0.9.2 */
|
||||
.domainSetVcpus = qemudDomainSetVcpus, /* 0.4.4 */
|
||||
.domainSetVcpusFlags = qemudDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = qemudDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainPinVcpu = qemudDomainPinVcpu, /* 0.4.4 */
|
||||
.domainGetVcpus = qemudDomainGetVcpus, /* 0.4.4 */
|
||||
.domainGetMaxVcpus = qemudDomainGetMaxVcpus, /* 0.4.4 */
|
||||
.domainGetSecurityLabel = qemudDomainGetSecurityLabel, /* 0.6.1 */
|
||||
.nodeGetSecurityModel = qemudNodeGetSecurityModel, /* 0.6.1 */
|
||||
.domainGetXMLDesc = qemuDomainGetXMLDesc, /* 0.2.0 */
|
||||
.domainXMLFromNative = qemuDomainXMLFromNative, /* 0.6.4 */
|
||||
.domainXMLToNative = qemuDomainXMLToNative, /* 0.6.4 */
|
||||
.listDefinedDomains = qemudListDefinedDomains, /* 0.2.0 */
|
||||
.numOfDefinedDomains = qemudNumDefinedDomains, /* 0.2.0 */
|
||||
.domainCreate = qemudDomainStart, /* 0.2.0 */
|
||||
.domainCreateWithFlags = qemudDomainStartWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = qemudDomainDefine, /* 0.2.0 */
|
||||
.domainUndefine = qemudDomainUndefine, /* 0.2.0 */
|
||||
.domainAttachDevice = qemuDomainAttachDevice, /* 0.4.1 */
|
||||
.domainAttachDeviceFlags = qemuDomainAttachDeviceFlags, /* 0.7.7 */
|
||||
.domainDetachDevice = qemuDomainDetachDevice, /* 0.5.0 */
|
||||
.domainDetachDeviceFlags = qemuDomainDetachDeviceFlags, /* 0.7.7 */
|
||||
.domainUpdateDeviceFlags = qemuDomainUpdateDeviceFlags, /* 0.8.0 */
|
||||
.domainGetAutostart = qemudDomainGetAutostart, /* 0.2.1 */
|
||||
.domainSetAutostart = qemudDomainSetAutostart, /* 0.2.1 */
|
||||
.domainGetSchedulerType = qemuGetSchedulerType, /* 0.7.0 */
|
||||
.domainGetSchedulerParameters = qemuGetSchedulerParameters, /* 0.7.0 */
|
||||
.domainSetSchedulerParameters = qemuSetSchedulerParameters, /* 0.7.0 */
|
||||
.domainMigratePerform = qemudDomainMigratePerform, /* 0.5.0 */
|
||||
.domainBlockStats = qemudDomainBlockStats, /* 0.4.1 */
|
||||
.domainInterfaceStats = qemudDomainInterfaceStats, /* 0.4.1 */
|
||||
.domainMemoryStats = qemudDomainMemoryStats, /* 0.7.5 */
|
||||
.domainBlockPeek = qemudDomainBlockPeek, /* 0.4.4 */
|
||||
.domainMemoryPeek = qemudDomainMemoryPeek, /* 0.4.4 */
|
||||
.domainGetBlockInfo = qemuDomainGetBlockInfo, /* 0.8.1 */
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.4.4 */
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory, /* 0.4.4 */
|
||||
.domainEventRegister = qemuDomainEventRegister, /* 0.5.0 */
|
||||
.domainEventDeregister = qemuDomainEventDeregister, /* 0.5.0 */
|
||||
.domainMigratePrepare2 = qemudDomainMigratePrepare2, /* 0.5.0 */
|
||||
.domainMigrateFinish2 = qemudDomainMigrateFinish2, /* 0.5.0 */
|
||||
.nodeDeviceDettach = qemudNodeDeviceDettach, /* 0.6.1 */
|
||||
.nodeDeviceReAttach = qemudNodeDeviceReAttach, /* 0.6.1 */
|
||||
.nodeDeviceReset = qemudNodeDeviceReset, /* 0.6.1 */
|
||||
.domainMigratePrepareTunnel = qemudDomainMigratePrepareTunnel, /* 0.7.2 */
|
||||
.isEncrypted = qemuIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = qemuIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = qemuDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = qemuDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = qemuDomainIsUpdated, /* 0.8.6 */
|
||||
.cpuCompare = qemuCPUCompare, /* 0.7.5 */
|
||||
.cpuBaseline = qemuCPUBaseline, /* 0.7.7 */
|
||||
.domainGetJobInfo = qemuDomainGetJobInfo, /* 0.7.7 */
|
||||
.domainAbortJob = qemuDomainAbortJob, /* 0.7.7 */
|
||||
.domainMigrateSetMaxDowntime = qemuDomainMigrateSetMaxDowntime, /* 0.8.0 */
|
||||
.domainMigrateSetMaxSpeed = qemuDomainMigrateSetMaxSpeed, /* 0.9.0 */
|
||||
.domainEventRegisterAny = qemuDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = qemuDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainManagedSave = qemuDomainManagedSave, /* 0.8.0 */
|
||||
.domainHasManagedSaveImage = qemuDomainHasManagedSaveImage, /* 0.8.0 */
|
||||
.domainManagedSaveRemove = qemuDomainManagedSaveRemove, /* 0.8.0 */
|
||||
.domainSnapshotCreateXML = qemuDomainSnapshotCreateXML, /* 0.8.0 */
|
||||
.domainSnapshotGetXMLDesc = qemuDomainSnapshotGetXMLDesc, /* 0.8.0 */
|
||||
.domainSnapshotNum = qemuDomainSnapshotNum, /* 0.8.0 */
|
||||
.domainSnapshotListNames = qemuDomainSnapshotListNames, /* 0.8.0 */
|
||||
.domainSnapshotLookupByName = qemuDomainSnapshotLookupByName, /* 0.8.0 */
|
||||
.domainHasCurrentSnapshot = qemuDomainHasCurrentSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotCurrent = qemuDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = qemuDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = qemuDomainSnapshotDelete, /* 0.8.0 */
|
||||
.qemuDomainMonitorCommand = qemuDomainMonitorCommand, /* 0.8.3 */
|
||||
.domainOpenConsole = qemuDomainOpenConsole, /* 0.8.6 */
|
||||
.domainInjectNMI = qemuDomainInjectNMI, /* 0.9.2 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -6399,244 +6399,244 @@ unsigned long remoteVersion(void)
|
||||
static virDriver remote_driver = {
|
||||
.no = VIR_DRV_REMOTE,
|
||||
.name = "remote",
|
||||
.open = remoteOpen,
|
||||
.close = remoteClose,
|
||||
.supports_feature = remoteSupportsFeature,
|
||||
.type = remoteType,
|
||||
.version = remoteGetVersion,
|
||||
.libvirtVersion = remoteGetLibVersion,
|
||||
.getHostname = remoteGetHostname,
|
||||
.getSysinfo = remoteGetSysinfo,
|
||||
.getMaxVcpus = remoteGetMaxVcpus,
|
||||
.nodeGetInfo = remoteNodeGetInfo,
|
||||
.getCapabilities = remoteGetCapabilities,
|
||||
.listDomains = remoteListDomains,
|
||||
.numOfDomains = remoteNumOfDomains,
|
||||
.domainCreateXML = remoteDomainCreateXML,
|
||||
.domainLookupByID = remoteDomainLookupByID,
|
||||
.domainLookupByUUID = remoteDomainLookupByUUID,
|
||||
.domainLookupByName = remoteDomainLookupByName,
|
||||
.domainSuspend = remoteDomainSuspend,
|
||||
.domainResume = remoteDomainResume,
|
||||
.domainShutdown = remoteDomainShutdown,
|
||||
.domainReboot = remoteDomainReboot,
|
||||
.domainDestroy = remoteDomainDestroy,
|
||||
.domainGetOSType = remoteDomainGetOSType,
|
||||
.domainGetMaxMemory = remoteDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = remoteDomainSetMaxMemory,
|
||||
.domainSetMemory = remoteDomainSetMemory,
|
||||
.domainSetMemoryFlags = remoteDomainSetMemoryFlags,
|
||||
.domainSetMemoryParameters = remoteDomainSetMemoryParameters,
|
||||
.domainGetMemoryParameters = remoteDomainGetMemoryParameters,
|
||||
.domainSetBlkioParameters = remoteDomainSetBlkioParameters,
|
||||
.domainGetBlkioParameters = remoteDomainGetBlkioParameters,
|
||||
.domainGetInfo = remoteDomainGetInfo,
|
||||
.domainGetState = remoteDomainGetState,
|
||||
.domainSave = remoteDomainSave,
|
||||
.domainRestore = remoteDomainRestore,
|
||||
.domainCoreDump = remoteDomainCoreDump,
|
||||
.domainScreenshot = remoteDomainScreenshot,
|
||||
.domainSetVcpus = remoteDomainSetVcpus,
|
||||
.domainSetVcpusFlags = remoteDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = remoteDomainGetVcpusFlags,
|
||||
.domainPinVcpu = remoteDomainPinVcpu,
|
||||
.domainGetVcpus = remoteDomainGetVcpus,
|
||||
.domainGetMaxVcpus = remoteDomainGetMaxVcpus,
|
||||
.domainGetSecurityLabel = remoteDomainGetSecurityLabel,
|
||||
.nodeGetSecurityModel = remoteNodeGetSecurityModel,
|
||||
.domainGetXMLDesc = remoteDomainGetXMLDesc,
|
||||
.domainXMLFromNative = remoteDomainXMLFromNative,
|
||||
.domainXMLToNative = remoteDomainXMLToNative,
|
||||
.listDefinedDomains = remoteListDefinedDomains,
|
||||
.numOfDefinedDomains = remoteNumOfDefinedDomains,
|
||||
.domainCreate = remoteDomainCreate,
|
||||
.domainCreateWithFlags = remoteDomainCreateWithFlags,
|
||||
.domainDefineXML = remoteDomainDefineXML,
|
||||
.domainUndefine = remoteDomainUndefine,
|
||||
.domainAttachDevice = remoteDomainAttachDevice,
|
||||
.domainAttachDeviceFlags = remoteDomainAttachDeviceFlags,
|
||||
.domainDetachDevice = remoteDomainDetachDevice,
|
||||
.domainDetachDeviceFlags = remoteDomainDetachDeviceFlags,
|
||||
.domainUpdateDeviceFlags = remoteDomainUpdateDeviceFlags,
|
||||
.domainGetAutostart = remoteDomainGetAutostart,
|
||||
.domainSetAutostart = remoteDomainSetAutostart,
|
||||
.domainGetSchedulerType = remoteDomainGetSchedulerType,
|
||||
.domainGetSchedulerParameters = remoteDomainGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = remoteDomainSetSchedulerParameters,
|
||||
.domainMigratePrepare = remoteDomainMigratePrepare,
|
||||
.domainMigratePerform = remoteDomainMigratePerform,
|
||||
.domainMigrateFinish = remoteDomainMigrateFinish,
|
||||
.domainBlockStats = remoteDomainBlockStats,
|
||||
.domainInterfaceStats = remoteDomainInterfaceStats,
|
||||
.domainMemoryStats = remoteDomainMemoryStats,
|
||||
.domainBlockPeek = remoteDomainBlockPeek,
|
||||
.domainMemoryPeek = remoteDomainMemoryPeek,
|
||||
.domainGetBlockInfo = remoteDomainGetBlockInfo,
|
||||
.nodeGetCellsFreeMemory = remoteNodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = remoteNodeGetFreeMemory,
|
||||
.domainEventRegister = remoteDomainEventRegister,
|
||||
.domainEventDeregister = remoteDomainEventDeregister,
|
||||
.domainMigratePrepare2 = remoteDomainMigratePrepare2,
|
||||
.domainMigrateFinish2 = remoteDomainMigrateFinish2,
|
||||
.nodeDeviceDettach = remoteNodeDeviceDettach,
|
||||
.nodeDeviceReAttach = remoteNodeDeviceReAttach,
|
||||
.nodeDeviceReset = remoteNodeDeviceReset,
|
||||
.domainMigratePrepareTunnel = remoteDomainMigratePrepareTunnel,
|
||||
.isEncrypted = remoteIsEncrypted,
|
||||
.isSecure = remoteIsSecure,
|
||||
.domainIsActive = remoteDomainIsActive,
|
||||
.domainIsPersistent = remoteDomainIsPersistent,
|
||||
.domainIsUpdated = remoteDomainIsUpdated,
|
||||
.cpuCompare = remoteCPUCompare,
|
||||
.cpuBaseline = remoteCPUBaseline,
|
||||
.domainGetJobInfo = remoteDomainGetJobInfo,
|
||||
.domainAbortJob = remoteDomainAbortJob,
|
||||
.domainMigrateSetMaxDowntime = remoteDomainMigrateSetMaxDowntime,
|
||||
.domainMigrateSetMaxSpeed = remoteDomainMigrateSetMaxSpeed,
|
||||
.domainEventRegisterAny = remoteDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = remoteDomainEventDeregisterAny,
|
||||
.domainManagedSave = remoteDomainManagedSave,
|
||||
.domainHasManagedSaveImage = remoteDomainHasManagedSaveImage,
|
||||
.domainManagedSaveRemove = remoteDomainManagedSaveRemove,
|
||||
.domainSnapshotCreateXML = remoteDomainSnapshotCreateXML,
|
||||
.domainSnapshotGetXMLDesc = remoteDomainSnapshotGetXMLDesc,
|
||||
.domainSnapshotNum = remoteDomainSnapshotNum,
|
||||
.domainSnapshotListNames = remoteDomainSnapshotListNames,
|
||||
.domainSnapshotLookupByName = remoteDomainSnapshotLookupByName,
|
||||
.domainHasCurrentSnapshot = remoteDomainHasCurrentSnapshot,
|
||||
.domainSnapshotCurrent = remoteDomainSnapshotCurrent,
|
||||
.domainRevertToSnapshot = remoteDomainRevertToSnapshot,
|
||||
.domainSnapshotDelete = remoteDomainSnapshotDelete,
|
||||
.qemuDomainMonitorCommand = remoteQemuDomainMonitorCommand,
|
||||
.domainOpenConsole = remoteDomainOpenConsole,
|
||||
.domainInjectNMI = remoteDomainInjectNMI,
|
||||
.open = remoteOpen, /* 0.3.0 */
|
||||
.close = remoteClose, /* 0.3.0 */
|
||||
.supports_feature = remoteSupportsFeature, /* 0.3.0 */
|
||||
.type = remoteType, /* 0.3.0 */
|
||||
.version = remoteGetVersion, /* 0.3.0 */
|
||||
.libvirtVersion = remoteGetLibVersion, /* 0.7.3 */
|
||||
.getHostname = remoteGetHostname, /* 0.3.0 */
|
||||
.getSysinfo = remoteGetSysinfo, /* 0.8.8 */
|
||||
.getMaxVcpus = remoteGetMaxVcpus, /* 0.3.0 */
|
||||
.nodeGetInfo = remoteNodeGetInfo, /* 0.3.0 */
|
||||
.getCapabilities = remoteGetCapabilities, /* 0.3.0 */
|
||||
.listDomains = remoteListDomains, /* 0.3.0 */
|
||||
.numOfDomains = remoteNumOfDomains, /* 0.3.0 */
|
||||
.domainCreateXML = remoteDomainCreateXML, /* 0.3.0 */
|
||||
.domainLookupByID = remoteDomainLookupByID, /* 0.3.0 */
|
||||
.domainLookupByUUID = remoteDomainLookupByUUID, /* 0.3.0 */
|
||||
.domainLookupByName = remoteDomainLookupByName, /* 0.3.0 */
|
||||
.domainSuspend = remoteDomainSuspend, /* 0.3.0 */
|
||||
.domainResume = remoteDomainResume, /* 0.3.0 */
|
||||
.domainShutdown = remoteDomainShutdown, /* 0.3.0 */
|
||||
.domainReboot = remoteDomainReboot, /* 0.3.0 */
|
||||
.domainDestroy = remoteDomainDestroy, /* 0.3.0 */
|
||||
.domainGetOSType = remoteDomainGetOSType, /* 0.3.0 */
|
||||
.domainGetMaxMemory = remoteDomainGetMaxMemory, /* 0.3.0 */
|
||||
.domainSetMaxMemory = remoteDomainSetMaxMemory, /* 0.3.0 */
|
||||
.domainSetMemory = remoteDomainSetMemory, /* 0.3.0 */
|
||||
.domainSetMemoryFlags = remoteDomainSetMemoryFlags, /* 0.9.0 */
|
||||
.domainSetMemoryParameters = remoteDomainSetMemoryParameters, /* 0.8.5 */
|
||||
.domainGetMemoryParameters = remoteDomainGetMemoryParameters, /* 0.8.5 */
|
||||
.domainSetBlkioParameters = remoteDomainSetBlkioParameters, /* 0.9.0 */
|
||||
.domainGetBlkioParameters = remoteDomainGetBlkioParameters, /* 0.9.0 */
|
||||
.domainGetInfo = remoteDomainGetInfo, /* 0.3.0 */
|
||||
.domainGetState = remoteDomainGetState, /* 0.9.2 */
|
||||
.domainSave = remoteDomainSave, /* 0.3.0 */
|
||||
.domainRestore = remoteDomainRestore, /* 0.3.0 */
|
||||
.domainCoreDump = remoteDomainCoreDump, /* 0.3.0 */
|
||||
.domainScreenshot = remoteDomainScreenshot, /* 0.9.2 */
|
||||
.domainSetVcpus = remoteDomainSetVcpus, /* 0.3.0 */
|
||||
.domainSetVcpusFlags = remoteDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = remoteDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainPinVcpu = remoteDomainPinVcpu, /* 0.3.0 */
|
||||
.domainGetVcpus = remoteDomainGetVcpus, /* 0.3.0 */
|
||||
.domainGetMaxVcpus = remoteDomainGetMaxVcpus, /* 0.3.0 */
|
||||
.domainGetSecurityLabel = remoteDomainGetSecurityLabel, /* 0.6.1 */
|
||||
.nodeGetSecurityModel = remoteNodeGetSecurityModel, /* 0.6.1 */
|
||||
.domainGetXMLDesc = remoteDomainGetXMLDesc, /* 0.3.0 */
|
||||
.domainXMLFromNative = remoteDomainXMLFromNative, /* 0.6.4 */
|
||||
.domainXMLToNative = remoteDomainXMLToNative, /* 0.6.4 */
|
||||
.listDefinedDomains = remoteListDefinedDomains, /* 0.3.0 */
|
||||
.numOfDefinedDomains = remoteNumOfDefinedDomains, /* 0.3.0 */
|
||||
.domainCreate = remoteDomainCreate, /* 0.3.0 */
|
||||
.domainCreateWithFlags = remoteDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = remoteDomainDefineXML, /* 0.3.0 */
|
||||
.domainUndefine = remoteDomainUndefine, /* 0.3.0 */
|
||||
.domainAttachDevice = remoteDomainAttachDevice, /* 0.3.0 */
|
||||
.domainAttachDeviceFlags = remoteDomainAttachDeviceFlags, /* 0.7.7 */
|
||||
.domainDetachDevice = remoteDomainDetachDevice, /* 0.3.0 */
|
||||
.domainDetachDeviceFlags = remoteDomainDetachDeviceFlags, /* 0.7.7 */
|
||||
.domainUpdateDeviceFlags = remoteDomainUpdateDeviceFlags, /* 0.8.0 */
|
||||
.domainGetAutostart = remoteDomainGetAutostart, /* 0.3.0 */
|
||||
.domainSetAutostart = remoteDomainSetAutostart, /* 0.3.0 */
|
||||
.domainGetSchedulerType = remoteDomainGetSchedulerType, /* 0.3.0 */
|
||||
.domainGetSchedulerParameters = remoteDomainGetSchedulerParameters, /* 0.3.0 */
|
||||
.domainSetSchedulerParameters = remoteDomainSetSchedulerParameters, /* 0.3.0 */
|
||||
.domainMigratePrepare = remoteDomainMigratePrepare, /* 0.3.2 */
|
||||
.domainMigratePerform = remoteDomainMigratePerform, /* 0.3.2 */
|
||||
.domainMigrateFinish = remoteDomainMigrateFinish, /* 0.3.2 */
|
||||
.domainBlockStats = remoteDomainBlockStats, /* 0.3.2 */
|
||||
.domainInterfaceStats = remoteDomainInterfaceStats, /* 0.3.2 */
|
||||
.domainMemoryStats = remoteDomainMemoryStats, /* 0.7.5 */
|
||||
.domainBlockPeek = remoteDomainBlockPeek, /* 0.4.2 */
|
||||
.domainMemoryPeek = remoteDomainMemoryPeek, /* 0.4.2 */
|
||||
.domainGetBlockInfo = remoteDomainGetBlockInfo, /* 0.8.1 */
|
||||
.nodeGetCellsFreeMemory = remoteNodeGetCellsFreeMemory, /* 0.3.3 */
|
||||
.nodeGetFreeMemory = remoteNodeGetFreeMemory, /* 0.3.3 */
|
||||
.domainEventRegister = remoteDomainEventRegister, /* 0.5.0 */
|
||||
.domainEventDeregister = remoteDomainEventDeregister, /* 0.5.0 */
|
||||
.domainMigratePrepare2 = remoteDomainMigratePrepare2, /* 0.5.0 */
|
||||
.domainMigrateFinish2 = remoteDomainMigrateFinish2, /* 0.5.0 */
|
||||
.nodeDeviceDettach = remoteNodeDeviceDettach, /* 0.6.1 */
|
||||
.nodeDeviceReAttach = remoteNodeDeviceReAttach, /* 0.6.1 */
|
||||
.nodeDeviceReset = remoteNodeDeviceReset, /* 0.6.1 */
|
||||
.domainMigratePrepareTunnel = remoteDomainMigratePrepareTunnel, /* 0.7.2 */
|
||||
.isEncrypted = remoteIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = remoteIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = remoteDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = remoteDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = remoteDomainIsUpdated, /* 0.8.6 */
|
||||
.cpuCompare = remoteCPUCompare, /* 0.7.5 */
|
||||
.cpuBaseline = remoteCPUBaseline, /* 0.7.7 */
|
||||
.domainGetJobInfo = remoteDomainGetJobInfo, /* 0.7.7 */
|
||||
.domainAbortJob = remoteDomainAbortJob, /* 0.7.7 */
|
||||
.domainMigrateSetMaxDowntime = remoteDomainMigrateSetMaxDowntime, /* 0.8.0 */
|
||||
.domainMigrateSetMaxSpeed = remoteDomainMigrateSetMaxSpeed, /* 0.9.0 */
|
||||
.domainEventRegisterAny = remoteDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = remoteDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainManagedSave = remoteDomainManagedSave, /* 0.8.0 */
|
||||
.domainHasManagedSaveImage = remoteDomainHasManagedSaveImage, /* 0.8.0 */
|
||||
.domainManagedSaveRemove = remoteDomainManagedSaveRemove, /* 0.8.0 */
|
||||
.domainSnapshotCreateXML = remoteDomainSnapshotCreateXML, /* 0.8.0 */
|
||||
.domainSnapshotGetXMLDesc = remoteDomainSnapshotGetXMLDesc, /* 0.8.0 */
|
||||
.domainSnapshotNum = remoteDomainSnapshotNum, /* 0.8.0 */
|
||||
.domainSnapshotListNames = remoteDomainSnapshotListNames, /* 0.8.0 */
|
||||
.domainSnapshotLookupByName = remoteDomainSnapshotLookupByName, /* 0.8.0 */
|
||||
.domainHasCurrentSnapshot = remoteDomainHasCurrentSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotCurrent = remoteDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = remoteDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = remoteDomainSnapshotDelete, /* 0.8.0 */
|
||||
.qemuDomainMonitorCommand = remoteQemuDomainMonitorCommand, /* 0.8.3 */
|
||||
.domainOpenConsole = remoteDomainOpenConsole, /* 0.8.6 */
|
||||
.domainInjectNMI = remoteDomainInjectNMI, /* 0.9.2 */
|
||||
};
|
||||
|
||||
static virNetworkDriver network_driver = {
|
||||
.name = "remote",
|
||||
.open = remoteNetworkOpen,
|
||||
.close = remoteNetworkClose,
|
||||
.numOfNetworks = remoteNumOfNetworks,
|
||||
.listNetworks = remoteListNetworks,
|
||||
.numOfDefinedNetworks = remoteNumOfDefinedNetworks,
|
||||
.listDefinedNetworks = remoteListDefinedNetworks,
|
||||
.networkLookupByUUID = remoteNetworkLookupByUUID,
|
||||
.networkLookupByName = remoteNetworkLookupByName,
|
||||
.networkCreateXML = remoteNetworkCreateXML,
|
||||
.networkDefineXML = remoteNetworkDefineXML,
|
||||
.networkUndefine = remoteNetworkUndefine,
|
||||
.networkCreate = remoteNetworkCreate,
|
||||
.networkDestroy = remoteNetworkDestroy,
|
||||
.networkGetXMLDesc = remoteNetworkGetXMLDesc,
|
||||
.networkGetBridgeName = remoteNetworkGetBridgeName,
|
||||
.networkGetAutostart = remoteNetworkGetAutostart,
|
||||
.networkSetAutostart = remoteNetworkSetAutostart,
|
||||
.networkIsActive = remoteNetworkIsActive,
|
||||
.networkIsPersistent = remoteNetworkIsPersistent,
|
||||
.open = remoteNetworkOpen, /* 0.3.0 */
|
||||
.close = remoteNetworkClose, /* 0.3.0 */
|
||||
.numOfNetworks = remoteNumOfNetworks, /* 0.3.0 */
|
||||
.listNetworks = remoteListNetworks, /* 0.3.0 */
|
||||
.numOfDefinedNetworks = remoteNumOfDefinedNetworks, /* 0.3.0 */
|
||||
.listDefinedNetworks = remoteListDefinedNetworks, /* 0.3.0 */
|
||||
.networkLookupByUUID = remoteNetworkLookupByUUID, /* 0.3.0 */
|
||||
.networkLookupByName = remoteNetworkLookupByName, /* 0.3.0 */
|
||||
.networkCreateXML = remoteNetworkCreateXML, /* 0.3.0 */
|
||||
.networkDefineXML = remoteNetworkDefineXML, /* 0.3.0 */
|
||||
.networkUndefine = remoteNetworkUndefine, /* 0.3.0 */
|
||||
.networkCreate = remoteNetworkCreate, /* 0.3.0 */
|
||||
.networkDestroy = remoteNetworkDestroy, /* 0.3.0 */
|
||||
.networkGetXMLDesc = remoteNetworkGetXMLDesc, /* 0.3.0 */
|
||||
.networkGetBridgeName = remoteNetworkGetBridgeName, /* 0.3.0 */
|
||||
.networkGetAutostart = remoteNetworkGetAutostart, /* 0.3.0 */
|
||||
.networkSetAutostart = remoteNetworkSetAutostart, /* 0.3.0 */
|
||||
.networkIsActive = remoteNetworkIsActive, /* 0.7.3 */
|
||||
.networkIsPersistent = remoteNetworkIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virInterfaceDriver interface_driver = {
|
||||
.name = "remote",
|
||||
.open = remoteInterfaceOpen,
|
||||
.close = remoteInterfaceClose,
|
||||
.numOfInterfaces = remoteNumOfInterfaces,
|
||||
.listInterfaces = remoteListInterfaces,
|
||||
.numOfDefinedInterfaces = remoteNumOfDefinedInterfaces,
|
||||
.listDefinedInterfaces = remoteListDefinedInterfaces,
|
||||
.interfaceLookupByName = remoteInterfaceLookupByName,
|
||||
.interfaceLookupByMACString = remoteInterfaceLookupByMACString,
|
||||
.interfaceGetXMLDesc = remoteInterfaceGetXMLDesc,
|
||||
.interfaceDefineXML = remoteInterfaceDefineXML,
|
||||
.interfaceUndefine = remoteInterfaceUndefine,
|
||||
.interfaceCreate = remoteInterfaceCreate,
|
||||
.interfaceDestroy = remoteInterfaceDestroy,
|
||||
.interfaceIsActive = remoteInterfaceIsActive,
|
||||
.open = remoteInterfaceOpen, /* 0.7.2 */
|
||||
.close = remoteInterfaceClose, /* 0.7.2 */
|
||||
.numOfInterfaces = remoteNumOfInterfaces, /* 0.7.2 */
|
||||
.listInterfaces = remoteListInterfaces, /* 0.7.2 */
|
||||
.numOfDefinedInterfaces = remoteNumOfDefinedInterfaces, /* 0.7.2 */
|
||||
.listDefinedInterfaces = remoteListDefinedInterfaces, /* 0.7.2 */
|
||||
.interfaceLookupByName = remoteInterfaceLookupByName, /* 0.7.2 */
|
||||
.interfaceLookupByMACString = remoteInterfaceLookupByMACString, /* 0.7.2 */
|
||||
.interfaceGetXMLDesc = remoteInterfaceGetXMLDesc, /* 0.7.2 */
|
||||
.interfaceDefineXML = remoteInterfaceDefineXML, /* 0.7.2 */
|
||||
.interfaceUndefine = remoteInterfaceUndefine, /* 0.7.2 */
|
||||
.interfaceCreate = remoteInterfaceCreate, /* 0.7.2 */
|
||||
.interfaceDestroy = remoteInterfaceDestroy, /* 0.7.2 */
|
||||
.interfaceIsActive = remoteInterfaceIsActive, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virStorageDriver storage_driver = {
|
||||
.name = "remote",
|
||||
.open = remoteStorageOpen,
|
||||
.close = remoteStorageClose,
|
||||
.numOfPools = remoteNumOfStoragePools,
|
||||
.listPools = remoteListStoragePools,
|
||||
.numOfDefinedPools = remoteNumOfDefinedStoragePools,
|
||||
.listDefinedPools = remoteListDefinedStoragePools,
|
||||
.findPoolSources = remoteFindStoragePoolSources,
|
||||
.poolLookupByName = remoteStoragePoolLookupByName,
|
||||
.poolLookupByUUID = remoteStoragePoolLookupByUUID,
|
||||
.poolLookupByVolume = remoteStoragePoolLookupByVolume,
|
||||
.poolCreateXML = remoteStoragePoolCreateXML,
|
||||
.poolDefineXML = remoteStoragePoolDefineXML,
|
||||
.poolBuild = remoteStoragePoolBuild,
|
||||
.poolUndefine = remoteStoragePoolUndefine,
|
||||
.poolCreate = remoteStoragePoolCreate,
|
||||
.poolDestroy = remoteStoragePoolDestroy,
|
||||
.poolDelete = remoteStoragePoolDelete,
|
||||
.poolRefresh = remoteStoragePoolRefresh,
|
||||
.poolGetInfo = remoteStoragePoolGetInfo,
|
||||
.poolGetXMLDesc = remoteStoragePoolGetXMLDesc,
|
||||
.poolGetAutostart = remoteStoragePoolGetAutostart,
|
||||
.poolSetAutostart = remoteStoragePoolSetAutostart,
|
||||
.poolNumOfVolumes = remoteStoragePoolNumOfVolumes,
|
||||
.poolListVolumes = remoteStoragePoolListVolumes,
|
||||
.open = remoteStorageOpen, /* 0.4.1 */
|
||||
.close = remoteStorageClose, /* 0.4.1 */
|
||||
.numOfPools = remoteNumOfStoragePools, /* 0.4.1 */
|
||||
.listPools = remoteListStoragePools, /* 0.4.1 */
|
||||
.numOfDefinedPools = remoteNumOfDefinedStoragePools, /* 0.4.1 */
|
||||
.listDefinedPools = remoteListDefinedStoragePools, /* 0.4.1 */
|
||||
.findPoolSources = remoteFindStoragePoolSources, /* 0.4.5 */
|
||||
.poolLookupByName = remoteStoragePoolLookupByName, /* 0.4.1 */
|
||||
.poolLookupByUUID = remoteStoragePoolLookupByUUID, /* 0.4.1 */
|
||||
.poolLookupByVolume = remoteStoragePoolLookupByVolume, /* 0.4.1 */
|
||||
.poolCreateXML = remoteStoragePoolCreateXML, /* 0.4.1 */
|
||||
.poolDefineXML = remoteStoragePoolDefineXML, /* 0.4.1 */
|
||||
.poolBuild = remoteStoragePoolBuild, /* 0.4.1 */
|
||||
.poolUndefine = remoteStoragePoolUndefine, /* 0.4.1 */
|
||||
.poolCreate = remoteStoragePoolCreate, /* 0.4.1 */
|
||||
.poolDestroy = remoteStoragePoolDestroy, /* 0.4.1 */
|
||||
.poolDelete = remoteStoragePoolDelete, /* 0.4.1 */
|
||||
.poolRefresh = remoteStoragePoolRefresh, /* 0.4.1 */
|
||||
.poolGetInfo = remoteStoragePoolGetInfo, /* 0.4.1 */
|
||||
.poolGetXMLDesc = remoteStoragePoolGetXMLDesc, /* 0.4.1 */
|
||||
.poolGetAutostart = remoteStoragePoolGetAutostart, /* 0.4.1 */
|
||||
.poolSetAutostart = remoteStoragePoolSetAutostart, /* 0.4.1 */
|
||||
.poolNumOfVolumes = remoteStoragePoolNumOfVolumes, /* 0.4.1 */
|
||||
.poolListVolumes = remoteStoragePoolListVolumes, /* 0.4.1 */
|
||||
|
||||
.volLookupByName = remoteStorageVolLookupByName,
|
||||
.volLookupByKey = remoteStorageVolLookupByKey,
|
||||
.volLookupByPath = remoteStorageVolLookupByPath,
|
||||
.volCreateXML = remoteStorageVolCreateXML,
|
||||
.volCreateXMLFrom = remoteStorageVolCreateXMLFrom,
|
||||
.volDownload = remoteStorageVolDownload,
|
||||
.volUpload = remoteStorageVolUpload,
|
||||
.volDelete = remoteStorageVolDelete,
|
||||
.volWipe = remoteStorageVolWipe,
|
||||
.volGetInfo = remoteStorageVolGetInfo,
|
||||
.volGetXMLDesc = remoteStorageVolGetXMLDesc,
|
||||
.volGetPath = remoteStorageVolGetPath,
|
||||
.poolIsActive = remoteStoragePoolIsActive,
|
||||
.poolIsPersistent = remoteStoragePoolIsPersistent,
|
||||
.volLookupByName = remoteStorageVolLookupByName, /* 0.4.1 */
|
||||
.volLookupByKey = remoteStorageVolLookupByKey, /* 0.4.1 */
|
||||
.volLookupByPath = remoteStorageVolLookupByPath, /* 0.4.1 */
|
||||
.volCreateXML = remoteStorageVolCreateXML, /* 0.4.1 */
|
||||
.volCreateXMLFrom = remoteStorageVolCreateXMLFrom, /* 0.6.4 */
|
||||
.volDownload = remoteStorageVolDownload, /* 0.9.0 */
|
||||
.volUpload = remoteStorageVolUpload, /* 0.9.0 */
|
||||
.volDelete = remoteStorageVolDelete, /* 0.4.1 */
|
||||
.volWipe = remoteStorageVolWipe, /* 0.8.0 */
|
||||
.volGetInfo = remoteStorageVolGetInfo, /* 0.4.1 */
|
||||
.volGetXMLDesc = remoteStorageVolGetXMLDesc, /* 0.4.1 */
|
||||
.volGetPath = remoteStorageVolGetPath, /* 0.4.1 */
|
||||
.poolIsActive = remoteStoragePoolIsActive, /* 0.7.3 */
|
||||
.poolIsPersistent = remoteStoragePoolIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virSecretDriver secret_driver = {
|
||||
.name = "remote",
|
||||
.open = remoteSecretOpen,
|
||||
.close = remoteSecretClose,
|
||||
.numOfSecrets = remoteNumOfSecrets,
|
||||
.listSecrets = remoteListSecrets,
|
||||
.lookupByUUID = remoteSecretLookupByUUID,
|
||||
.lookupByUsage = remoteSecretLookupByUsage,
|
||||
.defineXML = remoteSecretDefineXML,
|
||||
.getXMLDesc = remoteSecretGetXMLDesc,
|
||||
.setValue = remoteSecretSetValue,
|
||||
.getValue = remoteSecretGetValue,
|
||||
.undefine = remoteSecretUndefine
|
||||
.open = remoteSecretOpen, /* 0.7.1 */
|
||||
.close = remoteSecretClose, /* 0.7.1 */
|
||||
.numOfSecrets = remoteNumOfSecrets, /* 0.7.1 */
|
||||
.listSecrets = remoteListSecrets, /* 0.7.1 */
|
||||
.lookupByUUID = remoteSecretLookupByUUID, /* 0.7.1 */
|
||||
.lookupByUsage = remoteSecretLookupByUsage, /* 0.7.1 */
|
||||
.defineXML = remoteSecretDefineXML, /* 0.7.1 */
|
||||
.getXMLDesc = remoteSecretGetXMLDesc, /* 0.7.1 */
|
||||
.setValue = remoteSecretSetValue, /* 0.7.1 */
|
||||
.getValue = remoteSecretGetValue, /* 0.7.1 */
|
||||
.undefine = remoteSecretUndefine /* 0.7.1 */
|
||||
};
|
||||
|
||||
static virDeviceMonitor dev_monitor = {
|
||||
.name = "remote",
|
||||
.open = remoteDevMonOpen,
|
||||
.close = remoteDevMonClose,
|
||||
.numOfDevices = remoteNodeNumOfDevices,
|
||||
.listDevices = remoteNodeListDevices,
|
||||
.deviceLookupByName = remoteNodeDeviceLookupByName,
|
||||
.deviceGetXMLDesc = remoteNodeDeviceGetXMLDesc,
|
||||
.deviceGetParent = remoteNodeDeviceGetParent,
|
||||
.deviceNumOfCaps = remoteNodeDeviceNumOfCaps,
|
||||
.deviceListCaps = remoteNodeDeviceListCaps,
|
||||
.deviceCreateXML = remoteNodeDeviceCreateXML,
|
||||
.deviceDestroy = remoteNodeDeviceDestroy
|
||||
.open = remoteDevMonOpen, /* 0.5.0 */
|
||||
.close = remoteDevMonClose, /* 0.5.0 */
|
||||
.numOfDevices = remoteNodeNumOfDevices, /* 0.5.0 */
|
||||
.listDevices = remoteNodeListDevices, /* 0.5.0 */
|
||||
.deviceLookupByName = remoteNodeDeviceLookupByName, /* 0.5.0 */
|
||||
.deviceGetXMLDesc = remoteNodeDeviceGetXMLDesc, /* 0.5.0 */
|
||||
.deviceGetParent = remoteNodeDeviceGetParent, /* 0.5.0 */
|
||||
.deviceNumOfCaps = remoteNodeDeviceNumOfCaps, /* 0.5.0 */
|
||||
.deviceListCaps = remoteNodeDeviceListCaps, /* 0.5.0 */
|
||||
.deviceCreateXML = remoteNodeDeviceCreateXML, /* 0.6.3 */
|
||||
.deviceDestroy = remoteNodeDeviceDestroy /* 0.6.3 */
|
||||
};
|
||||
|
||||
static virNWFilterDriver nwfilter_driver = {
|
||||
.name = "remote",
|
||||
.open = remoteNWFilterOpen,
|
||||
.close = remoteNWFilterClose,
|
||||
.nwfilterLookupByUUID = remoteNWFilterLookupByUUID,
|
||||
.nwfilterLookupByName = remoteNWFilterLookupByName,
|
||||
.getXMLDesc = remoteNWFilterGetXMLDesc,
|
||||
.defineXML = remoteNWFilterDefineXML,
|
||||
.undefine = remoteNWFilterUndefine,
|
||||
.numOfNWFilters = remoteNumOfNWFilters,
|
||||
.listNWFilters = remoteListNWFilters,
|
||||
.open = remoteNWFilterOpen, /* 0.8.0 */
|
||||
.close = remoteNWFilterClose, /* 0.8.0 */
|
||||
.nwfilterLookupByUUID = remoteNWFilterLookupByUUID, /* 0.8.0 */
|
||||
.nwfilterLookupByName = remoteNWFilterLookupByName, /* 0.8.0 */
|
||||
.getXMLDesc = remoteNWFilterGetXMLDesc, /* 0.8.0 */
|
||||
.defineXML = remoteNWFilterDefineXML, /* 0.8.0 */
|
||||
.undefine = remoteNWFilterUndefine, /* 0.8.0 */
|
||||
.numOfNWFilters = remoteNumOfNWFilters, /* 0.8.0 */
|
||||
.listNWFilters = remoteListNWFilters, /* 0.8.0 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -1062,17 +1062,17 @@ secretDriverReload(void)
|
||||
|
||||
static virSecretDriver secretDriver = {
|
||||
.name = "secret",
|
||||
.open = secretOpen,
|
||||
.close = secretClose,
|
||||
.numOfSecrets = secretNumOfSecrets,
|
||||
.listSecrets = secretListSecrets,
|
||||
.lookupByUUID = secretLookupByUUID,
|
||||
.lookupByUsage = secretLookupByUsage,
|
||||
.defineXML = secretDefineXML,
|
||||
.getXMLDesc = secretGetXMLDesc,
|
||||
.setValue = secretSetValue,
|
||||
.getValue = secretGetValue,
|
||||
.undefine = secretUndefine
|
||||
.open = secretOpen, /* 0.7.1 */
|
||||
.close = secretClose, /* 0.7.1 */
|
||||
.numOfSecrets = secretNumOfSecrets, /* 0.7.1 */
|
||||
.listSecrets = secretListSecrets, /* 0.7.1 */
|
||||
.lookupByUUID = secretLookupByUUID, /* 0.7.1 */
|
||||
.lookupByUsage = secretLookupByUsage, /* 0.7.1 */
|
||||
.defineXML = secretDefineXML, /* 0.7.1 */
|
||||
.getXMLDesc = secretGetXMLDesc, /* 0.7.1 */
|
||||
.setValue = secretSetValue, /* 0.7.1 */
|
||||
.getValue = secretGetValue, /* 0.7.1 */
|
||||
.undefine = secretUndefine, /* 0.7.1 */
|
||||
};
|
||||
|
||||
static virStateDriver stateDriver = {
|
||||
|
@ -2103,46 +2103,46 @@ cleanup:
|
||||
|
||||
static virStorageDriver storageDriver = {
|
||||
.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 = storagePoolGetXMLDesc,
|
||||
.poolGetAutostart = storagePoolGetAutostart,
|
||||
.poolSetAutostart = storagePoolSetAutostart,
|
||||
.poolNumOfVolumes = storagePoolNumVolumes,
|
||||
.poolListVolumes = storagePoolListVolumes,
|
||||
.open = storageOpen, /* 0.4.0 */
|
||||
.close = storageClose, /* 0.4.0 */
|
||||
.numOfPools = storageNumPools, /* 0.4.0 */
|
||||
.listPools = storageListPools, /* 0.4.0 */
|
||||
.numOfDefinedPools = storageNumDefinedPools, /* 0.4.0 */
|
||||
.listDefinedPools = storageListDefinedPools, /* 0.4.0 */
|
||||
.findPoolSources = storageFindPoolSources, /* 0.4.0 */
|
||||
.poolLookupByName = storagePoolLookupByName, /* 0.4.0 */
|
||||
.poolLookupByUUID = storagePoolLookupByUUID, /* 0.4.0 */
|
||||
.poolLookupByVolume = storagePoolLookupByVolume, /* 0.4.0 */
|
||||
.poolCreateXML = storagePoolCreate, /* 0.4.0 */
|
||||
.poolDefineXML = storagePoolDefine, /* 0.4.0 */
|
||||
.poolBuild = storagePoolBuild, /* 0.4.0 */
|
||||
.poolUndefine = storagePoolUndefine, /* 0.4.0 */
|
||||
.poolCreate = storagePoolStart, /* 0.4.0 */
|
||||
.poolDestroy = storagePoolDestroy, /* 0.4.0 */
|
||||
.poolDelete = storagePoolDelete, /* 0.4.0 */
|
||||
.poolRefresh = storagePoolRefresh, /* 0.4.0 */
|
||||
.poolGetInfo = storagePoolGetInfo, /* 0.4.0 */
|
||||
.poolGetXMLDesc = storagePoolGetXMLDesc, /* 0.4.0 */
|
||||
.poolGetAutostart = storagePoolGetAutostart, /* 0.4.0 */
|
||||
.poolSetAutostart = storagePoolSetAutostart, /* 0.4.0 */
|
||||
.poolNumOfVolumes = storagePoolNumVolumes, /* 0.4.0 */
|
||||
.poolListVolumes = storagePoolListVolumes, /* 0.4.0 */
|
||||
|
||||
.volLookupByName = storageVolumeLookupByName,
|
||||
.volLookupByKey = storageVolumeLookupByKey,
|
||||
.volLookupByPath = storageVolumeLookupByPath,
|
||||
.volCreateXML = storageVolumeCreateXML,
|
||||
.volCreateXMLFrom = storageVolumeCreateXMLFrom,
|
||||
.volDownload = storageVolumeDownload,
|
||||
.volUpload = storageVolumeUpload,
|
||||
.volDelete = storageVolumeDelete,
|
||||
.volWipe = storageVolumeWipe,
|
||||
.volGetInfo = storageVolumeGetInfo,
|
||||
.volGetXMLDesc = storageVolumeGetXMLDesc,
|
||||
.volGetPath = storageVolumeGetPath,
|
||||
.volLookupByName = storageVolumeLookupByName, /* 0.4.0 */
|
||||
.volLookupByKey = storageVolumeLookupByKey, /* 0.4.0 */
|
||||
.volLookupByPath = storageVolumeLookupByPath, /* 0.4.0 */
|
||||
.volCreateXML = storageVolumeCreateXML, /* 0.4.0 */
|
||||
.volCreateXMLFrom = storageVolumeCreateXMLFrom, /* 0.6.4 */
|
||||
.volDownload = storageVolumeDownload, /* 0.9.0 */
|
||||
.volUpload = storageVolumeUpload, /* 0.9.0 */
|
||||
.volDelete = storageVolumeDelete, /* 0.4.0 */
|
||||
.volWipe = storageVolumeWipe, /* 0.8.0 */
|
||||
.volGetInfo = storageVolumeGetInfo, /* 0.4.0 */
|
||||
.volGetXMLDesc = storageVolumeGetXMLDesc, /* 0.4.0 */
|
||||
.volGetPath = storageVolumeGetPath, /* 0.4.0 */
|
||||
|
||||
.poolIsActive = storagePoolIsActive,
|
||||
.poolIsPersistent = storagePoolIsPersistent,
|
||||
.poolIsActive = storagePoolIsActive, /* 0.7.3 */
|
||||
.poolIsPersistent = storagePoolIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -5320,175 +5320,175 @@ static int testNWFilterClose(virConnectPtr conn) {
|
||||
static virDriver testDriver = {
|
||||
.no = VIR_DRV_TEST,
|
||||
.name = "Test",
|
||||
.open = testOpen,
|
||||
.close = testClose,
|
||||
.version = testGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.getMaxVcpus = testGetMaxVCPUs,
|
||||
.nodeGetInfo = testNodeGetInfo,
|
||||
.getCapabilities = testGetCapabilities,
|
||||
.listDomains = testListDomains,
|
||||
.numOfDomains = testNumOfDomains,
|
||||
.domainCreateXML = testDomainCreateXML,
|
||||
.domainLookupByID = testLookupDomainByID,
|
||||
.domainLookupByUUID = testLookupDomainByUUID,
|
||||
.domainLookupByName = testLookupDomainByName,
|
||||
.domainSuspend = testPauseDomain,
|
||||
.domainResume = testResumeDomain,
|
||||
.domainShutdown = testShutdownDomain,
|
||||
.domainReboot = testRebootDomain,
|
||||
.domainDestroy = testDestroyDomain,
|
||||
.domainGetOSType = testGetOSType,
|
||||
.domainGetMaxMemory = testGetMaxMemory,
|
||||
.domainSetMaxMemory = testSetMaxMemory,
|
||||
.domainSetMemory = testSetMemory,
|
||||
.domainGetInfo = testGetDomainInfo,
|
||||
.domainGetState = testDomainGetState,
|
||||
.domainSave = testDomainSave,
|
||||
.domainRestore = testDomainRestore,
|
||||
.domainCoreDump = testDomainCoreDump,
|
||||
.domainSetVcpus = testSetVcpus,
|
||||
.domainSetVcpusFlags = testDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = testDomainGetVcpusFlags,
|
||||
.domainPinVcpu = testDomainPinVcpu,
|
||||
.domainGetVcpus = testDomainGetVcpus,
|
||||
.domainGetMaxVcpus = testDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = testDomainGetXMLDesc,
|
||||
.listDefinedDomains = testListDefinedDomains,
|
||||
.numOfDefinedDomains = testNumOfDefinedDomains,
|
||||
.domainCreate = testDomainCreate,
|
||||
.domainCreateWithFlags = testDomainCreateWithFlags,
|
||||
.domainDefineXML = testDomainDefineXML,
|
||||
.domainUndefine = testDomainUndefine,
|
||||
.domainGetAutostart = testDomainGetAutostart,
|
||||
.domainSetAutostart = testDomainSetAutostart,
|
||||
.domainGetSchedulerType = testDomainGetSchedulerType,
|
||||
.domainGetSchedulerParameters = testDomainGetSchedulerParams,
|
||||
.domainSetSchedulerParameters = testDomainSetSchedulerParams,
|
||||
.domainBlockStats = testDomainBlockStats,
|
||||
.domainInterfaceStats = testDomainInterfaceStats,
|
||||
.nodeGetCellsFreeMemory = testNodeGetCellsFreeMemory,
|
||||
.domainEventRegister = testDomainEventRegister,
|
||||
.domainEventDeregister = testDomainEventDeregister,
|
||||
.isEncrypted = testIsEncrypted,
|
||||
.isSecure = testIsSecure,
|
||||
.domainIsActive = testDomainIsActive,
|
||||
.domainIsPersistent = testDomainIsPersistent,
|
||||
.domainIsUpdated = testDomainIsUpdated,
|
||||
.domainEventRegisterAny = testDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = testDomainEventDeregisterAny,
|
||||
.open = testOpen, /* 0.1.1 */
|
||||
.close = testClose, /* 0.1.1 */
|
||||
.version = testGetVersion, /* 0.1.1 */
|
||||
.getHostname = virGetHostname, /* 0.6.3 */
|
||||
.getMaxVcpus = testGetMaxVCPUs, /* 0.3.2 */
|
||||
.nodeGetInfo = testNodeGetInfo, /* 0.1.1 */
|
||||
.getCapabilities = testGetCapabilities, /* 0.2.1 */
|
||||
.listDomains = testListDomains, /* 0.1.1 */
|
||||
.numOfDomains = testNumOfDomains, /* 0.1.1 */
|
||||
.domainCreateXML = testDomainCreateXML, /* 0.1.4 */
|
||||
.domainLookupByID = testLookupDomainByID, /* 0.1.1 */
|
||||
.domainLookupByUUID = testLookupDomainByUUID, /* 0.1.1 */
|
||||
.domainLookupByName = testLookupDomainByName, /* 0.1.1 */
|
||||
.domainSuspend = testPauseDomain, /* 0.1.1 */
|
||||
.domainResume = testResumeDomain, /* 0.1.1 */
|
||||
.domainShutdown = testShutdownDomain, /* 0.1.1 */
|
||||
.domainReboot = testRebootDomain, /* 0.1.1 */
|
||||
.domainDestroy = testDestroyDomain, /* 0.1.1 */
|
||||
.domainGetOSType = testGetOSType, /* 0.1.9 */
|
||||
.domainGetMaxMemory = testGetMaxMemory, /* 0.1.4 */
|
||||
.domainSetMaxMemory = testSetMaxMemory, /* 0.1.1 */
|
||||
.domainSetMemory = testSetMemory, /* 0.1.4 */
|
||||
.domainGetInfo = testGetDomainInfo, /* 0.1.1 */
|
||||
.domainGetState = testDomainGetState, /* 0.9.2 */
|
||||
.domainSave = testDomainSave, /* 0.3.2 */
|
||||
.domainRestore = testDomainRestore, /* 0.3.2 */
|
||||
.domainCoreDump = testDomainCoreDump, /* 0.3.2 */
|
||||
.domainSetVcpus = testSetVcpus, /* 0.1.4 */
|
||||
.domainSetVcpusFlags = testDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = testDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainPinVcpu = testDomainPinVcpu, /* 0.7.3 */
|
||||
.domainGetVcpus = testDomainGetVcpus, /* 0.7.3 */
|
||||
.domainGetMaxVcpus = testDomainGetMaxVcpus, /* 0.7.3 */
|
||||
.domainGetXMLDesc = testDomainGetXMLDesc, /* 0.1.4 */
|
||||
.listDefinedDomains = testListDefinedDomains, /* 0.1.11 */
|
||||
.numOfDefinedDomains = testNumOfDefinedDomains, /* 0.1.11 */
|
||||
.domainCreate = testDomainCreate, /* 0.1.11 */
|
||||
.domainCreateWithFlags = testDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = testDomainDefineXML, /* 0.1.11 */
|
||||
.domainUndefine = testDomainUndefine, /* 0.1.11 */
|
||||
.domainGetAutostart = testDomainGetAutostart, /* 0.3.2 */
|
||||
.domainSetAutostart = testDomainSetAutostart, /* 0.3.2 */
|
||||
.domainGetSchedulerType = testDomainGetSchedulerType, /* 0.3.2 */
|
||||
.domainGetSchedulerParameters = testDomainGetSchedulerParams, /* 0.3.2 */
|
||||
.domainSetSchedulerParameters = testDomainSetSchedulerParams, /* 0.3.2 */
|
||||
.domainBlockStats = testDomainBlockStats, /* 0.7.0 */
|
||||
.domainInterfaceStats = testDomainInterfaceStats, /* 0.7.0 */
|
||||
.nodeGetCellsFreeMemory = testNodeGetCellsFreeMemory, /* 0.4.2 */
|
||||
.domainEventRegister = testDomainEventRegister, /* 0.6.0 */
|
||||
.domainEventDeregister = testDomainEventDeregister, /* 0.6.0 */
|
||||
.isEncrypted = testIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = testIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = testDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = testDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = testDomainIsUpdated, /* 0.8.6 */
|
||||
.domainEventRegisterAny = testDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = testDomainEventDeregisterAny, /* 0.8.0 */
|
||||
};
|
||||
|
||||
static virNetworkDriver testNetworkDriver = {
|
||||
"Test",
|
||||
.open = testOpenNetwork,
|
||||
.close = testCloseNetwork,
|
||||
.numOfNetworks = testNumNetworks,
|
||||
.listNetworks = testListNetworks,
|
||||
.numOfDefinedNetworks = testNumDefinedNetworks,
|
||||
.listDefinedNetworks = testListDefinedNetworks,
|
||||
.networkLookupByUUID = testLookupNetworkByUUID,
|
||||
.networkLookupByName = testLookupNetworkByName,
|
||||
.networkCreateXML = testNetworkCreate,
|
||||
.networkDefineXML = testNetworkDefine,
|
||||
.networkUndefine = testNetworkUndefine,
|
||||
.networkCreate = testNetworkStart,
|
||||
.networkDestroy = testNetworkDestroy,
|
||||
.networkGetXMLDesc = testNetworkGetXMLDesc,
|
||||
.networkGetBridgeName = testNetworkGetBridgeName,
|
||||
.networkGetAutostart = testNetworkGetAutostart,
|
||||
.networkSetAutostart = testNetworkSetAutostart,
|
||||
.networkIsActive = testNetworkIsActive,
|
||||
.networkIsPersistent = testNetworkIsPersistent,
|
||||
.open = testOpenNetwork, /* 0.3.2 */
|
||||
.close = testCloseNetwork, /* 0.3.2 */
|
||||
.numOfNetworks = testNumNetworks, /* 0.3.2 */
|
||||
.listNetworks = testListNetworks, /* 0.3.2 */
|
||||
.numOfDefinedNetworks = testNumDefinedNetworks, /* 0.3.2 */
|
||||
.listDefinedNetworks = testListDefinedNetworks, /* 0.3.2 */
|
||||
.networkLookupByUUID = testLookupNetworkByUUID, /* 0.3.2 */
|
||||
.networkLookupByName = testLookupNetworkByName, /* 0.3.2 */
|
||||
.networkCreateXML = testNetworkCreate, /* 0.3.2 */
|
||||
.networkDefineXML = testNetworkDefine, /* 0.3.2 */
|
||||
.networkUndefine = testNetworkUndefine, /* 0.3.2 */
|
||||
.networkCreate = testNetworkStart, /* 0.3.2 */
|
||||
.networkDestroy = testNetworkDestroy, /* 0.3.2 */
|
||||
.networkGetXMLDesc = testNetworkGetXMLDesc, /* 0.3.2 */
|
||||
.networkGetBridgeName = testNetworkGetBridgeName, /* 0.3.2 */
|
||||
.networkGetAutostart = testNetworkGetAutostart, /* 0.3.2 */
|
||||
.networkSetAutostart = testNetworkSetAutostart, /* 0.3.2 */
|
||||
.networkIsActive = testNetworkIsActive, /* 0.7.3 */
|
||||
.networkIsPersistent = testNetworkIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virInterfaceDriver testInterfaceDriver = {
|
||||
"Test", /* name */
|
||||
.open = testOpenInterface,
|
||||
.close = testCloseInterface,
|
||||
.numOfInterfaces = testNumOfInterfaces,
|
||||
.listInterfaces = testListInterfaces,
|
||||
.numOfDefinedInterfaces = testNumOfDefinedInterfaces,
|
||||
.listDefinedInterfaces = testListDefinedInterfaces,
|
||||
.interfaceLookupByName = testLookupInterfaceByName,
|
||||
.interfaceLookupByMACString = testLookupInterfaceByMACString,
|
||||
.interfaceGetXMLDesc = testInterfaceGetXMLDesc,
|
||||
.interfaceDefineXML = testInterfaceDefineXML,
|
||||
.interfaceUndefine = testInterfaceUndefine,
|
||||
.interfaceCreate = testInterfaceCreate,
|
||||
.interfaceDestroy = testInterfaceDestroy,
|
||||
.interfaceIsActive = testInterfaceIsActive,
|
||||
.open = testOpenInterface, /* 0.7.0 */
|
||||
.close = testCloseInterface, /* 0.7.0 */
|
||||
.numOfInterfaces = testNumOfInterfaces, /* 0.7.0 */
|
||||
.listInterfaces = testListInterfaces, /* 0.7.0 */
|
||||
.numOfDefinedInterfaces = testNumOfDefinedInterfaces, /* 0.7.0 */
|
||||
.listDefinedInterfaces = testListDefinedInterfaces, /* 0.7.0 */
|
||||
.interfaceLookupByName = testLookupInterfaceByName, /* 0.7.0 */
|
||||
.interfaceLookupByMACString = testLookupInterfaceByMACString, /* 0.7.0 */
|
||||
.interfaceGetXMLDesc = testInterfaceGetXMLDesc, /* 0.7.0 */
|
||||
.interfaceDefineXML = testInterfaceDefineXML, /* 0.7.0 */
|
||||
.interfaceUndefine = testInterfaceUndefine, /* 0.7.0 */
|
||||
.interfaceCreate = testInterfaceCreate, /* 0.7.0 */
|
||||
.interfaceDestroy = testInterfaceDestroy, /* 0.7.0 */
|
||||
.interfaceIsActive = testInterfaceIsActive, /* 0.7.3 */
|
||||
};
|
||||
|
||||
|
||||
static virStorageDriver testStorageDriver = {
|
||||
.name = "Test",
|
||||
.open = testStorageOpen,
|
||||
.close = testStorageClose,
|
||||
.open = testStorageOpen, /* 0.4.1 */
|
||||
.close = testStorageClose, /* 0.4.1 */
|
||||
|
||||
.numOfPools = testStorageNumPools,
|
||||
.listPools = testStorageListPools,
|
||||
.numOfDefinedPools = testStorageNumDefinedPools,
|
||||
.listDefinedPools = testStorageListDefinedPools,
|
||||
.findPoolSources = testStorageFindPoolSources,
|
||||
.poolLookupByName = testStoragePoolLookupByName,
|
||||
.poolLookupByUUID = testStoragePoolLookupByUUID,
|
||||
.poolLookupByVolume = testStoragePoolLookupByVolume,
|
||||
.poolCreateXML = testStoragePoolCreate,
|
||||
.poolDefineXML = testStoragePoolDefine,
|
||||
.poolBuild = testStoragePoolBuild,
|
||||
.poolUndefine = testStoragePoolUndefine,
|
||||
.poolCreate = testStoragePoolStart,
|
||||
.poolDestroy = testStoragePoolDestroy,
|
||||
.poolDelete = testStoragePoolDelete,
|
||||
.poolRefresh = testStoragePoolRefresh,
|
||||
.poolGetInfo = testStoragePoolGetInfo,
|
||||
.poolGetXMLDesc = testStoragePoolGetXMLDesc,
|
||||
.poolGetAutostart = testStoragePoolGetAutostart,
|
||||
.poolSetAutostart = testStoragePoolSetAutostart,
|
||||
.poolNumOfVolumes = testStoragePoolNumVolumes,
|
||||
.poolListVolumes = testStoragePoolListVolumes,
|
||||
.numOfPools = testStorageNumPools, /* 0.5.0 */
|
||||
.listPools = testStorageListPools, /* 0.5.0 */
|
||||
.numOfDefinedPools = testStorageNumDefinedPools, /* 0.5.0 */
|
||||
.listDefinedPools = testStorageListDefinedPools, /* 0.5.0 */
|
||||
.findPoolSources = testStorageFindPoolSources, /* 0.5.0 */
|
||||
.poolLookupByName = testStoragePoolLookupByName, /* 0.5.0 */
|
||||
.poolLookupByUUID = testStoragePoolLookupByUUID, /* 0.5.0 */
|
||||
.poolLookupByVolume = testStoragePoolLookupByVolume, /* 0.5.0 */
|
||||
.poolCreateXML = testStoragePoolCreate, /* 0.5.0 */
|
||||
.poolDefineXML = testStoragePoolDefine, /* 0.5.0 */
|
||||
.poolBuild = testStoragePoolBuild, /* 0.5.0 */
|
||||
.poolUndefine = testStoragePoolUndefine, /* 0.5.0 */
|
||||
.poolCreate = testStoragePoolStart, /* 0.5.0 */
|
||||
.poolDestroy = testStoragePoolDestroy, /* 0.5.0 */
|
||||
.poolDelete = testStoragePoolDelete, /* 0.5.0 */
|
||||
.poolRefresh = testStoragePoolRefresh, /* 0.5.0 */
|
||||
.poolGetInfo = testStoragePoolGetInfo, /* 0.5.0 */
|
||||
.poolGetXMLDesc = testStoragePoolGetXMLDesc, /* 0.5.0 */
|
||||
.poolGetAutostart = testStoragePoolGetAutostart, /* 0.5.0 */
|
||||
.poolSetAutostart = testStoragePoolSetAutostart, /* 0.5.0 */
|
||||
.poolNumOfVolumes = testStoragePoolNumVolumes, /* 0.5.0 */
|
||||
.poolListVolumes = testStoragePoolListVolumes, /* 0.5.0 */
|
||||
|
||||
.volLookupByName = testStorageVolumeLookupByName,
|
||||
.volLookupByKey = testStorageVolumeLookupByKey,
|
||||
.volLookupByPath = testStorageVolumeLookupByPath,
|
||||
.volCreateXML = testStorageVolumeCreateXML,
|
||||
.volCreateXMLFrom = testStorageVolumeCreateXMLFrom,
|
||||
.volDelete = testStorageVolumeDelete,
|
||||
.volGetInfo = testStorageVolumeGetInfo,
|
||||
.volGetXMLDesc = testStorageVolumeGetXMLDesc,
|
||||
.volGetPath = testStorageVolumeGetPath,
|
||||
.poolIsActive = testStoragePoolIsActive,
|
||||
.poolIsPersistent = testStoragePoolIsPersistent,
|
||||
.volLookupByName = testStorageVolumeLookupByName, /* 0.5.0 */
|
||||
.volLookupByKey = testStorageVolumeLookupByKey, /* 0.5.0 */
|
||||
.volLookupByPath = testStorageVolumeLookupByPath, /* 0.5.0 */
|
||||
.volCreateXML = testStorageVolumeCreateXML, /* 0.5.0 */
|
||||
.volCreateXMLFrom = testStorageVolumeCreateXMLFrom, /* 0.6.4 */
|
||||
.volDelete = testStorageVolumeDelete, /* 0.5.0 */
|
||||
.volGetInfo = testStorageVolumeGetInfo, /* 0.5.0 */
|
||||
.volGetXMLDesc = testStorageVolumeGetXMLDesc, /* 0.5.0 */
|
||||
.volGetPath = testStorageVolumeGetPath, /* 0.5.0 */
|
||||
.poolIsActive = testStoragePoolIsActive, /* 0.7.3 */
|
||||
.poolIsPersistent = testStoragePoolIsPersistent, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virDeviceMonitor testDevMonitor = {
|
||||
.name = "Test",
|
||||
.open = testDevMonOpen,
|
||||
.close = testDevMonClose,
|
||||
.open = testDevMonOpen, /* 0.6.0 */
|
||||
.close = testDevMonClose, /* 0.6.0 */
|
||||
|
||||
.numOfDevices = testNodeNumOfDevices,
|
||||
.listDevices = testNodeListDevices,
|
||||
.deviceLookupByName = testNodeDeviceLookupByName,
|
||||
.deviceGetXMLDesc = testNodeDeviceGetXMLDesc,
|
||||
.deviceGetParent = testNodeDeviceGetParent,
|
||||
.deviceNumOfCaps = testNodeDeviceNumOfCaps,
|
||||
.deviceListCaps = testNodeDeviceListCaps,
|
||||
.deviceCreateXML = testNodeDeviceCreateXML,
|
||||
.deviceDestroy = testNodeDeviceDestroy,
|
||||
.numOfDevices = testNodeNumOfDevices, /* 0.7.2 */
|
||||
.listDevices = testNodeListDevices, /* 0.7.2 */
|
||||
.deviceLookupByName = testNodeDeviceLookupByName, /* 0.7.2 */
|
||||
.deviceGetXMLDesc = testNodeDeviceGetXMLDesc, /* 0.7.2 */
|
||||
.deviceGetParent = testNodeDeviceGetParent, /* 0.7.2 */
|
||||
.deviceNumOfCaps = testNodeDeviceNumOfCaps, /* 0.7.2 */
|
||||
.deviceListCaps = testNodeDeviceListCaps, /* 0.7.2 */
|
||||
.deviceCreateXML = testNodeDeviceCreateXML, /* 0.7.3 */
|
||||
.deviceDestroy = testNodeDeviceDestroy, /* 0.7.3 */
|
||||
};
|
||||
|
||||
static virSecretDriver testSecretDriver = {
|
||||
.name = "Test",
|
||||
.open = testSecretOpen,
|
||||
.close = testSecretClose,
|
||||
.open = testSecretOpen, /* 0.7.1 */
|
||||
.close = testSecretClose, /* 0.7.1 */
|
||||
};
|
||||
|
||||
|
||||
static virNWFilterDriver testNWFilterDriver = {
|
||||
.name = "Test",
|
||||
.open = testNWFilterOpen,
|
||||
.close = testNWFilterClose,
|
||||
.open = testNWFilterOpen, /* 0.8.0 */
|
||||
.close = testNWFilterClose, /* 0.8.0 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -2183,49 +2183,49 @@ cleanup:
|
||||
static virDriver umlDriver = {
|
||||
.no = VIR_DRV_UML,
|
||||
.name = "UML",
|
||||
.open = umlOpen,
|
||||
.close = umlClose,
|
||||
.type = umlGetType,
|
||||
.version = umlGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.nodeGetInfo = nodeGetInfo,
|
||||
.getCapabilities = umlGetCapabilities,
|
||||
.listDomains = umlListDomains,
|
||||
.numOfDomains = umlNumDomains,
|
||||
.domainCreateXML = umlDomainCreate,
|
||||
.domainLookupByID = umlDomainLookupByID,
|
||||
.domainLookupByUUID = umlDomainLookupByUUID,
|
||||
.domainLookupByName = umlDomainLookupByName,
|
||||
.domainShutdown = umlDomainShutdown,
|
||||
.domainDestroy = umlDomainDestroy,
|
||||
.domainGetOSType = umlDomainGetOSType,
|
||||
.domainGetMaxMemory = umlDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = umlDomainSetMaxMemory,
|
||||
.domainSetMemory = umlDomainSetMemory,
|
||||
.domainGetInfo = umlDomainGetInfo,
|
||||
.domainGetState = umlDomainGetState,
|
||||
.domainGetXMLDesc = umlDomainGetXMLDesc,
|
||||
.listDefinedDomains = umlListDefinedDomains,
|
||||
.numOfDefinedDomains = umlNumDefinedDomains,
|
||||
.domainCreate = umlDomainStart,
|
||||
.domainCreateWithFlags = umlDomainStartWithFlags,
|
||||
.domainDefineXML = umlDomainDefine,
|
||||
.domainUndefine = umlDomainUndefine,
|
||||
.domainAttachDevice = umlDomainAttachDevice,
|
||||
.domainAttachDeviceFlags = umlDomainAttachDeviceFlags,
|
||||
.domainDetachDevice = umlDomainDetachDevice,
|
||||
.domainDetachDeviceFlags = umlDomainDetachDeviceFlags,
|
||||
.domainGetAutostart = umlDomainGetAutostart,
|
||||
.domainSetAutostart = umlDomainSetAutostart,
|
||||
.domainBlockPeek = umlDomainBlockPeek,
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory,
|
||||
.isEncrypted = umlIsEncrypted,
|
||||
.isSecure = umlIsSecure,
|
||||
.domainIsActive = umlDomainIsActive,
|
||||
.domainIsPersistent = umlDomainIsPersistent,
|
||||
.domainIsUpdated = umlDomainIsUpdated,
|
||||
.domainOpenConsole = umlDomainOpenConsole,
|
||||
.open = umlOpen, /* 0.5.0 */
|
||||
.close = umlClose, /* 0.5.0 */
|
||||
.type = umlGetType, /* 0.5.0 */
|
||||
.version = umlGetVersion, /* 0.5.0 */
|
||||
.getHostname = virGetHostname, /* 0.5.0 */
|
||||
.nodeGetInfo = nodeGetInfo, /* 0.5.0 */
|
||||
.getCapabilities = umlGetCapabilities, /* 0.5.0 */
|
||||
.listDomains = umlListDomains, /* 0.5.0 */
|
||||
.numOfDomains = umlNumDomains, /* 0.5.0 */
|
||||
.domainCreateXML = umlDomainCreate, /* 0.5.0 */
|
||||
.domainLookupByID = umlDomainLookupByID, /* 0.5.0 */
|
||||
.domainLookupByUUID = umlDomainLookupByUUID, /* 0.5.0 */
|
||||
.domainLookupByName = umlDomainLookupByName, /* 0.5.0 */
|
||||
.domainShutdown = umlDomainShutdown, /* 0.5.0 */
|
||||
.domainDestroy = umlDomainDestroy, /* 0.5.0 */
|
||||
.domainGetOSType = umlDomainGetOSType, /* 0.5.0 */
|
||||
.domainGetMaxMemory = umlDomainGetMaxMemory, /* 0.5.0 */
|
||||
.domainSetMaxMemory = umlDomainSetMaxMemory, /* 0.5.0 */
|
||||
.domainSetMemory = umlDomainSetMemory, /* 0.5.0 */
|
||||
.domainGetInfo = umlDomainGetInfo, /* 0.5.0 */
|
||||
.domainGetState = umlDomainGetState, /* 0.9.2 */
|
||||
.domainGetXMLDesc = umlDomainGetXMLDesc, /* 0.5.0 */
|
||||
.listDefinedDomains = umlListDefinedDomains, /* 0.5.0 */
|
||||
.numOfDefinedDomains = umlNumDefinedDomains, /* 0.5.0 */
|
||||
.domainCreate = umlDomainStart, /* 0.5.0 */
|
||||
.domainCreateWithFlags = umlDomainStartWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = umlDomainDefine, /* 0.5.0 */
|
||||
.domainUndefine = umlDomainUndefine, /* 0.5.0 */
|
||||
.domainAttachDevice = umlDomainAttachDevice, /* 0.8.4 */
|
||||
.domainAttachDeviceFlags = umlDomainAttachDeviceFlags, /* 0.8.4 */
|
||||
.domainDetachDevice = umlDomainDetachDevice, /* 0.8.4 */
|
||||
.domainDetachDeviceFlags = umlDomainDetachDeviceFlags, /* 0.8.4 */
|
||||
.domainGetAutostart = umlDomainGetAutostart, /* 0.5.0 */
|
||||
.domainSetAutostart = umlDomainSetAutostart, /* 0.5.0 */
|
||||
.domainBlockPeek = umlDomainBlockPeek, /* 0.5.0 */
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.5.0 */
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory, /* 0.5.0 */
|
||||
.isEncrypted = umlIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = umlIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = umlDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = umlDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = umlDomainIsUpdated, /* 0.8.6 */
|
||||
.domainOpenConsole = umlDomainOpenConsole, /* 0.8.6 */
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -8722,108 +8722,108 @@ endjob:
|
||||
virDriver NAME(Driver) = {
|
||||
.no = VIR_DRV_VBOX,
|
||||
.name = "VBOX",
|
||||
.open = vboxOpen,
|
||||
.close = vboxClose,
|
||||
.version = vboxGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.getMaxVcpus = vboxGetMaxVcpus,
|
||||
.nodeGetInfo = nodeGetInfo,
|
||||
.getCapabilities = vboxGetCapabilities,
|
||||
.listDomains = vboxListDomains,
|
||||
.numOfDomains = vboxNumOfDomains,
|
||||
.domainCreateXML = vboxDomainCreateXML,
|
||||
.domainLookupByID = vboxDomainLookupByID,
|
||||
.domainLookupByUUID = vboxDomainLookupByUUID,
|
||||
.domainLookupByName = vboxDomainLookupByName,
|
||||
.domainSuspend = vboxDomainSuspend,
|
||||
.domainResume = vboxDomainResume,
|
||||
.domainShutdown = vboxDomainShutdown,
|
||||
.domainReboot = vboxDomainReboot,
|
||||
.domainDestroy = vboxDomainDestroy,
|
||||
.domainGetOSType = vboxDomainGetOSType,
|
||||
.domainSetMemory = vboxDomainSetMemory,
|
||||
.domainGetInfo = vboxDomainGetInfo,
|
||||
.domainGetState = vboxDomainGetState,
|
||||
.domainSave = vboxDomainSave,
|
||||
.domainSetVcpus = vboxDomainSetVcpus,
|
||||
.domainSetVcpusFlags = vboxDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = vboxDomainGetVcpusFlags,
|
||||
.domainGetMaxVcpus = vboxDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = vboxDomainGetXMLDesc,
|
||||
.listDefinedDomains = vboxListDefinedDomains,
|
||||
.numOfDefinedDomains = vboxNumOfDefinedDomains,
|
||||
.domainCreate = vboxDomainCreate,
|
||||
.domainCreateWithFlags = vboxDomainCreateWithFlags,
|
||||
.domainDefineXML = vboxDomainDefineXML,
|
||||
.domainUndefine = vboxDomainUndefine,
|
||||
.domainAttachDevice = vboxDomainAttachDevice,
|
||||
.domainAttachDeviceFlags = vboxDomainAttachDeviceFlags,
|
||||
.domainDetachDevice = vboxDomainDetachDevice,
|
||||
.domainDetachDeviceFlags = vboxDomainDetachDeviceFlags,
|
||||
.domainUpdateDeviceFlags = vboxDomainUpdateDeviceFlags,
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory,
|
||||
.open = vboxOpen, /* 0.6.3 */
|
||||
.close = vboxClose, /* 0.6.3 */
|
||||
.version = vboxGetVersion, /* 0.6.3 */
|
||||
.getHostname = virGetHostname, /* 0.6.3 */
|
||||
.getMaxVcpus = vboxGetMaxVcpus, /* 0.6.3 */
|
||||
.nodeGetInfo = nodeGetInfo, /* 0.6.3 */
|
||||
.getCapabilities = vboxGetCapabilities, /* 0.6.3 */
|
||||
.listDomains = vboxListDomains, /* 0.6.3 */
|
||||
.numOfDomains = vboxNumOfDomains, /* 0.6.3 */
|
||||
.domainCreateXML = vboxDomainCreateXML, /* 0.6.3 */
|
||||
.domainLookupByID = vboxDomainLookupByID, /* 0.6.3 */
|
||||
.domainLookupByUUID = vboxDomainLookupByUUID, /* 0.6.3 */
|
||||
.domainLookupByName = vboxDomainLookupByName, /* 0.6.3 */
|
||||
.domainSuspend = vboxDomainSuspend, /* 0.6.3 */
|
||||
.domainResume = vboxDomainResume, /* 0.6.3 */
|
||||
.domainShutdown = vboxDomainShutdown, /* 0.6.3 */
|
||||
.domainReboot = vboxDomainReboot, /* 0.6.3 */
|
||||
.domainDestroy = vboxDomainDestroy, /* 0.6.3 */
|
||||
.domainGetOSType = vboxDomainGetOSType, /* 0.6.3 */
|
||||
.domainSetMemory = vboxDomainSetMemory, /* 0.6.3 */
|
||||
.domainGetInfo = vboxDomainGetInfo, /* 0.6.3 */
|
||||
.domainGetState = vboxDomainGetState, /* 0.9.2 */
|
||||
.domainSave = vboxDomainSave, /* 0.6.3 */
|
||||
.domainSetVcpus = vboxDomainSetVcpus, /* 0.7.1 */
|
||||
.domainSetVcpusFlags = vboxDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = vboxDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetMaxVcpus = vboxDomainGetMaxVcpus, /* 0.7.1 */
|
||||
.domainGetXMLDesc = vboxDomainGetXMLDesc, /* 0.6.3 */
|
||||
.listDefinedDomains = vboxListDefinedDomains, /* 0.6.3 */
|
||||
.numOfDefinedDomains = vboxNumOfDefinedDomains, /* 0.6.3 */
|
||||
.domainCreate = vboxDomainCreate, /* 0.6.3 */
|
||||
.domainCreateWithFlags = vboxDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = vboxDomainDefineXML, /* 0.6.3 */
|
||||
.domainUndefine = vboxDomainUndefine, /* 0.6.3 */
|
||||
.domainAttachDevice = vboxDomainAttachDevice, /* 0.6.3 */
|
||||
.domainAttachDeviceFlags = vboxDomainAttachDeviceFlags, /* 0.7.7 */
|
||||
.domainDetachDevice = vboxDomainDetachDevice, /* 0.6.3 */
|
||||
.domainDetachDeviceFlags = vboxDomainDetachDeviceFlags, /* 0.7.7 */
|
||||
.domainUpdateDeviceFlags = vboxDomainUpdateDeviceFlags, /* 0.8.0 */
|
||||
.nodeGetCellsFreeMemory = nodeGetCellsFreeMemory, /* 0.6.5 */
|
||||
.nodeGetFreeMemory = nodeGetFreeMemory, /* 0.6.5 */
|
||||
#if VBOX_API_VERSION == 4000
|
||||
.domainScreenshot = vboxDomainScreenshot,
|
||||
.domainScreenshot = vboxDomainScreenshot, /* 0.9.2 */
|
||||
#endif
|
||||
#if VBOX_API_VERSION != 2002 && VBOX_API_VERSION != 4000
|
||||
.domainEventRegister = vboxDomainEventRegister,
|
||||
.domainEventDeregister = vboxDomainEventDeregister,
|
||||
.domainEventRegister = vboxDomainEventRegister, /* 0.7.0 */
|
||||
.domainEventDeregister = vboxDomainEventDeregister, /* 0.7.0 */
|
||||
#endif
|
||||
.isEncrypted = vboxIsEncrypted,
|
||||
.isSecure = vboxIsSecure,
|
||||
.domainIsActive = vboxDomainIsActive,
|
||||
.domainIsPersistent = vboxDomainIsPersistent,
|
||||
.domainIsUpdated = vboxDomainIsUpdated,
|
||||
.isEncrypted = vboxIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = vboxIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = vboxDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = vboxDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = vboxDomainIsUpdated, /* 0.8.6 */
|
||||
#if VBOX_API_VERSION != 2002 && VBOX_API_VERSION != 4000
|
||||
.domainEventRegisterAny = vboxDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = vboxDomainEventDeregisterAny,
|
||||
.domainEventRegisterAny = vboxDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = vboxDomainEventDeregisterAny, /* 0.8.0 */
|
||||
#endif
|
||||
.domainSnapshotCreateXML = vboxDomainSnapshotCreateXML,
|
||||
.domainSnapshotGetXMLDesc = vboxDomainSnapshotGetXMLDesc,
|
||||
.domainSnapshotNum = vboxDomainSnapshotNum,
|
||||
.domainSnapshotListNames = vboxDomainSnapshotListNames,
|
||||
.domainSnapshotLookupByName = vboxDomainSnapshotLookupByName,
|
||||
.domainHasCurrentSnapshot = vboxDomainHasCurrentSnapshot,
|
||||
.domainSnapshotCurrent = vboxDomainSnapshotCurrent,
|
||||
.domainRevertToSnapshot = vboxDomainRevertToSnapshot,
|
||||
.domainSnapshotDelete = vboxDomainSnapshotDelete,
|
||||
.domainSnapshotCreateXML = vboxDomainSnapshotCreateXML, /* 0.8.0 */
|
||||
.domainSnapshotGetXMLDesc = vboxDomainSnapshotGetXMLDesc, /* 0.8.0 */
|
||||
.domainSnapshotNum = vboxDomainSnapshotNum, /* 0.8.0 */
|
||||
.domainSnapshotListNames = vboxDomainSnapshotListNames, /* 0.8.0 */
|
||||
.domainSnapshotLookupByName = vboxDomainSnapshotLookupByName, /* 0.8.0 */
|
||||
.domainHasCurrentSnapshot = vboxDomainHasCurrentSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotCurrent = vboxDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = vboxDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = vboxDomainSnapshotDelete, /* 0.8.0 */
|
||||
};
|
||||
|
||||
virNetworkDriver NAME(NetworkDriver) = {
|
||||
"VBOX",
|
||||
.open = vboxNetworkOpen,
|
||||
.close = vboxNetworkClose,
|
||||
.numOfNetworks = vboxNumOfNetworks,
|
||||
.listNetworks = vboxListNetworks,
|
||||
.numOfDefinedNetworks = vboxNumOfDefinedNetworks,
|
||||
.listDefinedNetworks = vboxListDefinedNetworks,
|
||||
.networkLookupByUUID = vboxNetworkLookupByUUID,
|
||||
.networkLookupByName = vboxNetworkLookupByName,
|
||||
.networkCreateXML = vboxNetworkCreateXML,
|
||||
.networkDefineXML = vboxNetworkDefineXML,
|
||||
.networkUndefine = vboxNetworkUndefine,
|
||||
.networkCreate = vboxNetworkCreate,
|
||||
.networkDestroy = vboxNetworkDestroy,
|
||||
.networkGetXMLDesc = vboxNetworkGetXMLDesc,
|
||||
.open = vboxNetworkOpen, /* 0.6.4 */
|
||||
.close = vboxNetworkClose, /* 0.6.4 */
|
||||
.numOfNetworks = vboxNumOfNetworks, /* 0.6.4 */
|
||||
.listNetworks = vboxListNetworks, /* 0.6.4 */
|
||||
.numOfDefinedNetworks = vboxNumOfDefinedNetworks, /* 0.6.4 */
|
||||
.listDefinedNetworks = vboxListDefinedNetworks, /* 0.6.4 */
|
||||
.networkLookupByUUID = vboxNetworkLookupByUUID, /* 0.6.4 */
|
||||
.networkLookupByName = vboxNetworkLookupByName, /* 0.6.4 */
|
||||
.networkCreateXML = vboxNetworkCreateXML, /* 0.6.4 */
|
||||
.networkDefineXML = vboxNetworkDefineXML, /* 0.6.4 */
|
||||
.networkUndefine = vboxNetworkUndefine, /* 0.6.4 */
|
||||
.networkCreate = vboxNetworkCreate, /* 0.6.4 */
|
||||
.networkDestroy = vboxNetworkDestroy, /* 0.6.4 */
|
||||
.networkGetXMLDesc = vboxNetworkGetXMLDesc, /* 0.6.4 */
|
||||
};
|
||||
|
||||
virStorageDriver NAME(StorageDriver) = {
|
||||
.name = "VBOX",
|
||||
.open = vboxStorageOpen,
|
||||
.close = vboxStorageClose,
|
||||
.numOfPools = vboxStorageNumOfPools,
|
||||
.listPools = vboxStorageListPools,
|
||||
.poolLookupByName = vboxStoragePoolLookupByName,
|
||||
.poolNumOfVolumes = vboxStoragePoolNumOfVolumes,
|
||||
.poolListVolumes = vboxStoragePoolListVolumes,
|
||||
.open = vboxStorageOpen, /* 0.7.1 */
|
||||
.close = vboxStorageClose, /* 0.7.1 */
|
||||
.numOfPools = vboxStorageNumOfPools, /* 0.7.1 */
|
||||
.listPools = vboxStorageListPools, /* 0.7.1 */
|
||||
.poolLookupByName = vboxStoragePoolLookupByName, /* 0.7.1 */
|
||||
.poolNumOfVolumes = vboxStoragePoolNumOfVolumes, /* 0.7.1 */
|
||||
.poolListVolumes = vboxStoragePoolListVolumes, /* 0.7.1 */
|
||||
|
||||
.volLookupByName = vboxStorageVolLookupByName,
|
||||
.volLookupByKey = vboxStorageVolLookupByKey,
|
||||
.volLookupByPath = vboxStorageVolLookupByPath,
|
||||
.volCreateXML = vboxStorageVolCreateXML,
|
||||
.volDelete = vboxStorageVolDelete,
|
||||
.volGetInfo = vboxStorageVolGetInfo,
|
||||
.volGetXMLDesc = vboxStorageVolGetXMLDesc,
|
||||
.volGetPath = vboxStorageVolGetPath
|
||||
.volLookupByName = vboxStorageVolLookupByName, /* 0.7.1 */
|
||||
.volLookupByKey = vboxStorageVolLookupByKey, /* 0.7.1 */
|
||||
.volLookupByPath = vboxStorageVolLookupByPath, /* 0.7.1 */
|
||||
.volCreateXML = vboxStorageVolCreateXML, /* 0.7.1 */
|
||||
.volDelete = vboxStorageVolDelete, /* 0.7.1 */
|
||||
.volGetInfo = vboxStorageVolGetInfo, /* 0.7.1 */
|
||||
.volGetXMLDesc = vboxStorageVolGetXMLDesc, /* 0.7.1 */
|
||||
.volGetPath = vboxStorageVolGetPath /* 0.7.1 */
|
||||
};
|
||||
|
@ -932,33 +932,33 @@ vmwareDomainGetState(virDomainPtr dom,
|
||||
static virDriver vmwareDriver = {
|
||||
.no = VIR_DRV_VMWARE,
|
||||
.name = "VMWARE",
|
||||
.open = vmwareOpen,
|
||||
.close = vmwareClose,
|
||||
.type = vmwareGetType,
|
||||
.version = vmwareGetVersion,
|
||||
.listDomains = vmwareListDomains,
|
||||
.numOfDomains = vmwareNumDomains,
|
||||
.domainCreateXML = vmwareDomainCreateXML,
|
||||
.domainLookupByID = vmwareDomainLookupByID,
|
||||
.domainLookupByUUID = vmwareDomainLookupByUUID,
|
||||
.domainLookupByName = vmwareDomainLookupByName,
|
||||
.domainSuspend = vmwareDomainSuspend,
|
||||
.domainResume = vmwareDomainResume,
|
||||
.domainShutdown = vmwareDomainShutdown,
|
||||
.domainReboot = vmwareDomainReboot,
|
||||
.domainDestroy = vmwareDomainShutdown,
|
||||
.domainGetOSType = vmwareGetOSType,
|
||||
.domainGetInfo = vmwareDomainGetInfo,
|
||||
.domainGetState = vmwareDomainGetState,
|
||||
.domainGetXMLDesc = vmwareDomainGetXMLDesc,
|
||||
.listDefinedDomains = vmwareListDefinedDomains,
|
||||
.numOfDefinedDomains = vmwareNumDefinedDomains,
|
||||
.domainCreate = vmwareDomainCreate,
|
||||
.domainCreateWithFlags = vmwareDomainCreateWithFlags,
|
||||
.domainDefineXML = vmwareDomainDefineXML,
|
||||
.domainUndefine = vmwareDomainUndefine,
|
||||
.domainIsActive = vmwareDomainIsActive,
|
||||
.domainIsPersistent = vmwareDomainIsPersistent,
|
||||
.open = vmwareOpen, /* 0.8.7 */
|
||||
.close = vmwareClose, /* 0.8.7 */
|
||||
.type = vmwareGetType, /* 0.8.7 */
|
||||
.version = vmwareGetVersion, /* 0.8.7 */
|
||||
.listDomains = vmwareListDomains, /* 0.8.7 */
|
||||
.numOfDomains = vmwareNumDomains, /* 0.8.7 */
|
||||
.domainCreateXML = vmwareDomainCreateXML, /* 0.8.7 */
|
||||
.domainLookupByID = vmwareDomainLookupByID, /* 0.8.7 */
|
||||
.domainLookupByUUID = vmwareDomainLookupByUUID, /* 0.8.7 */
|
||||
.domainLookupByName = vmwareDomainLookupByName, /* 0.8.7 */
|
||||
.domainSuspend = vmwareDomainSuspend, /* 0.8.7 */
|
||||
.domainResume = vmwareDomainResume, /* 0.8.7 */
|
||||
.domainShutdown = vmwareDomainShutdown, /* 0.8.7 */
|
||||
.domainReboot = vmwareDomainReboot, /* 0.8.7 */
|
||||
.domainDestroy = vmwareDomainShutdown, /* 0.8.7 */
|
||||
.domainGetOSType = vmwareGetOSType, /* 0.8.7 */
|
||||
.domainGetInfo = vmwareDomainGetInfo, /* 0.8.7 */
|
||||
.domainGetState = vmwareDomainGetState, /* 0.9.2 */
|
||||
.domainGetXMLDesc = vmwareDomainGetXMLDesc, /* 0.8.7 */
|
||||
.listDefinedDomains = vmwareListDefinedDomains, /* 0.8.7 */
|
||||
.numOfDefinedDomains = vmwareNumDefinedDomains, /* 0.8.7 */
|
||||
.domainCreate = vmwareDomainCreate, /* 0.8.7 */
|
||||
.domainCreateWithFlags = vmwareDomainCreateWithFlags, /* 0.8.7 */
|
||||
.domainDefineXML = vmwareDomainDefineXML, /* 0.8.7 */
|
||||
.domainUndefine = vmwareDomainUndefine, /* 0.8.7 */
|
||||
.domainIsActive = vmwareDomainIsActive, /* 0.8.7 */
|
||||
.domainIsPersistent = vmwareDomainIsPersistent, /* 0.8.7 */
|
||||
};
|
||||
|
||||
int
|
||||
|
@ -2142,81 +2142,81 @@ cleanup:
|
||||
static virDriver xenUnifiedDriver = {
|
||||
.no = VIR_DRV_XEN_UNIFIED,
|
||||
.name = "Xen",
|
||||
.open = xenUnifiedOpen,
|
||||
.close = xenUnifiedClose,
|
||||
.supports_feature = xenUnifiedSupportsFeature,
|
||||
.type = xenUnifiedType,
|
||||
.version = xenUnifiedGetVersion,
|
||||
.getHostname = virGetHostname,
|
||||
.getMaxVcpus = xenUnifiedGetMaxVcpus,
|
||||
.nodeGetInfo = xenUnifiedNodeGetInfo,
|
||||
.getCapabilities = xenUnifiedGetCapabilities,
|
||||
.listDomains = xenUnifiedListDomains,
|
||||
.numOfDomains = xenUnifiedNumOfDomains,
|
||||
.domainCreateXML = xenUnifiedDomainCreateXML,
|
||||
.domainLookupByID = xenUnifiedDomainLookupByID,
|
||||
.domainLookupByUUID = xenUnifiedDomainLookupByUUID,
|
||||
.domainLookupByName = xenUnifiedDomainLookupByName,
|
||||
.domainSuspend = xenUnifiedDomainSuspend,
|
||||
.domainResume = xenUnifiedDomainResume,
|
||||
.domainShutdown = xenUnifiedDomainShutdown,
|
||||
.domainReboot = xenUnifiedDomainReboot,
|
||||
.domainDestroy = xenUnifiedDomainDestroy,
|
||||
.domainGetOSType = xenUnifiedDomainGetOSType,
|
||||
.domainGetMaxMemory = xenUnifiedDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = xenUnifiedDomainSetMaxMemory,
|
||||
.domainSetMemory = xenUnifiedDomainSetMemory,
|
||||
.domainGetInfo = xenUnifiedDomainGetInfo,
|
||||
.domainGetState = xenUnifiedDomainGetState,
|
||||
.domainSave = xenUnifiedDomainSave,
|
||||
.domainRestore = xenUnifiedDomainRestore,
|
||||
.domainCoreDump = xenUnifiedDomainCoreDump,
|
||||
.domainSetVcpus = xenUnifiedDomainSetVcpus,
|
||||
.domainSetVcpusFlags = xenUnifiedDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = xenUnifiedDomainGetVcpusFlags,
|
||||
.domainPinVcpu = xenUnifiedDomainPinVcpu,
|
||||
.domainGetVcpus = xenUnifiedDomainGetVcpus,
|
||||
.domainGetMaxVcpus = xenUnifiedDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = xenUnifiedDomainGetXMLDesc,
|
||||
.domainXMLFromNative = xenUnifiedDomainXMLFromNative,
|
||||
.domainXMLToNative = xenUnifiedDomainXMLToNative,
|
||||
.listDefinedDomains = xenUnifiedListDefinedDomains,
|
||||
.numOfDefinedDomains = xenUnifiedNumOfDefinedDomains,
|
||||
.domainCreate = xenUnifiedDomainCreate,
|
||||
.domainCreateWithFlags = xenUnifiedDomainCreateWithFlags,
|
||||
.domainDefineXML = xenUnifiedDomainDefineXML,
|
||||
.domainUndefine = xenUnifiedDomainUndefine,
|
||||
.domainAttachDevice = xenUnifiedDomainAttachDevice,
|
||||
.domainAttachDeviceFlags = xenUnifiedDomainAttachDeviceFlags,
|
||||
.domainDetachDevice = xenUnifiedDomainDetachDevice,
|
||||
.domainDetachDeviceFlags = xenUnifiedDomainDetachDeviceFlags,
|
||||
.domainUpdateDeviceFlags = xenUnifiedDomainUpdateDeviceFlags,
|
||||
.domainGetAutostart = xenUnifiedDomainGetAutostart,
|
||||
.domainSetAutostart = xenUnifiedDomainSetAutostart,
|
||||
.domainGetSchedulerType = xenUnifiedDomainGetSchedulerType,
|
||||
.domainGetSchedulerParameters = xenUnifiedDomainGetSchedulerParameters,
|
||||
.domainSetSchedulerParameters = xenUnifiedDomainSetSchedulerParameters,
|
||||
.domainMigratePrepare = xenUnifiedDomainMigratePrepare,
|
||||
.domainMigratePerform = xenUnifiedDomainMigratePerform,
|
||||
.domainMigrateFinish = xenUnifiedDomainMigrateFinish,
|
||||
.domainBlockStats = xenUnifiedDomainBlockStats,
|
||||
.domainInterfaceStats = xenUnifiedDomainInterfaceStats,
|
||||
.domainBlockPeek = xenUnifiedDomainBlockPeek,
|
||||
.nodeGetCellsFreeMemory = xenUnifiedNodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = xenUnifiedNodeGetFreeMemory,
|
||||
.domainEventRegister = xenUnifiedDomainEventRegister,
|
||||
.domainEventDeregister = xenUnifiedDomainEventDeregister,
|
||||
.nodeDeviceDettach = xenUnifiedNodeDeviceDettach,
|
||||
.nodeDeviceReAttach = xenUnifiedNodeDeviceReAttach,
|
||||
.nodeDeviceReset = xenUnifiedNodeDeviceReset,
|
||||
.isEncrypted = xenUnifiedIsEncrypted,
|
||||
.isSecure = xenUnifiedIsSecure,
|
||||
.domainIsActive = xenUnifiedDomainIsActive,
|
||||
.domainIsPersistent = xenUnifiedDomainIsPersistent,
|
||||
.domainIsUpdated = xenUnifiedDomainIsUpdated,
|
||||
.domainEventRegisterAny = xenUnifiedDomainEventRegisterAny,
|
||||
.domainEventDeregisterAny = xenUnifiedDomainEventDeregisterAny,
|
||||
.domainOpenConsole = xenUnifiedDomainOpenConsole,
|
||||
.open = xenUnifiedOpen, /* 0.0.3 */
|
||||
.close = xenUnifiedClose, /* 0.0.3 */
|
||||
.supports_feature = xenUnifiedSupportsFeature, /* 0.3.2 */
|
||||
.type = xenUnifiedType, /* 0.0.3 */
|
||||
.version = xenUnifiedGetVersion, /* 0.0.3 */
|
||||
.getHostname = virGetHostname, /* 0.7.3 */
|
||||
.getMaxVcpus = xenUnifiedGetMaxVcpus, /* 0.2.1 */
|
||||
.nodeGetInfo = xenUnifiedNodeGetInfo, /* 0.1.0 */
|
||||
.getCapabilities = xenUnifiedGetCapabilities, /* 0.2.1 */
|
||||
.listDomains = xenUnifiedListDomains, /* 0.0.3 */
|
||||
.numOfDomains = xenUnifiedNumOfDomains, /* 0.0.3 */
|
||||
.domainCreateXML = xenUnifiedDomainCreateXML, /* 0.0.3 */
|
||||
.domainLookupByID = xenUnifiedDomainLookupByID, /* 0.0.3 */
|
||||
.domainLookupByUUID = xenUnifiedDomainLookupByUUID, /* 0.0.5 */
|
||||
.domainLookupByName = xenUnifiedDomainLookupByName, /* 0.0.3 */
|
||||
.domainSuspend = xenUnifiedDomainSuspend, /* 0.0.3 */
|
||||
.domainResume = xenUnifiedDomainResume, /* 0.0.3 */
|
||||
.domainShutdown = xenUnifiedDomainShutdown, /* 0.0.3 */
|
||||
.domainReboot = xenUnifiedDomainReboot, /* 0.1.0 */
|
||||
.domainDestroy = xenUnifiedDomainDestroy, /* 0.0.3 */
|
||||
.domainGetOSType = xenUnifiedDomainGetOSType, /* 0.0.3 */
|
||||
.domainGetMaxMemory = xenUnifiedDomainGetMaxMemory, /* 0.0.3 */
|
||||
.domainSetMaxMemory = xenUnifiedDomainSetMaxMemory, /* 0.0.3 */
|
||||
.domainSetMemory = xenUnifiedDomainSetMemory, /* 0.1.1 */
|
||||
.domainGetInfo = xenUnifiedDomainGetInfo, /* 0.0.3 */
|
||||
.domainGetState = xenUnifiedDomainGetState, /* 0.9.2 */
|
||||
.domainSave = xenUnifiedDomainSave, /* 0.0.3 */
|
||||
.domainRestore = xenUnifiedDomainRestore, /* 0.0.3 */
|
||||
.domainCoreDump = xenUnifiedDomainCoreDump, /* 0.1.9 */
|
||||
.domainSetVcpus = xenUnifiedDomainSetVcpus, /* 0.1.4 */
|
||||
.domainSetVcpusFlags = xenUnifiedDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = xenUnifiedDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainPinVcpu = xenUnifiedDomainPinVcpu, /* 0.1.4 */
|
||||
.domainGetVcpus = xenUnifiedDomainGetVcpus, /* 0.1.4 */
|
||||
.domainGetMaxVcpus = xenUnifiedDomainGetMaxVcpus, /* 0.2.1 */
|
||||
.domainGetXMLDesc = xenUnifiedDomainGetXMLDesc, /* 0.0.3 */
|
||||
.domainXMLFromNative = xenUnifiedDomainXMLFromNative, /* 0.6.4 */
|
||||
.domainXMLToNative = xenUnifiedDomainXMLToNative, /* 0.6.4 */
|
||||
.listDefinedDomains = xenUnifiedListDefinedDomains, /* 0.1.1 */
|
||||
.numOfDefinedDomains = xenUnifiedNumOfDefinedDomains, /* 0.1.5 */
|
||||
.domainCreate = xenUnifiedDomainCreate, /* 0.1.1 */
|
||||
.domainCreateWithFlags = xenUnifiedDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = xenUnifiedDomainDefineXML, /* 0.1.1 */
|
||||
.domainUndefine = xenUnifiedDomainUndefine, /* 0.1.1 */
|
||||
.domainAttachDevice = xenUnifiedDomainAttachDevice, /* 0.1.9 */
|
||||
.domainAttachDeviceFlags = xenUnifiedDomainAttachDeviceFlags, /* 0.7.7 */
|
||||
.domainDetachDevice = xenUnifiedDomainDetachDevice, /* 0.1.9 */
|
||||
.domainDetachDeviceFlags = xenUnifiedDomainDetachDeviceFlags, /* 0.7.7 */
|
||||
.domainUpdateDeviceFlags = xenUnifiedDomainUpdateDeviceFlags, /* 0.8.0 */
|
||||
.domainGetAutostart = xenUnifiedDomainGetAutostart, /* 0.4.4 */
|
||||
.domainSetAutostart = xenUnifiedDomainSetAutostart, /* 0.4.4 */
|
||||
.domainGetSchedulerType = xenUnifiedDomainGetSchedulerType, /* 0.2.3 */
|
||||
.domainGetSchedulerParameters = xenUnifiedDomainGetSchedulerParameters, /* 0.2.3 */
|
||||
.domainSetSchedulerParameters = xenUnifiedDomainSetSchedulerParameters, /* 0.2.3 */
|
||||
.domainMigratePrepare = xenUnifiedDomainMigratePrepare, /* 0.3.2 */
|
||||
.domainMigratePerform = xenUnifiedDomainMigratePerform, /* 0.3.2 */
|
||||
.domainMigrateFinish = xenUnifiedDomainMigrateFinish, /* 0.3.2 */
|
||||
.domainBlockStats = xenUnifiedDomainBlockStats, /* 0.3.2 */
|
||||
.domainInterfaceStats = xenUnifiedDomainInterfaceStats, /* 0.3.2 */
|
||||
.domainBlockPeek = xenUnifiedDomainBlockPeek, /* 0.4.4 */
|
||||
.nodeGetCellsFreeMemory = xenUnifiedNodeGetCellsFreeMemory, /* 0.3.3 */
|
||||
.nodeGetFreeMemory = xenUnifiedNodeGetFreeMemory, /* 0.3.3 */
|
||||
.domainEventRegister = xenUnifiedDomainEventRegister, /* 0.5.0 */
|
||||
.domainEventDeregister = xenUnifiedDomainEventDeregister, /* 0.5.0 */
|
||||
.nodeDeviceDettach = xenUnifiedNodeDeviceDettach, /* 0.6.1 */
|
||||
.nodeDeviceReAttach = xenUnifiedNodeDeviceReAttach, /* 0.6.1 */
|
||||
.nodeDeviceReset = xenUnifiedNodeDeviceReset, /* 0.6.1 */
|
||||
.isEncrypted = xenUnifiedIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = xenUnifiedIsSecure, /* 0.7.3 */
|
||||
.domainIsActive = xenUnifiedDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = xenUnifiedDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = xenUnifiedDomainIsUpdated, /* 0.8.6 */
|
||||
.domainEventRegisterAny = xenUnifiedDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = xenUnifiedDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainOpenConsole = xenUnifiedDomainOpenConsole, /* 0.8.6 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1829,50 +1829,50 @@ xenapiNodeGetCellsFreeMemory (virConnectPtr conn, unsigned long long *freeMems,
|
||||
static virDriver xenapiDriver = {
|
||||
.no = VIR_DRV_XENAPI,
|
||||
.name = "XenAPI",
|
||||
.open = xenapiOpen,
|
||||
.close = xenapiClose,
|
||||
.supports_feature = xenapiSupportsFeature,
|
||||
.type = xenapiType,
|
||||
.version = xenapiGetVersion,
|
||||
.getHostname = xenapiGetHostname,
|
||||
.getMaxVcpus = xenapiGetMaxVcpus,
|
||||
.nodeGetInfo = xenapiNodeGetInfo,
|
||||
.getCapabilities = xenapiGetCapabilities,
|
||||
.listDomains = xenapiListDomains,
|
||||
.numOfDomains = xenapiNumOfDomains,
|
||||
.domainCreateXML = xenapiDomainCreateXML,
|
||||
.domainLookupByID = xenapiDomainLookupByID,
|
||||
.domainLookupByUUID = xenapiDomainLookupByUUID,
|
||||
.domainLookupByName = xenapiDomainLookupByName,
|
||||
.domainSuspend = xenapiDomainSuspend,
|
||||
.domainResume = xenapiDomainResume,
|
||||
.domainShutdown = xenapiDomainShutdown,
|
||||
.domainReboot = xenapiDomainReboot,
|
||||
.domainDestroy = xenapiDomainDestroy,
|
||||
.domainGetOSType = xenapiDomainGetOSType,
|
||||
.domainGetMaxMemory = xenapiDomainGetMaxMemory,
|
||||
.domainSetMaxMemory = xenapiDomainSetMaxMemory,
|
||||
.domainGetInfo = xenapiDomainGetInfo,
|
||||
.domainGetState = xenapiDomainGetState,
|
||||
.domainSetVcpus = xenapiDomainSetVcpus,
|
||||
.domainSetVcpusFlags = xenapiDomainSetVcpusFlags,
|
||||
.domainGetVcpusFlags = xenapiDomainGetVcpusFlags,
|
||||
.domainPinVcpu = xenapiDomainPinVcpu,
|
||||
.domainGetVcpus = xenapiDomainGetVcpus,
|
||||
.domainGetMaxVcpus = xenapiDomainGetMaxVcpus,
|
||||
.domainGetXMLDesc = xenapiDomainGetXMLDesc,
|
||||
.listDefinedDomains = xenapiListDefinedDomains,
|
||||
.numOfDefinedDomains = xenapiNumOfDefinedDomains,
|
||||
.domainCreate = xenapiDomainCreate,
|
||||
.domainCreateWithFlags = xenapiDomainCreateWithFlags,
|
||||
.domainDefineXML = xenapiDomainDefineXML,
|
||||
.domainUndefine = xenapiDomainUndefine,
|
||||
.domainGetAutostart = xenapiDomainGetAutostart,
|
||||
.domainSetAutostart = xenapiDomainSetAutostart,
|
||||
.domainGetSchedulerType = xenapiDomainGetSchedulerType,
|
||||
.nodeGetCellsFreeMemory = xenapiNodeGetCellsFreeMemory,
|
||||
.nodeGetFreeMemory = xenapiNodeGetFreeMemory,
|
||||
.domainIsUpdated = xenapiDomainIsUpdated,
|
||||
.open = xenapiOpen, /* 0.8.0 */
|
||||
.close = xenapiClose, /* 0.8.0 */
|
||||
.supports_feature = xenapiSupportsFeature, /* 0.8.0 */
|
||||
.type = xenapiType, /* 0.8.0 */
|
||||
.version = xenapiGetVersion, /* 0.8.0 */
|
||||
.getHostname = xenapiGetHostname, /* 0.8.0 */
|
||||
.getMaxVcpus = xenapiGetMaxVcpus, /* 0.8.0 */
|
||||
.nodeGetInfo = xenapiNodeGetInfo, /* 0.8.0 */
|
||||
.getCapabilities = xenapiGetCapabilities, /* 0.8.0 */
|
||||
.listDomains = xenapiListDomains, /* 0.8.0 */
|
||||
.numOfDomains = xenapiNumOfDomains, /* 0.8.0 */
|
||||
.domainCreateXML = xenapiDomainCreateXML, /* 0.8.0 */
|
||||
.domainLookupByID = xenapiDomainLookupByID, /* 0.8.0 */
|
||||
.domainLookupByUUID = xenapiDomainLookupByUUID, /* 0.8.0 */
|
||||
.domainLookupByName = xenapiDomainLookupByName, /* 0.8.0 */
|
||||
.domainSuspend = xenapiDomainSuspend, /* 0.8.0 */
|
||||
.domainResume = xenapiDomainResume, /* 0.8.0 */
|
||||
.domainShutdown = xenapiDomainShutdown, /* 0.8.0 */
|
||||
.domainReboot = xenapiDomainReboot, /* 0.8.0 */
|
||||
.domainDestroy = xenapiDomainDestroy, /* 0.8.0 */
|
||||
.domainGetOSType = xenapiDomainGetOSType, /* 0.8.0 */
|
||||
.domainGetMaxMemory = xenapiDomainGetMaxMemory, /* 0.8.0 */
|
||||
.domainSetMaxMemory = xenapiDomainSetMaxMemory, /* 0.8.0 */
|
||||
.domainGetInfo = xenapiDomainGetInfo, /* 0.8.0 */
|
||||
.domainGetState = xenapiDomainGetState, /* 0.9.2 */
|
||||
.domainSetVcpus = xenapiDomainSetVcpus, /* 0.8.0 */
|
||||
.domainSetVcpusFlags = xenapiDomainSetVcpusFlags, /* 0.8.5 */
|
||||
.domainGetVcpusFlags = xenapiDomainGetVcpusFlags, /* 0.8.5 */
|
||||
.domainPinVcpu = xenapiDomainPinVcpu, /* 0.8.0 */
|
||||
.domainGetVcpus = xenapiDomainGetVcpus, /* 0.8.0 */
|
||||
.domainGetMaxVcpus = xenapiDomainGetMaxVcpus, /* 0.8.0 */
|
||||
.domainGetXMLDesc = xenapiDomainGetXMLDesc, /* 0.8.0 */
|
||||
.listDefinedDomains = xenapiListDefinedDomains, /* 0.8.0 */
|
||||
.numOfDefinedDomains = xenapiNumOfDefinedDomains, /* 0.8.0 */
|
||||
.domainCreate = xenapiDomainCreate, /* 0.8.0 */
|
||||
.domainCreateWithFlags = xenapiDomainCreateWithFlags, /* 0.8.2 */
|
||||
.domainDefineXML = xenapiDomainDefineXML, /* 0.8.0 */
|
||||
.domainUndefine = xenapiDomainUndefine, /* 0.8.0 */
|
||||
.domainGetAutostart = xenapiDomainGetAutostart, /* 0.8.0 */
|
||||
.domainSetAutostart = xenapiDomainSetAutostart, /* 0.8.0 */
|
||||
.domainGetSchedulerType = xenapiDomainGetSchedulerType, /* 0.8.0 */
|
||||
.nodeGetCellsFreeMemory = xenapiNodeGetCellsFreeMemory, /* 0.8.0 */
|
||||
.nodeGetFreeMemory = xenapiNodeGetFreeMemory, /* 0.8.0 */
|
||||
.domainIsUpdated = xenapiDomainIsUpdated, /* 0.8.6 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user