libvirt_public.syms 13.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#
# Officially exported symbols, for which header
# file definitions are installed in /usr/include/libvirt
# either from libvirt.h and virterror.h
#
# Versions here are *fixed* to match the libvirt version
# at which the symbol was introduced. This ensures that
# a new client app requiring symbol foo() can't accidentally
# run with old libvirt.so not providing foo() - the global
# soname version info can't enforce this since we never
# change the soname
#
LIBVIRT_0.0.3 {
    global:
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
        virConnectClose;
        virConnectGetType;
        virConnectGetVersion;
        virConnectListDomains;
        virConnectNumOfDomains;
        virConnectOpen;
        virConnectOpenReadOnly;

        virDomainCreateLinux;
        virDomainDestroy;
        virDomainFree;
        virDomainGetID;
        virDomainGetInfo;
        virDomainGetMaxMemory;
        virDomainGetName;
        virDomainGetOSType;
        virDomainGetXMLDesc;
        virDomainLookupByID;
        virDomainLookupByName;
        virDomainRestore;
        virDomainResume;
        virDomainSave;
        virDomainSetMaxMemory;
        virDomainShutdown;
        virDomainSuspend;

        virGetVersion;
42 43 44 45
};

LIBVIRT_0.0.5 {
    global:
46 47
        virDomainLookupByUUID;
        virDomainGetUUID;
48 49 50 51
} LIBVIRT_0.0.3;

LIBVIRT_0.1.0 {
    global:
52 53 54 55 56 57 58 59 60 61 62 63 64 65
        virInitialize;
        virNodeGetInfo;
        virDomainReboot;

        virCopyLastError;
        virConnSetErrorFunc;
        virResetLastError;
        virResetError;
        virConnGetLastError;
        virGetLastError;
        virSetErrorFunc;
        virConnCopyLastError;
        virConnResetLastError;
        virDefaultErrorFunc;
66 67 68 69
} LIBVIRT_0.0.5;

LIBVIRT_0.1.1 {
    global:
70 71 72 73 74 75 76
        virDomainLookupByUUIDString;
        virDomainGetUUIDString;
        virDomainSetMemory;
        virDomainDefineXML;
        virDomainCreate;
        virDomainUndefine;
        virConnectListDefinedDomains;
77 78 79 80
} LIBVIRT_0.1.0;

LIBVIRT_0.1.4 {
    global:
81 82 83
        virDomainSetVcpus;
        virDomainPinVcpu;
        virDomainGetVcpus;
84 85 86 87
} LIBVIRT_0.1.1;

LIBVIRT_0.1.5 {
    global:
88
        virConnectNumOfDefinedDomains;
89 90 91 92
} LIBVIRT_0.1.4;

LIBVIRT_0.1.9 {
    global:
93 94 95
        virDomainCoreDump;
        virDomainAttachDevice;
        virDomainDetachDevice;
96 97 98 99
} LIBVIRT_0.1.5;

LIBVIRT_0.2.0 {
    global:
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
        virConnectNumOfNetworks;
        virConnectListNetworks;
        virConnectNumOfDefinedNetworks;
        virConnectListDefinedNetworks;
        virNetworkLookupByName;
        virNetworkLookupByUUID;
        virNetworkLookupByUUIDString;
        virNetworkCreateXML;
        virNetworkDefineXML;
        virNetworkUndefine;
        virNetworkCreate;
        virNetworkDestroy;
        virNetworkFree;
        virNetworkGetName;
        virNetworkGetUUID;
        virNetworkGetUUIDString;
        virNetworkGetXMLDesc;
        virNetworkGetBridgeName;
118 119 120 121
} LIBVIRT_0.1.9;

LIBVIRT_0.2.1 {
    global:
122 123 124 125 126 127 128
        virConnectGetCapabilities;
        virConnectGetMaxVcpus;
        virDomainGetMaxVcpus;
        virDomainGetAutostart;
        virDomainSetAutostart;
        virNetworkGetAutostart;
        virNetworkSetAutostart;
129 130 131 132
} LIBVIRT_0.2.0;

