2009-01-05 17:05:29 +03:00
#
# General private symbols. See Makefile.am.
#
# buf.h
virBufferVSprintf;
virBufferEscapeString;
virBufferAdd;
virBufferAddChar;
virBufferContentAndReset;
virBufferError;
2009-09-10 17:21:10 +04:00
virBufferURIEncodeString;
2009-01-05 17:05:29 +03:00
# caps.h
virCapabilitiesAddGuest;
virCapabilitiesAddGuestDomain;
virCapabilitiesAddGuestFeature;
virCapabilitiesAddHostMigrateTransport;
virCapabilitiesAddHostNUMACell;
virCapabilitiesAddHostFeature;
virCapabilitiesDefaultGuestArch;
virCapabilitiesDefaultGuestEmulator;
virCapabilitiesDefaultGuestMachine;
virCapabilitiesFormatXML;
virCapabilitiesFree;
2009-06-29 14:41:56 +04:00
virCapabilitiesFreeNUMAInfo;
2009-01-05 17:05:29 +03:00
virCapabilitiesNew;
virCapabilitiesSetMacPrefix;
2009-03-02 23:19:13 +03:00
virCapabilitiesGenerateMac;
2009-06-16 19:27:33 +04:00
virCapabilitiesSetEmulatorRequired;
virCapabilitiesIsEmulatorRequired;
2009-07-23 21:31:34 +04:00
virCapabilitiesAllocMachines;
virCapabilitiesFreeMachines;
2009-01-05 17:05:29 +03:00
# conf.h
virConfNew;
virConfReadFile;
virConfReadMem;
virConfFree;
virConfFreeValue;
virConfGetValue;
virConfSetValue;
virConfWriteFile;
virConfWriteMem;
Move all shared utility files to src/util/
* src/bridge.c, src/bridge.h, src/buf.c, src/buf.h, src/cgroup.c,
src/cgroup.h, src/conf.c, src/conf.h, src/event.c, src/event.h,
src/hash.c, src/hash.h, src/hostusb.c, src/hostusb.h,
src/iptables.c, src/iptables.h, src/logging.c, src/logging.h,
src/memory.c, src/memory.h, src/pci.c, src/pci.h, src/qparams.c,
src/qparams.h, src/stats_linux.c, src/stats_linux.h,
src/threads-pthread.c, src/threads-pthread.h, src/threads-win32.c,
src/threads-win32.h, src/threads.c, src/threads.h, src/util.c,
src/util.h, src/uuid.c, src/uuid.h, src/virterror.c,
src/virterror_internal.h, src/xml.c, src/xml.h: Move all files
into src/util/
* daemon/Makefile.am: Add -Isrc/util/ to build flags
* src/Makefile.am: Add -Isrc/util/ to build flags and update for
moved files
* src/libvirt_private.syms: Export cgroup APIs since they're now
in util rather than linking directly to drivers
* src/xen/xs_internal.c: Disable bogus virEventRemoveHandle call
when built under PROXY
* proxy/Makefile.am: Update for changed file locations. Remove
bogus build of event.c
* tools/Makefile.am, tests/Makefile.am: Add -Isrc/util/ to build flags
2009-09-16 19:28:46 +04:00
# cgroup.h
virCgroupForDomain;
virCgroupForDriver;
virCgroupRemove;
virCgroupFree;
virCgroupAddTask;
virCgroupSetCpuShares;
virCgroupGetCpuShares;
virCgroupDenyDevicePath;
virCgroupAllowDevicePath;
virCgroupDenyAllDevices;
virCgroupAllowDeviceMajor;
virCgroupControllerTypeToString;
virCgroupControllerTypeFromString;
virCgroupGetCpuacctUsage;
2009-09-21 18:31:22 +04:00
virCgroupGetFreezerState;
virCgroupSetFreezerState;
Move all shared utility files to src/util/
* src/bridge.c, src/bridge.h, src/buf.c, src/buf.h, src/cgroup.c,
src/cgroup.h, src/conf.c, src/conf.h, src/event.c, src/event.h,
src/hash.c, src/hash.h, src/hostusb.c, src/hostusb.h,
src/iptables.c, src/iptables.h, src/logging.c, src/logging.h,
src/memory.c, src/memory.h, src/pci.c, src/pci.h, src/qparams.c,
src/qparams.h, src/stats_linux.c, src/stats_linux.h,
src/threads-pthread.c, src/threads-pthread.h, src/threads-win32.c,
src/threads-win32.h, src/threads.c, src/threads.h, src/util.c,
src/util.h, src/uuid.c, src/uuid.h, src/virterror.c,
src/virterror_internal.h, src/xml.c, src/xml.h: Move all files
into src/util/
* daemon/Makefile.am: Add -Isrc/util/ to build flags
* src/Makefile.am: Add -Isrc/util/ to build flags and update for
moved files
* src/libvirt_private.syms: Export cgroup APIs since they're now
in util rather than linking directly to drivers
* src/xen/xs_internal.c: Disable bogus virEventRemoveHandle call
when built under PROXY
* proxy/Makefile.am: Update for changed file locations. Remove
bogus build of event.c
* tools/Makefile.am, tests/Makefile.am: Add -Isrc/util/ to build flags
2009-09-16 19:28:46 +04:00
2009-01-05 17:05:29 +03:00
# datatypes.h
virGetDomain;
2009-05-20 18:26:49 +04:00
virGetInterface;
2009-01-05 17:05:29 +03:00
virGetNetwork;
virGetStoragePool;
virGetStorageVol;
2009-08-14 23:42:19 +04:00
virGetSecret;
2009-04-17 23:12:37 +04:00
virUnrefStorageVol;
2009-01-05 17:05:29 +03:00
virGetNodeDevice;
virUnrefDomain;
2009-03-02 23:19:13 +03:00
virUnrefConnect;
2009-08-14 23:42:19 +04:00
virUnrefSecret;
2009-01-05 17:05:29 +03:00
# domain_conf.h
virDiskNameToBusDeviceIndex;
virDiskNameToIndex;
virDomainAssignDef;
virDomainConfigFile;
virDomainCpuSetFormat;
virDomainCpuSetParse;
virDomainChrDefFree;
virDomainChrTypeFromString;
virDomainChrTypeToString;
virDomainDefFormat;
virDomainDefFree;
virDomainDefParseFile;
virDomainDefParseNode;
virDomainDefParseString;
virDomainDeleteConfig;
virDomainDeviceDefFree;
virDomainDeviceDefParse;
2009-03-02 20:39:43 +03:00
virDomainDeviceTypeToString;
2009-01-05 17:05:29 +03:00
virDomainDiskBusTypeToString;
virDomainDiskDefFree;
virDomainDiskDeviceTypeToString;
2009-08-14 13:31:36 +04:00
virDomainDiskInsert;
virDomainDiskInsertPreAlloced;
2009-01-05 17:05:29 +03:00
virDomainFindByID;
virDomainFindByName;
virDomainFindByUUID;
2009-04-22 18:26:50 +04:00
virDomainGetRootFilesystem;
2009-01-05 17:05:29 +03:00
virDomainGraphicsTypeFromString;
virDomainGraphicsDefFree;
2009-04-24 16:19:00 +04:00
virDomainHostdevDefFree;
2009-08-14 11:31:10 +04:00
virDomainHostdevModeTypeToString;
virDomainHostdevSubsysTypeToString;
2009-01-05 17:05:29 +03:00
virDomainInputDefFree;
virDomainLifecycleTypeFromString;
virDomainLifecycleTypeToString;
virDomainLoadAllConfigs;
virDomainNetDefFree;
2009-07-18 01:08:34 +04:00
virDomainNetTypeToString;
2009-01-05 17:05:29 +03:00
virDomainObjFree;
virDomainObjListFree;
virDomainRemoveInactive;
virDomainSaveXML;
virDomainSaveConfig;
2009-06-12 15:38:50 +04:00
virDomainSaveStatus;
2009-01-05 17:05:29 +03:00
virDomainSoundDefFree;
virDomainSoundModelTypeFromString;
virDomainSoundModelTypeToString;
2009-07-06 17:54:44 +04:00
virDomainVideoDefFree;
virDomainVideoTypeToString;
virDomainVideoTypeFromString;
virDomainVideoDefaultRAM;
virDomainVideoDefaultType;
2009-01-05 17:05:29 +03:00
virDomainVirtTypeToString;
virDomainFSDefFree;
virDomainObjLock;
virDomainObjUnlock;
2009-01-20 00:06:26 +03:00
virDomainStateTypeToString;
virDomainStateTypeFromString;
2009-01-05 17:05:29 +03:00
# domain_event.h
virDomainEventCallbackListAdd;
virDomainEventCallbackListFree;
virDomainEventCallbackListRemove;
virDomainEventCallbackListRemoveConn;
virDomainEventCallbackListMarkDelete;
virDomainEventCallbackListPurgeMarked;
virDomainEventQueueNew;
virDomainEventQueueFree;
virDomainEventQueuePop;
virDomainEventQueuePush;
virDomainEventNew;
virDomainEventNewFromDom;
virDomainEventNewFromObj;
virDomainEventNewFromDef;
virDomainEventFree;
virDomainEventDispatchDefaultFunc;
virDomainEventDispatch;
virDomainEventQueueDispatch;
# event.h
virEventAddHandle;
virEventAddTimeout;
virEventRemoveHandle;
virEventRemoveTimeout;
virEventUpdateHandle;
virEventUpdateTimeout;
# hash.h
virHashAddEntry;
virHashCreate;
virHashForEach;
virHashFree;
virHashLookup;
virHashRemoveEntry;
virHashRemoveSet;
virHashSearch;
virHashSize;
2009-07-15 21:34:04 +04:00
# interface_conf.h
virInterfaceDefFormat;
virInterfaceDefParseFile;
virInterfaceDefParseString;
2009-09-10 17:21:10 +04:00
virInterfaceDefParseNode;
2009-07-15 21:34:04 +04:00
virInterfaceDefFree;
2009-09-10 17:21:10 +04:00
virInterfaceFindByName;
virInterfaceFindByMACString;
virInterfaceAssignDef;
virInterfaceRemove;
virInterfaceObjLock;
virInterfaceObjUnlock;
virInterfaceObjListFree;
2009-07-15 21:34:04 +04:00
2009-07-21 18:02:16 +04:00
# interface_driver.h
interfaceRegister;
2009-07-15 21:34:04 +04:00
2009-01-05 17:05:29 +03:00
# iptables.h
iptablesAddForwardAllowCross;
iptablesAddForwardAllowIn;
iptablesAddForwardAllowOut;
iptablesAddForwardAllowRelatedIn;
iptablesAddForwardMasquerade;
iptablesAddForwardRejectIn;
iptablesAddForwardRejectOut;
iptablesAddTcpInput;
iptablesAddUdpInput;
iptablesContextFree;
iptablesContextNew;
iptablesReloadRules;
iptablesRemoveForwardAllowCross;
iptablesRemoveForwardAllowIn;
iptablesRemoveForwardAllowOut;
iptablesRemoveForwardAllowRelatedIn;
iptablesRemoveForwardMasquerade;
iptablesRemoveForwardRejectIn;
iptablesRemoveForwardRejectOut;
iptablesRemoveTcpInput;
iptablesRemoveUdpInput;
iptablesSaveRules;
# libvirt_internal.h
virStateInitialize;
virStateCleanup;
virStateReload;
virStateActive;
virDrvSupportsFeature;
virDomainMigratePrepare;
virDomainMigratePerform;
virDomainMigrateFinish;
virDomainMigratePrepare2;
virDomainMigrateFinish2;
virRegisterDriver;
2009-07-21 18:02:16 +04:00
virRegisterInterfaceDriver;
2009-01-05 17:05:29 +03:00
virRegisterNetworkDriver;
virRegisterStateDriver;
virRegisterStorageDriver;
virRegisterDeviceMonitor;
2009-09-10 17:21:10 +04:00
virRegisterSecretDriver;
2009-01-05 17:05:29 +03:00
2009-06-26 19:08:04 +04:00
# logging.h
virLogMessage;
2009-08-06 17:45:50 +04:00
virLogGetNbFilters;
virLogGetNbOutputs;
virLogGetDefaultPriority;
2009-06-26 19:08:04 +04:00
virLogSetDefaultPriority;
2009-08-06 17:55:07 +04:00
virLogSetFromEnv;
2009-06-26 19:08:04 +04:00
virLogDefineFilter;
virLogDefineOutput;
2009-08-06 17:55:07 +04:00
virLogParseDefaultPriority;
2009-06-26 19:08:04 +04:00
virLogParseFilters;
virLogParseOutputs;
virLogStartup;
virLogShutdown;
virLogReset;
2009-01-05 17:05:29 +03:00
# memory.h
virAlloc;
virAllocN;
virReallocN;
virFree;
# network_conf.h
virNetworkAssignDef;
2009-01-21 01:36:10 +03:00
virNetworkConfigFile;
2009-01-05 17:05:29 +03:00
virNetworkDefFormat;
virNetworkDefFree;
virNetworkDefParseFile;
virNetworkDefParseNode;
virNetworkDefParseString;
virNetworkDeleteConfig;
virNetworkFindByName;
virNetworkFindByUUID;
virNetworkLoadAllConfigs;
virNetworkObjListFree;
virNetworkDefParseNode;
virNetworkRemoveInactive;
virNetworkSaveConfig;
2009-03-02 20:37:03 +03:00
virNetworkSetBridgeName;
2009-01-05 17:05:29 +03:00
virNetworkObjLock;
virNetworkObjUnlock;
# nodeinfo.h
2009-06-03 17:28:02 +04:00
nodeGetInfo;
nodeCapsInitNUMA;
nodeGetCellsFreeMemory;
nodeGetFreeMemory;
2009-01-05 17:05:29 +03:00
# node_device_conf.h
virNodeDeviceObjRemove;
virNodeDevCapTypeToString;
virNodeDeviceFindByName;
virNodeDeviceObjListFree;
virNodeDeviceDefFree;
virNodeDevCapsDefFree;
virNodeDeviceDefFormat;
2009-02-24 17:55:45 +03:00
virNodeDeviceDefParseString;
2009-01-05 17:05:29 +03:00
virNodeDeviceObjLock;
virNodeDeviceObjUnlock;
virNodeDeviceAssignDef;
2009-03-02 19:18:11 +03:00
# pci.h
pciGetDevice;
pciFreeDevice;
pciDettachDevice;
pciReAttachDevice;
pciResetDevice;
2009-08-17 18:05:23 +04:00
pciDeviceSetManaged;
pciDeviceGetManaged;
pciDeviceListNew;
pciDeviceListFree;
pciDeviceListAdd;
pciDeviceListDel;
2009-08-14 17:20:40 +04:00
pciDeviceFileIterate;
2009-03-02 19:18:11 +03:00
2009-01-05 17:05:29 +03:00
# qparams.h
qparam_get_query;
qparam_query_parse;
free_qparam_set;
2009-09-01 19:27:46 +04:00
# secret_conf.h
virSecretDefFree;
virSecretDefParseString;
virSecretDefParseFile;
virSecretDefFormat;
2009-01-05 17:05:29 +03:00
2009-08-14 23:48:55 +04:00
# secret_driver.h
secretRegister;
2009-03-03 12:44:41 +03:00
# security.h
2009-04-03 14:55:51 +04:00
virSecurityDriverVerify;
2009-03-03 12:44:41 +03:00
virSecurityDriverStartup;
virSecurityDriverInit;
virSecurityDriverSetDOI;
virSecurityDriverGetDOI;
virSecurityDriverGetModel;
2009-01-05 17:05:29 +03:00
# storage_conf.h
virStoragePoolDefFormat;
virStoragePoolDefFree;
2009-06-22 20:41:34 +04:00
virStoragePoolDefParseString;
virStoragePoolDefParseFile;
virStoragePoolDefParseNode;
2009-01-05 17:05:29 +03:00
virStoragePoolLoadAllConfigs;
virStoragePoolObjAssignDef;
virStoragePoolObjClearVols;
virStoragePoolObjDeleteDef;
virStoragePoolObjFindByName;
virStoragePoolObjFindByUUID;
virStoragePoolObjListFree;
virStoragePoolObjRemove;
virStoragePoolObjSaveDef;
virStoragePoolSourceFree;
virStoragePoolSourceListFormat;
virStorageVolDefFindByKey;
virStorageVolDefFindByName;
virStorageVolDefFindByPath;
virStorageVolDefFormat;
virStorageVolDefFree;
2009-06-22 20:41:34 +04:00
virStorageVolDefParseFile;
virStorageVolDefParseString;
virStorageVolDefParseNode;
2009-01-05 17:05:29 +03:00
virStoragePoolFormatDiskTypeToString;
virStoragePoolFormatFileSystemTypeToString;
virStoragePoolFormatFileSystemNetTypeToString;
virStorageVolFormatFileSystemTypeToString;
2009-01-27 21:30:03 +03:00
virStorageVolFormatFileSystemTypeFromString;
2009-01-05 17:05:29 +03:00
virStoragePoolTypeFromString;
2009-06-26 20:18:59 +04:00
virStoragePartedFsTypeTypeToString;
2009-01-05 17:05:29 +03:00
virStoragePoolObjLock;
virStoragePoolObjUnlock;
2009-09-08 15:33:35 +04:00
# storage_encryption_conf.h
2009-08-19 23:50:10 +04:00
virStorageEncryptionFree;
virStorageEncryptionDropSecrets;
virStorageEncryptionParseNode;
virStorageEncryptionFormat;
2009-08-14 22:06:59 +04:00
virStorageGenerateQcowPassphrase;
2009-08-19 23:50:10 +04:00
2009-01-05 17:05:29 +03:00
2009-01-15 22:56:05 +03:00
# threads.h
virMutexInit;
virMutexDestroy;
virMutexLock;
virMutexUnlock;
virCondInit;
virCondDestroy;
virCondWait;
virCondSignal;
virCondBroadcast;
2009-01-05 17:05:29 +03:00
# util.h
virFileReadAll;
2009-02-13 22:13:06 +03:00
virFileWriteStr;
2009-01-05 17:05:29 +03:00
virStrToLong_i;
virStrToLong_ll;
virStrToLong_ull;
virStrToLong_ui;
2009-07-09 17:11:21 +04:00
virStrToDouble;
2009-01-05 17:05:29 +03:00
virFileLinkPointsTo;
2009-04-01 14:26:22 +04:00
virFileResolveLink;
2009-01-05 17:05:29 +03:00
saferead;
safewrite;
2009-03-20 15:17:56 +03:00
safezero;
2009-01-05 17:05:29 +03:00
virMacAddrCompare;
virEnumFromString;
virEnumToString;
virEventAddHandle;
virEventRemoveHandle;
virExec;
2009-05-11 17:34:37 +04:00
virExecDaemonize;
2009-02-05 19:27:17 +03:00
virSetCloseExec;
2009-01-20 19:36:34 +03:00
virSetNonBlock;
2009-01-05 17:05:29 +03:00
virFormatMacAddr;
2009-01-07 13:43:16 +03:00
virGetHostname;
2009-01-05 17:05:29 +03:00
virParseMacAddr;
virFileDeletePid;
2009-06-11 17:18:56 +04:00
virFindFileInPath;
2009-01-05 17:05:29 +03:00
virFileExists;
virFileHasSuffix;
virFileLinkPointsTo;
virFileMakePath;
virFileOpenTty;
virFileReadLimFD;
virFilePid;
virFileReadPid;
virFileLinkPointsTo;
virParseNumber;
virAsprintf;
virRun;
virSkipSpaces;
2009-01-06 20:46:46 +03:00
virKillProcess;
2009-01-22 22:41:48 +03:00
virGetUserDirectory;
2009-07-10 14:40:04 +04:00
virGetUserName;
2009-07-16 01:25:01 +04:00
virGetUserID;
virGetGroupID;
Support configuration of huge pages in guests
Add option to domain XML for
<memoryBacking>
<hugepages/>
</memoryBacking>
* configure.in: Add check for mntent.h
* qemud/libvirtd_qemu.aug, qemud/test_libvirtd_qemu.aug, src/qemu.conf
Add 'hugetlbfs_mount' config parameter
* src/qemu_conf.c, src/qemu_conf.h: Check for -mem-path flag in QEMU,
and pass it when hugepages are requested.
Load hugetlbfs_mount config parameter, search for mount if not given.
* src/qemu_driver.c: Free hugetlbfs_mount/path parameter in driver shutdown.
Create directory for QEMU hugepage usage, chowning if required.
* docs/formatdomain.html.in: Document memoryBacking/hugepages elements
* docs/schemas/domain.rng: Add memoryBacking/hugepages elements to schema
* src/util.c, src/util.h, src/libvirt_private.syms: Add virFileFindMountPoint
helper API
* tests/qemuhelptest.c: Add -mem-path constants
* tests/qemuxml2argvtest.c, tests/qemuxml2xmltest.c: Add tests for hugepage
handling
* tests/qemuxml2argvdata/qemuxml2argv-hugepages.xml,
tests/qemuxml2argvdata/qemuxml2argv-hugepages.args: Data files for
hugepage tests
2009-08-25 18:05:18 +04:00
virFileFindMountPoint;
2009-09-10 17:21:10 +04:00
virFileWaitForDevices;
2009-09-15 14:11:10 +04:00
virFileMatchesNameSuffix;
2009-09-23 18:23:47 +04:00
virArgvToString;
2009-09-15 14:11:10 +04:00
2009-01-05 17:05:29 +03:00
2009-08-14 17:19:32 +04:00
# usb.h
usbGetDevice;
usbFreeDevice;
usbDeviceFileIterate;
2009-01-05 17:05:29 +03:00
# uuid.h
virUUIDFormat;
virUUIDGenerate;
virUUIDParse;
# virterror_internal.h
virReportErrorHelper;
virErrorMsg;
2009-09-10 17:21:10 +04:00
virRaiseErrorFull;
2009-01-20 20:13:33 +03:00
virReportSystemErrorFull;
virReportOOMErrorFull;
2009-02-05 19:10:07 +03:00
virStrerror;
2009-01-05 17:05:29 +03:00
# xml.h
virXPathLong;
virXPathNode;
virXPathNodeSet;
virXPathString;
virXMLPropString;
2009-03-03 12:44:41 +03:00
virXPathStringLimit;