mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-20 01:57:29 +03:00
Fix version numbers for isAlive and setKeepAlive driver APIs
This commit is contained in:
parent
04a469338d
commit
2c4cdb736c
@ -5013,7 +5013,7 @@ static virDriver esxDriver = {
|
||||
.domainSnapshotCurrent = esxDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = esxDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = esxDomainSnapshotDelete, /* 0.8.0 */
|
||||
.isAlive = esxIsAlive, /* 0.9.7 */
|
||||
.isAlive = esxIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -1293,7 +1293,7 @@ static virDriver hypervDriver = {
|
||||
.domainManagedSave = hypervDomainManagedSave, /* 0.9.5 */
|
||||
.domainHasManagedSaveImage = hypervDomainHasManagedSaveImage, /* 0.9.5 */
|
||||
.domainManagedSaveRemove = hypervDomainManagedSaveRemove, /* 0.9.5 */
|
||||
.isAlive = hypervIsAlive, /* 0.9.7 */
|
||||
.isAlive = hypervIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -3957,7 +3957,7 @@ static virDriver libxlDriver = {
|
||||
.domainIsUpdated = libxlDomainIsUpdated, /* 0.9.0 */
|
||||
.domainEventRegisterAny = libxlDomainEventRegisterAny, /* 0.9.0 */
|
||||
.domainEventDeregisterAny = libxlDomainEventDeregisterAny, /* 0.9.0 */
|
||||
.isAlive = libxlIsAlive, /* 0.9.7 */
|
||||
.isAlive = libxlIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static virStateDriver libxlStateDriver = {
|
||||
|
@ -3279,7 +3279,7 @@ static virDriver lxcDriver = {
|
||||
.domainEventRegisterAny = lxcDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = lxcDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainOpenConsole = lxcDomainOpenConsole, /* 0.8.6 */
|
||||
.isAlive = lxcIsAlive, /* 0.9.7 */
|
||||
.isAlive = lxcIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static virStateDriver lxcStateDriver = {
|
||||
|
@ -1718,7 +1718,7 @@ static virDriver openvzDriver = {
|
||||
.domainIsActive = openvzDomainIsActive, /* 0.7.3 */
|
||||
.domainIsPersistent = openvzDomainIsPersistent, /* 0.7.3 */
|
||||
.domainIsUpdated = openvzDomainIsUpdated, /* 0.8.6 */
|
||||
.isAlive = openvzIsAlive, /* 0.9.7 */
|
||||
.isAlive = openvzIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
int openvzRegister(void) {
|
||||
|
@ -3812,7 +3812,7 @@ static virDriver phypDriver = {
|
||||
.isEncrypted = phypIsEncrypted, /* 0.7.3 */
|
||||
.isSecure = phypIsSecure, /* 0.7.3 */
|
||||
.domainIsUpdated = phypIsUpdated, /* 0.8.6 */
|
||||
.isAlive = phypIsAlive, /* 0.9.7 */
|
||||
.isAlive = phypIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static virStorageDriver phypStorageDriver = {
|
||||
|
@ -10912,7 +10912,7 @@ static virDriver qemuDriver = {
|
||||
.domainGetBlockJobInfo = qemuDomainGetBlockJobInfo, /* 0.9.4 */
|
||||
.domainBlockJobSetSpeed = qemuDomainBlockJobSetSpeed, /* 0.9.4 */
|
||||
.domainBlockPull = qemuDomainBlockPull, /* 0.9.4 */
|
||||
.isAlive = qemuIsAlive, /* 0.9.7 */
|
||||
.isAlive = qemuIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
|
||||
|
@ -4616,8 +4616,8 @@ static virDriver remote_driver = {
|
||||
.domainGetBlockJobInfo = remoteDomainGetBlockJobInfo, /* 0.9.4 */
|
||||
.domainBlockJobSetSpeed = remoteDomainBlockJobSetSpeed, /* 0.9.4 */
|
||||
.domainBlockPull = remoteDomainBlockPull, /* 0.9.4 */
|
||||
.setKeepAlive = remoteSetKeepAlive, /* 0.9.7 */
|
||||
.isAlive = remoteIsAlive, /* 0.9.7 */
|
||||
.setKeepAlive = remoteSetKeepAlive, /* 0.9.8 */
|
||||
.isAlive = remoteIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static virNetworkDriver network_driver = {
|
||||
|
@ -5629,7 +5629,7 @@ static virDriver testDriver = {
|
||||
.domainIsUpdated = testDomainIsUpdated, /* 0.8.6 */
|
||||
.domainEventRegisterAny = testDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = testDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.isAlive = testIsAlive, /* 0.9.7 */
|
||||
.isAlive = testIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static virNetworkDriver testNetworkDriver = {
|
||||
|
@ -2603,7 +2603,7 @@ static virDriver umlDriver = {
|
||||
.domainEventRegisterAny = umlDomainEventRegisterAny, /* 0.9.4 */
|
||||
.domainEventDeregisterAny = umlDomainEventDeregisterAny, /* 0.9.4 */
|
||||
.domainOpenConsole = umlDomainOpenConsole, /* 0.8.6 */
|
||||
.isAlive = umlIsAlive, /* 0.9.7 */
|
||||
.isAlive = umlIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
static int
|
||||
|
@ -9199,7 +9199,7 @@ virDriver NAME(Driver) = {
|
||||
.domainSnapshotCurrent = vboxDomainSnapshotCurrent, /* 0.8.0 */
|
||||
.domainRevertToSnapshot = vboxDomainRevertToSnapshot, /* 0.8.0 */
|
||||
.domainSnapshotDelete = vboxDomainSnapshotDelete, /* 0.8.0 */
|
||||
.isAlive = vboxIsAlive, /* 0.9.7 */
|
||||
.isAlive = vboxIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
virNetworkDriver NAME(NetworkDriver) = {
|
||||
|
@ -996,7 +996,7 @@ static virDriver vmwareDriver = {
|
||||
.domainUndefineFlags = vmwareDomainUndefineFlags, /* 0.9.4 */
|
||||
.domainIsActive = vmwareDomainIsActive, /* 0.8.7 */
|
||||
.domainIsPersistent = vmwareDomainIsPersistent, /* 0.8.7 */
|
||||
.isAlive = vmwareIsAlive, /* 0.9.7 */
|
||||
.isAlive = vmwareIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
int
|
||||
|
@ -2256,7 +2256,7 @@ static virDriver xenUnifiedDriver = {
|
||||
.domainEventRegisterAny = xenUnifiedDomainEventRegisterAny, /* 0.8.0 */
|
||||
.domainEventDeregisterAny = xenUnifiedDomainEventDeregisterAny, /* 0.8.0 */
|
||||
.domainOpenConsole = xenUnifiedDomainOpenConsole, /* 0.8.6 */
|
||||
.isAlive = xenUnifiedIsAlive, /* 0.9.7 */
|
||||
.isAlive = xenUnifiedIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -1956,7 +1956,7 @@ static virDriver xenapiDriver = {
|
||||
.nodeGetCellsFreeMemory = xenapiNodeGetCellsFreeMemory, /* 0.8.0 */
|
||||
.nodeGetFreeMemory = xenapiNodeGetFreeMemory, /* 0.8.0 */
|
||||
.domainIsUpdated = xenapiDomainIsUpdated, /* 0.8.6 */
|
||||
.isAlive = xenapiIsAlive, /* 0.9.7 */
|
||||
.isAlive = xenapiIsAlive, /* 0.9.8 */
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user