LIBVIRT_0.2.3 {
    global:
133 134 135
        virDomainGetSchedulerType;
        virDomainGetSchedulerParameters;
        virDomainSetSchedulerParameters;
136 137 138 139
} LIBVIRT_0.2.1;

LIBVIRT_0.3.0 {
    global:
140 141 142 143
        virConnectGetHostname;
        virConnectGetURI;
        virDomainGetConnect;
        virNetworkGetConnect;
144 145 146 147
} LIBVIRT_0.2.3;

LIBVIRT_0.3.2 {
    global:
148 149 150
        virDomainMigrate;
        virDomainBlockStats;
        virDomainInterfaceStats;
151 152 153 154
} LIBVIRT_0.3.0;

LIBVIRT_0.3.3 {
    global:
155 156
        virNodeGetCellsFreeMemory;
        virNodeGetFreeMemory;
157 158 159 160
} LIBVIRT_0.3.2;

LIBVIRT_0.4.0 {
    global:
161 162
        virConnectOpenAuth;
        virConnectAuthPtrDefault;
163 164 165 166
} LIBVIRT_0.3.3;

LIBVIRT_0.4.1 {
    global:
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206
        virStoragePoolGetConnect;
        virConnectNumOfStoragePools;
        virConnectNumOfDefinedStoragePools;
        virConnectListStoragePools;
        virConnectListDefinedStoragePools;
        virStoragePoolLookupByName;
        virStoragePoolLookupByUUID;
        virStoragePoolLookupByUUIDString;
        virStoragePoolLookupByVolume;
        virStoragePoolCreateXML;
        virStoragePoolDefineXML;
        virStoragePoolUndefine;
        virStoragePoolCreate;
        virStoragePoolBuild;
        virStoragePoolDestroy;
        virStoragePoolDelete;
        virStoragePoolRefresh;
        virStoragePoolFree;
        virStoragePoolGetName;
        virStoragePoolGetUUID;
        virStoragePoolGetUUIDString;
        virStoragePoolGetInfo;
        virStoragePoolGetXMLDesc;
        virStoragePoolSetAutostart;
        virStoragePoolGetAutostart;
        virStoragePoolNumOfVolumes;
        virStoragePoolListVolumes;

        virStorageVolGetConnect;
        virStorageVolLookupByName;
        virStorageVolLookupByKey;
        virStorageVolLookupByPath;
        virStorageVolCreateXML;
        virStorageVolDelete;
        virStorageVolFree;
        virStorageVolGetName;
        virStorageVolGetKey;
        virStorageVolGetInfo;
        virStorageVolGetXMLDesc;
        virStorageVolGetPath;
207 208 209 210
} LIBVIRT_0.4.0;

LIBVIRT_0.4.2 {
    global:
211 212
        virDomainBlockPeek;
        virDomainMemoryPeek;
213 214 215 216
} LIBVIRT_0.4.1;

LIBVIRT_0.4.5 {
    global:
217
        virConnectFindStoragePoolSources;
218 219 220 221
} LIBVIRT_0.4.2;

LIBVIRT_0.5.0 {
    global:
222 223 224 225 226 227 228 229 230 231 232 233 234 235
        virDomainCreateXML;
        virEventRegisterImpl;
        virConnectDomainEventRegister;
        virConnectDomainEventDeregister;

        virNodeNumOfDevices;
        virNodeListDevices;
        virNodeDeviceLookupByName;
        virNodeDeviceFree;
        virNodeDeviceGetXMLDesc;
        virNodeDeviceGetName;
        virNodeDeviceGetParent;
        virNodeDeviceNumOfCaps;
        virNodeDeviceListCaps;
236 237 238

} LIBVIRT_0.4.5;

239 240
LIBVIRT_0.6.0 {
    global:
241 242 243 244 245 246
        virConnectRef;
        virDomainRef;
        virNetworkRef;
        virStoragePoolRef;
        virStorageVolRef;
        virNodeDeviceRef;
247 248 249

} LIBVIRT_0.5.0;

250 251
LIBVIRT_0.6.1 {
    global:
252 253 254 255 256 257 258
        virFreeError;
        virSaveLastError;
        virNodeDeviceDettach;
        virNodeDeviceReAttach;
        virNodeDeviceReset;
        virDomainGetSecurityLabel;
        virNodeGetSecurityModel;
259 260
} LIBVIRT_0.6.0;

261 262
LIBVIRT_0.6.3 {
    global:
263 264
        virNodeDeviceCreateXML;
        virNodeDeviceDestroy;
265 266
} LIBVIRT_0.6.1;

267 268
LIBVIRT_0.6.4 {
    global:
269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285
        virInterfaceGetConnect;
        virConnectNumOfInterfaces;
        virConnectListInterfaces;
        virInterfaceLookupByName;
        virInterfaceLookupByMACString;
        virInterfaceGetName;
        virInterfaceGetMACString;
        virInterfaceGetXMLDesc;
        virInterfaceRef;
        virInterfaceFree;
        virInterfaceDefineXML;
        virInterfaceUndefine;
        virInterfaceCreate;
        virInterfaceDestroy;
        virStorageVolCreateXMLFrom;
        virConnectDomainXMLFromNative;
        virConnectDomainXMLToNative;
286
} LIBVIRT_0.6.3;
287

288 289
LIBVIRT_0.7.0 {
    global:
290 291
        virConnectNumOfDefinedInterfaces;
        virConnectListDefinedInterfaces;
292 293
} LIBVIRT_0.6.4;

M
Miloslav Trmač 已提交
294 295 296 297 298
LIBVIRT_0.7.1 {
    global:
        virSecretGetConnect;
        virConnectNumOfSecrets;
        virConnectListSecrets;
299
        virSecretLookupByUUID;
M
Miloslav Trmač 已提交
300
        virSecretLookupByUUIDString;
301
        virSecretLookupByUsage;
M
Miloslav Trmač 已提交
302
        virSecretDefineXML;
303
        virSecretGetUUID;
M
Miloslav Trmač 已提交
304
        virSecretGetUUIDString;
305 306
        virSecretGetUsageType;
        virSecretGetUsageID;
M
Miloslav Trmač 已提交
307 308 309 310 311 312 313
        virSecretGetXMLDesc;
        virSecretSetValue;
        virSecretGetValue;
        virSecretUndefine;
        virSecretRef;
        virSecretFree;
} LIBVIRT_0.7.0;
D
Daniel Veillard 已提交
314

315 316
LIBVIRT_0.7.2 {
    global:
317 318 319 320 321 322 323 324 325 326 327 328 329
        virStreamNew;
        virStreamRef;
        virStreamSend;
        virStreamRecv;
        virStreamSendAll;
        virStreamRecvAll;
        virStreamEventAddCallback;
        virStreamEventUpdateCallback;
        virStreamEventRemoveCallback;
        virStreamFinish;
        virStreamAbort;
        virStreamFree;
        virDomainMigrateToURI;
330 331
} LIBVIRT_0.7.1;

332 333
LIBVIRT_0.7.3 {
    global:
334 335 336 337 338 339 340 341 342 343
        virConnectGetLibVersion;
        virConnectIsEncrypted;
        virConnectIsSecure;
        virDomainIsActive;
        virDomainIsPersistent;
        virNetworkIsActive;
        virNetworkIsPersistent;
        virStoragePoolIsActive;
        virStoragePoolIsPersistent;
        virInterfaceIsActive;
344 345
} LIBVIRT_0.7.2;

346 347 348
LIBVIRT_0.7.5 {
    global:
        virConnectCompareCPU;
349
        virDomainMemoryStats;
350 351
} LIBVIRT_0.7.3;

J
Jim Fehlig 已提交
352 353 354 355
LIBVIRT_0.7.7 {
    global:
        virDomainAttachDeviceFlags;
        virDomainDetachDeviceFlags;
J
Jiri Denemark 已提交
356
        virConnectBaselineCPU;
357
        virDomainGetJobInfo;
358
        virDomainAbortJob;
J
Jim Fehlig 已提交
359 360
} LIBVIRT_0.7.5;

D
Daniel Veillard 已提交
361
LIBVIRT_0.8.0 {
D
David Allan 已提交
362
    global:
363
        virStorageVolWipe;
364
        virDomainMigrateSetMaxDowntime;
365 366
        virConnectDomainEventRegisterAny;
        virConnectDomainEventDeregisterAny;
367
        virDomainUpdateDeviceFlags;
368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383
        virConnectListNWFilters;
        virConnectNumOfNWFilters;
        virNWFilterLookupByName;
        virNWFilterLookupByUUID;
        virNWFilterLookupByUUIDString;
        virNWFilterFree;
        virNWFilterGetName;
        virNWFilterGetUUID;
        virNWFilterGetUUIDString;
        virNWFilterGetXMLDesc;
        virNWFilterRef;
        virNWFilterDefineXML;
        virNWFilterUndefine;
        virDomainManagedSave;
        virDomainHasManagedSaveImage;
        virDomainManagedSaveRemove;
C
Chris Lalancette 已提交
384 385 386 387 388 389 390 391 392 393
        virDomainSnapshotCreateXML;
        virDomainSnapshotGetXMLDesc;
        virDomainSnapshotNum;
        virDomainSnapshotListNames;
        virDomainSnapshotLookupByName;
        virDomainHasCurrentSnapshot;
        virDomainSnapshotCurrent;
        virDomainRevertToSnapshot;
        virDomainSnapshotDelete;
        virDomainSnapshotFree;
D
David Allan 已提交
394 395
} LIBVIRT_0.7.7;

396

397 398 399 400 401
LIBVIRT_0.8.1 {
    global:
        virDomainGetBlockInfo;
} LIBVIRT_0.8.0;

402 403 404 405 406 407

LIBVIRT_0.8.2 {
    global:
        virDomainCreateWithFlags;
} LIBVIRT_0.8.1;

408 409 410 411
LIBVIRT_0.8.5 {
    global:
        virDomainSetMemoryParameters;
        virDomainGetMemoryParameters;
E
Eric Blake 已提交
412 413
        virDomainGetVcpusFlags;
        virDomainSetVcpusFlags;
414 415
} LIBVIRT_0.8.2;

416 417 418
LIBVIRT_0.8.6 {
    global:
        virDomainOpenConsole;
419
        virDomainIsUpdated;
420 421
} LIBVIRT_0.8.5;

E
Eric Blake 已提交
422 423 424 425 426
LIBVIRT_0.8.8 {
    global:
        virConnectGetSysinfo;
} LIBVIRT_0.8.6;

427 428
LIBVIRT_0.9.0 {
    global:
429
        virDomainGetBlkioParameters;
430
        virDomainMigrateSetMaxSpeed;
431
        virDomainSetBlkioParameters;
432
        virDomainSetMemoryFlags;
433 434
        virEventRegisterDefaultImpl;
        virEventRunDefaultImpl;
435 436
        virStorageVolDownload;
        virStorageVolUpload;
437 438
} LIBVIRT_0.8.8;

439 440
LIBVIRT_0.9.2 {
    global:
441
        virDomainGetSchedulerParametersFlags;
J
Jiri Denemark 已提交
442
        virDomainGetState;
443
        virDomainInjectNMI;
444 445
        virDomainMigrate2;
        virDomainMigrateToURI2;
446
        virDomainScreenshot;
447
        virDomainSetSchedulerParametersFlags;
448 449 450
        virInterfaceChangeBegin;
        virInterfaceChangeCommit;
        virInterfaceChangeRollback;
451 452
} LIBVIRT_0.9.0;

453 454
LIBVIRT_0.9.3 {
    global:
455
        virDomainGetControlInfo;
E
Eric Blake 已提交
456
        virDomainGetVcpuPinInfo;
457 458
        virDomainPinVcpuFlags;
        virDomainSendKey;
459 460 461 462 463 464
        virEventAddHandle;
        virEventAddTimeout;
        virEventRemoveHandle;
        virEventRemoveTimeout;
        virEventUpdateHandle;
        virEventUpdateTimeout;
M
Minoru Usui 已提交
465
        virNodeGetCPUStats;
466
        virNodeGetMemoryStats;
467 468
} LIBVIRT_0.9.2;

O
Osier Yang 已提交
469 470
LIBVIRT_0.9.4 {
    global:
471 472
        virDomainRestoreFlags;
        virDomainSaveFlags;
473 474
        virDomainSaveImageDefineXML;
        virDomainSaveImageGetXMLDesc;
O
Osier Yang 已提交
475
        virDomainUndefineFlags;
476
        virDomainDestroyFlags;
477 478 479 480
        virDomainBlockJobAbort;
        virDomainGetBlockJobInfo;
        virDomainBlockJobSetSpeed;
        virDomainBlockPull;
O
Osier Yang 已提交
481 482
} LIBVIRT_0.9.3;

483 484
LIBVIRT_0.9.5 {
    global:
485
        virDomainBlockStatsFlags;
486 487 488 489
        virDomainMigrateGetMaxSpeed;
        virDomainSnapshotGetConnect;
        virDomainSnapshotGetDomain;
        virDomainSnapshotGetName;
490 491
} LIBVIRT_0.9.4;

492 493
LIBVIRT_0.9.7 {
    global:
494
        virDomainOpenGraphics;
X
Xu He Jie 已提交
495
        virDomainReset;
496
        virDomainSnapshotGetParent;
497 498
        virDomainSnapshotListChildrenNames;
        virDomainSnapshotNumChildren;
499 500
} LIBVIRT_0.9.5;

J
Jiri Denemark 已提交
501 502
LIBVIRT_0.9.8 {
    global:
J
Jiri Denemark 已提交
503
        virConnectIsAlive;
J
Jiri Denemark 已提交
504
        virConnectSetKeepAlive;
O
Osier Yang 已提交
505
        virDomainBlockResize;
506 507 508
        virDomainGetBlockIoTune;
        virDomainSetBlockIoTune;
        virNodeSuspendForDuration;
J
Jiri Denemark 已提交
509 510
} LIBVIRT_0.9.7;

511 512
LIBVIRT_0.9.9 {
    global:
513
        virDomainGetInterfaceParameters;
514
        virDomainGetNumaParameters;
515
        virDomainSetInterfaceParameters;
516
        virDomainSetNumaParameters;
517 518
} LIBVIRT_0.9.8;

519 520
LIBVIRT_0.9.10 {
    global:
521
        virDomainBlockRebase;
522
        virDomainGetCPUStats;
523
        virDomainGetDiskErrors;
524
        virDomainGetMetadata;
525
        virDomainPMSuspendForDuration;
526
        virDomainSetMetadata;
527
        virDomainShutdownFlags;
528
        virStorageVolResize;
529
        virStorageVolWipePattern;
530
} LIBVIRT_0.9.9;
531

532 533 534 535 536
LIBVIRT_0.9.11 {
    global:
        virDomainPMWakeup;
} LIBVIRT_0.9.10;

537 538
LIBVIRT_0.9.13 {
    global:
539
        virConnectListAllDomains;
540
        virDomainListAllSnapshots;
E
Eric Blake 已提交
541 542
        virDomainSnapshotHasMetadata;
        virDomainSnapshotIsCurrent;
543
        virDomainSnapshotListAllChildren;
544 545 546
        virDomainSnapshotRef;
} LIBVIRT_0.9.11;

D
Daniel Veillard 已提交
547
# .... define new API here using predicted next version number ....