2009-01-05 14:05:29 +00:00
#
2009-11-10 15:53:20 +01:00
# General private symbols. Add symbols here, and see Makefile.am for
# more details.
2009-01-05 14:05:29 +00:00
#
# buf.h
virBufferVSprintf;
virBufferEscapeString;
virBufferAdd;
virBufferAddChar;
virBufferContentAndReset;
virBufferError;
2009-09-10 14:21:10 +01:00
virBufferURIEncodeString;
2009-01-05 14:05:29 +00:00
# caps.h
virCapabilitiesAddGuest;
virCapabilitiesAddGuestDomain;
virCapabilitiesAddGuestFeature;
virCapabilitiesAddHostMigrateTransport;
virCapabilitiesAddHostNUMACell;
virCapabilitiesAddHostFeature;
virCapabilitiesDefaultGuestArch;
virCapabilitiesDefaultGuestEmulator;
virCapabilitiesDefaultGuestMachine;
virCapabilitiesFormatXML;
virCapabilitiesFree;
2009-06-29 10:41:56 +00:00
virCapabilitiesFreeNUMAInfo;
2009-01-05 14:05:29 +00:00
virCapabilitiesNew;
virCapabilitiesSetMacPrefix;
2009-03-02 20:19:13 +00:00
virCapabilitiesGenerateMac;
2009-06-16 15:27:33 +00:00
virCapabilitiesSetEmulatorRequired;
virCapabilitiesIsEmulatorRequired;
2009-07-23 18:31:34 +01:00
virCapabilitiesAllocMachines;
virCapabilitiesFreeMachines;
2009-01-05 14:05:29 +00: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 16:28:46 +01:00
# cgroup.h
virCgroupForDomain;
virCgroupForDriver;
virCgroupRemove;
virCgroupFree;
virCgroupAddTask;
2009-10-07 15:26:23 +02:00
virCgroupSetMemory;
virCgroupGetMemoryUsage;
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 16:28:46 +01:00
virCgroupSetCpuShares;
virCgroupGetCpuShares;
virCgroupDenyDevicePath;
virCgroupAllowDevicePath;
virCgroupDenyAllDevices;
virCgroupAllowDeviceMajor;
virCgroupControllerTypeToString;
virCgroupControllerTypeFromString;
virCgroupGetCpuacctUsage;
2009-09-21 23:31:22 +09: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 16:28:46 +01:00
2009-01-05 14:05:29 +00:00
# datatypes.h
virGetDomain;
2009-05-20 14:26:49 +00:00
virGetInterface;
2009-01-05 14:05:29 +00:00
virGetNetwork;
virGetStoragePool;
virGetStorageVol;
2009-08-14 21:42:19 +02:00
virGetSecret;
2009-04-17 19:12:37 +00:00
virUnrefStorageVol;
2009-01-05 14:05:29 +00:00
virGetNodeDevice;
virUnrefDomain;
2009-03-02 20:19:13 +00:00
virUnrefConnect;
2009-08-14 21:42:19 +02:00
virUnrefSecret;
2009-07-10 12:18:12 +01:00
virGetStream;
virUnrefStream;
2009-01-05 14:05:29 +00:00
# domain_conf.h
virDiskNameToBusDeviceIndex;
virDiskNameToIndex;
virDomainAssignDef;
virDomainConfigFile;
virDomainCpuSetFormat;
virDomainCpuSetParse;
virDomainChrDefFree;
virDomainChrTypeFromString;
virDomainChrTypeToString;
virDomainDefFormat;
virDomainDefFree;
virDomainDefParseFile;
virDomainDefParseNode;
virDomainDefParseString;
virDomainDeleteConfig;
virDomainDeviceDefFree;
virDomainDeviceDefParse;
2009-03-02 17:39:43 +00:00
virDomainDeviceTypeToString;
2009-01-05 14:05:29 +00:00
virDomainDiskBusTypeToString;
virDomainDiskDefFree;
virDomainDiskDeviceTypeToString;
2009-08-14 10:31:36 +01:00
virDomainDiskInsert;
virDomainDiskInsertPreAlloced;
2009-01-05 14:05:29 +00:00
virDomainFindByID;
virDomainFindByName;
virDomainFindByUUID;
2009-04-22 14:26:50 +00:00
virDomainGetRootFilesystem;
2009-01-05 14:05:29 +00:00
virDomainGraphicsTypeFromString;
virDomainGraphicsDefFree;
2009-04-24 12:19:00 +00:00
virDomainHostdevDefFree;
2009-08-14 08:31:10 +01:00
virDomainHostdevModeTypeToString;
virDomainHostdevSubsysTypeToString;
2009-01-05 14:05:29 +00:00
virDomainInputDefFree;
virDomainLifecycleTypeFromString;
virDomainLifecycleTypeToString;
virDomainLoadAllConfigs;
virDomainNetDefFree;
2009-07-17 22:08:34 +01:00
virDomainNetTypeToString;
2009-01-05 14:05:29 +00:00
virDomainRemoveInactive;
virDomainSaveXML;
virDomainSaveConfig;
2009-06-12 11:38:50 +00:00
virDomainSaveStatus;
2009-01-05 14:05:29 +00:00
virDomainSoundDefFree;
virDomainSoundModelTypeFromString;
virDomainSoundModelTypeToString;
2009-10-21 13:26:38 +01:00
virDomainWatchdogModelTypeFromString;
virDomainWatchdogModelTypeToString;
virDomainWatchdogActionTypeFromString;
virDomainWatchdogActionTypeToString;
2009-07-06 14:54:44 +01:00
virDomainVideoDefFree;
virDomainVideoTypeToString;
virDomainVideoTypeFromString;
virDomainVideoDefaultRAM;
virDomainVideoDefaultType;
2009-01-05 14:05:29 +00:00
virDomainVirtTypeToString;
virDomainFSDefFree;
virDomainObjLock;
virDomainObjUnlock;
2009-01-19 21:06:26 +00:00
virDomainStateTypeToString;
virDomainStateTypeFromString;
2009-11-02 13:37:38 -05:00
virDomainObjIsDuplicate;
Convert virDomainObjListPtr to use a hash of domain objects
The current virDomainObjListPtr object stores domain objects in
an array. This means that to find a particular objects requires
O(n) time, and more critically acquiring O(n) mutex locks.
The new impl replaces the array with a virHashTable, keyed off
UUID. Finding a object based on UUID is now O(1) time, and only
requires a single mutex lock. Finding by name/id is unchanged
in complexity.
In changing this, all code which iterates over the array had
to be updated to use a hash table iterator function callback.
Several of the functions which were identically duplicating
across all drivers were pulled into domain_conf.c
* src/conf/domain_conf.h, src/conf/domain_conf.c: Change
virDomainObjListPtr to use virHashTable. Add a initializer
method virDomainObjListInit, and rename virDomainObjListFree
to virDomainObjListDeinit, since its not actually freeing
the container, only its contents. Also add some convenient
methods virDomainObjListGetInactiveNames,
virDomainObjListGetActiveIDs and virDomainObjListNumOfDomains
which can be used to implement the correspondingly named
public API entry points in drivers
* src/libvirt_private.syms: Export new methods from domain_conf.h
* src/lxc/lxc_driver.c, src/opennebula/one_driver.c,
src/openvz/openvz_conf.c, src/openvz/openvz_driver.c,
src/qemu/qemu_driver.c, src/test/test_driver.c,
src/uml/uml_driver.c, src/vbox/vbox_tmpl.c: Update all code
to deal with hash tables instead of arrays for domains
2009-10-09 12:33:51 +01:00
virDomainObjListGetInactiveNames;
virDomainObjListGetActiveIDs;
virDomainObjListNumOfDomains;
virDomainObjListInit;
virDomainObjListDeinit;
2009-10-15 12:30:26 +01:00
virDomainObjRef;
virDomainObjUnref;
2009-01-05 14:05:29 +00:00
# domain_event.h
virDomainEventCallbackListAdd;
virDomainEventCallbackListFree;
virDomainEventCallbackListRemove;
virDomainEventCallbackListRemoveConn;
virDomainEventCallbackListMarkDelete;
virDomainEventCallbackListPurgeMarked;
virDomainEventQueueNew;
virDomainEventQueueFree;
virDomainEventQueuePop;
virDomainEventQueuePush;
virDomainEventNew;
virDomainEventNewFromDom;
virDomainEventNewFromObj;
virDomainEventNewFromDef;
virDomainEventFree;
virDomainEventDispatchDefaultFunc;
virDomainEventDispatch;
virDomainEventQueueDispatch;
2009-11-03 23:11:01 +01:00
# ebtables.h
ebtablesAddForwardAllowIn;
ebtablesAddForwardPolicyReject;
ebtablesContextNew;
ebtablesRemoveForwardAllowIn;
2009-01-05 14:05:29 +00:00
# event.h
virEventAddHandle;
virEventAddTimeout;
virEventRemoveHandle;
virEventRemoveTimeout;
virEventUpdateHandle;
virEventUpdateTimeout;
# hash.h
virHashAddEntry;
virHashCreate;
virHashForEach;
virHashFree;
virHashLookup;
virHashRemoveEntry;
virHashRemoveSet;
virHashSearch;
virHashSize;
2009-07-15 19:34:04 +02:00
# interface_conf.h
virInterfaceDefFormat;
virInterfaceDefParseFile;
virInterfaceDefParseString;
2009-09-10 14:21:10 +01:00
virInterfaceDefParseNode;
2009-07-15 19:34:04 +02:00
virInterfaceDefFree;
2009-09-10 14:21:10 +01:00
virInterfaceFindByName;
virInterfaceFindByMACString;
virInterfaceAssignDef;
virInterfaceRemove;
virInterfaceObjLock;
virInterfaceObjUnlock;
virInterfaceObjListFree;
2009-07-15 19:34:04 +02:00
2009-07-21 16:02:16 +02:00
# interface_driver.h
interfaceRegister;
2009-07-15 19:34:04 +02:00
2009-11-03 23:11:01 +01:00
2009-01-05 14:05:29 +00: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;
2009-09-30 12:51:54 +02:00
virDomainMigratePrepareTunnel;
2009-01-05 14:05:29 +00:00
virRegisterDriver;
2009-07-21 16:02:16 +02:00
virRegisterInterfaceDriver;
2009-01-05 14:05:29 +00:00
virRegisterNetworkDriver;
virRegisterStateDriver;
virRegisterStorageDriver;
virRegisterDeviceMonitor;
2009-09-10 14:21:10 +01:00
virRegisterSecretDriver;
2009-01-05 14:05:29 +00:00
2009-11-03 13:59:18 -05:00
# json.h
virJSONValueFree;
virJSONValueNewString;
virJSONValueNewStringLen;
virJSONValueNewNumberInt;
virJSONValueNewNumberUint;
virJSONValueNewNumberLong;
virJSONValueNewNumberUlong;
virJSONValueNewNumberDouble;
virJSONValueNewBoolean;
virJSONValueNewNull;
virJSONValueNewArray;
virJSONValueNewObject;
virJSONValueObjectAppend;
virJSONValueObjectAppendString;
virJSONValueObjectAppendNumberInt;
virJSONValueObjectAppendNumberUint;
virJSONValueObjectAppendNumberLong;
virJSONValueObjectAppendNumberUlong;
virJSONValueObjectAppendNumberDouble;
virJSONValueObjectAppendBoolean;
virJSONValueObjectAppendNull;
virJSONValueArrayAppend;
virJSONValueObjectHasKey;
virJSONValueObjectGet;
virJSONValueArraySize;
virJSONValueArrayGet;
virJSONValueGetString;
virJSONValueGetNumberInt;
virJSONValueGetNumberUint;
virJSONValueGetNumberLong;
virJSONValueGetNumberUlong;
virJSONValueGetNumberDouble;
virJSONValueGetBoolean;
virJSONValueIsNull;
virJSONValueObjectGetString;
virJSONValueObjectGetNumberInt;
virJSONValueObjectGetNumberUint;
virJSONValueObjectGetNumberLong;
virJSONValueObjectGetNumberUlong;
virJSONValueObjectGetNumberDouble;
virJSONValueObjectGetBoolean;
virJSONValueObjectIsNull;
virJSONValueFromString;
virJSONValueToString;
2009-06-26 15:08:04 +00:00
# logging.h
virLogMessage;
2009-08-06 15:45:50 +02:00
virLogGetNbFilters;
virLogGetNbOutputs;
2009-10-08 17:05:01 +02:00
virLogGetFilters;
virLogGetOutputs;
2009-08-06 15:45:50 +02:00
virLogGetDefaultPriority;
2009-06-26 15:08:04 +00:00
virLogSetDefaultPriority;
2009-08-06 15:55:07 +02:00
virLogSetFromEnv;
2009-06-26 15:08:04 +00:00
virLogDefineFilter;
virLogDefineOutput;
2009-08-06 15:55:07 +02:00
virLogParseDefaultPriority;
2009-06-26 15:08:04 +00:00
virLogParseFilters;
virLogParseOutputs;
virLogStartup;
virLogShutdown;
virLogReset;
2009-01-05 14:05:29 +00:00
# memory.h
virAlloc;
virAllocN;
virReallocN;
virFree;
2009-10-30 16:36:04 +01:00
# network.h
virSocketAddrInNetwork;
virSocketAddrIsNetmask;
virSocketCheckNetmask;
2009-11-02 15:42:47 +01:00
virSocketFormatAddr;
virSocketGetPort;
2009-10-30 16:36:04 +01:00
virSocketGetRange;
virSocketParseAddr;
virSocketParseIpv4Addr;
virSocketParseIpv6Addr;
2009-11-02 15:42:47 +01:00
virSocketSetPort;
2009-10-30 16:36:04 +01:00
2009-01-05 14:05:29 +00:00
# network_conf.h
virNetworkAssignDef;
2009-01-20 22:36:10 +00:00
virNetworkConfigFile;
2009-01-05 14:05:29 +00:00
virNetworkDefFormat;
virNetworkDefFree;
virNetworkDefParseFile;
virNetworkDefParseNode;
virNetworkDefParseString;
virNetworkDeleteConfig;
virNetworkFindByName;
virNetworkFindByUUID;
virNetworkLoadAllConfigs;
virNetworkObjListFree;
virNetworkDefParseNode;
virNetworkRemoveInactive;
virNetworkSaveConfig;
2009-03-02 17:37:03 +00:00
virNetworkSetBridgeName;
2009-01-05 14:05:29 +00:00
virNetworkObjLock;
virNetworkObjUnlock;
# nodeinfo.h
2009-06-03 13:28:02 +00:00
nodeGetInfo;
nodeCapsInitNUMA;
nodeGetCellsFreeMemory;
nodeGetFreeMemory;
2009-01-05 14:05:29 +00:00
# node_device_conf.h
2009-10-01 14:53:43 -04:00
virNodeDeviceHasCap;
2009-01-05 14:05:29 +00:00
virNodeDeviceObjRemove;
virNodeDevCapTypeToString;
virNodeDeviceFindByName;
2009-11-12 22:48:24 +01:00
virNodeDeviceFindBySysfsPath;
2009-01-05 14:05:29 +00:00
virNodeDeviceObjListFree;
virNodeDeviceDefFree;
virNodeDevCapsDefFree;
virNodeDeviceDefFormat;
2009-02-24 14:55:45 +00:00
virNodeDeviceDefParseString;
2009-01-05 14:05:29 +00:00
virNodeDeviceObjLock;
virNodeDeviceObjUnlock;
virNodeDeviceAssignDef;
2009-10-14 15:47:10 -04:00
virNodeDeviceGetWWNs;
virNodeDeviceGetParentHost;
2009-01-05 14:05:29 +00:00
2009-03-02 16:18:11 +00:00
# pci.h
pciGetDevice;
pciFreeDevice;
pciDettachDevice;
pciReAttachDevice;
pciResetDevice;
2009-08-17 15:05:23 +01:00
pciDeviceSetManaged;
pciDeviceGetManaged;
pciDeviceListNew;
pciDeviceListFree;
pciDeviceListAdd;
pciDeviceListDel;
2009-08-14 14:20:40 +01:00
pciDeviceFileIterate;
2009-10-27 17:30:16 +00:00
pciDeviceListCount;
pciDeviceListGet;
pciDeviceListLock;
pciDeviceListUnlock;
pciDeviceListSteal;
2009-08-14 14:20:40 +01:00
2009-03-02 16:18:11 +00:00
2009-11-16 15:22:34 +00:00
# processinfo.h
virProcessInfoSetAffinity;
virProcessInfoGetAffinity;
2009-01-05 14:05:29 +00:00
# qparams.h
qparam_get_query;
qparam_query_parse;
free_qparam_set;
2009-09-01 17:27:46 +02:00
# secret_conf.h
virSecretDefFree;
virSecretDefParseString;
virSecretDefParseFile;
virSecretDefFormat;
2009-01-05 14:05:29 +00:00
2009-08-14 21:48:55 +02:00
# secret_driver.h
secretRegister;
2009-03-03 09:44:41 +00:00
# security.h
2009-04-03 10:55:51 +00:00
virSecurityDriverVerify;
2009-03-03 09:44:41 +00:00
virSecurityDriverStartup;
virSecurityDriverInit;
virSecurityDriverSetDOI;
virSecurityDriverGetDOI;
virSecurityDriverGetModel;
2009-01-05 14:05:29 +00:00
# storage_conf.h
virStoragePoolDefFormat;
virStoragePoolDefFree;
2009-06-22 16:41:34 +00:00
virStoragePoolDefParseString;
virStoragePoolDefParseFile;
virStoragePoolDefParseNode;
2009-01-05 14:05:29 +00:00
virStoragePoolLoadAllConfigs;
virStoragePoolObjAssignDef;
virStoragePoolObjClearVols;
virStoragePoolObjDeleteDef;
virStoragePoolObjFindByName;
virStoragePoolObjFindByUUID;
virStoragePoolObjListFree;
virStoragePoolObjRemove;
virStoragePoolObjSaveDef;
virStoragePoolSourceFree;
2009-10-15 11:58:35 -04:00
virStoragePoolDefParseSourceString;
2009-10-15 11:41:53 -04:00
virStoragePoolSourceListNewSource;
2009-01-05 14:05:29 +00:00
virStoragePoolSourceListFormat;
virStorageVolDefFindByKey;
virStorageVolDefFindByName;
virStorageVolDefFindByPath;
virStorageVolDefFormat;
virStorageVolDefFree;
2009-06-22 16:41:34 +00:00
virStorageVolDefParseFile;
virStorageVolDefParseString;
virStorageVolDefParseNode;
2009-01-05 14:05:29 +00:00
virStoragePoolFormatDiskTypeToString;
virStoragePoolFormatFileSystemTypeToString;
virStoragePoolFormatFileSystemNetTypeToString;
virStoragePoolTypeFromString;
2009-06-26 16:18:59 +00:00
virStoragePartedFsTypeTypeToString;
2009-01-05 14:05:29 +00:00
virStoragePoolObjLock;
virStoragePoolObjUnlock;
2009-09-08 13:33:35 +02:00
# storage_encryption_conf.h
2009-08-19 21:50:10 +02:00
virStorageEncryptionFree;
virStorageEncryptionDropSecrets;
virStorageEncryptionParseNode;
virStorageEncryptionFormat;
2009-08-14 20:06:59 +02:00
virStorageGenerateQcowPassphrase;
2009-08-19 21:50:10 +02:00
2009-09-25 14:20:13 +01:00
# storage_file.h
virStorageFileFormatTypeToString;
virStorageFileFormatTypeFromString;
2009-09-29 09:41:23 +01:00
virStorageFileGetMetadata;
2009-09-29 09:34:48 +01:00
virStorageFileGetMetadataFromFD;
2009-01-05 14:05:29 +00:00
2009-01-15 19:56:05 +00:00
# threads.h
virMutexInit;
virMutexDestroy;
virMutexLock;
virMutexUnlock;
virCondInit;
virCondDestroy;
virCondWait;
2009-11-03 13:40:15 -05:00
virCondWaitUntil;
2009-01-15 19:56:05 +00:00
virCondSignal;
virCondBroadcast;
2009-01-05 14:05:29 +00:00
# util.h
virFileReadAll;
2009-02-13 19:13:06 +00:00
virFileWriteStr;
2009-01-05 14:05:29 +00:00
virStrToLong_i;
virStrToLong_ll;
virStrToLong_ull;
virStrToLong_ui;
2009-07-09 14:11:21 +01:00
virStrToDouble;
2009-01-05 14:05:29 +00:00
virFileLinkPointsTo;
2009-04-01 10:26:22 +00:00
virFileResolveLink;
2009-01-05 14:05:29 +00:00
saferead;
safewrite;
2009-03-20 12:17:56 +00:00
safezero;
2009-01-05 14:05:29 +00:00
virMacAddrCompare;
virEnumFromString;
virEnumToString;
virEventAddHandle;
virEventRemoveHandle;
virExec;
2009-05-11 13:34:37 +00:00
virExecDaemonize;
2009-02-05 16:27:17 +00:00
virSetCloseExec;
2009-01-20 16:36:34 +00:00
virSetNonBlock;
2009-01-05 14:05:29 +00:00
virFormatMacAddr;
2009-01-07 10:43:16 +00:00
virGetHostname;
2009-01-05 14:05:29 +00:00
virParseMacAddr;
virFileDeletePid;
2009-06-11 13:18:56 +00:00
virFindFileInPath;
2009-01-05 14:05:29 +00:00
virFileExists;
virFileHasSuffix;
virFileLinkPointsTo;
virFileMakePath;
2009-10-08 16:55:58 +02:00
virFileAbsPath;
2009-01-05 14:05:29 +00:00
virFileOpenTty;
virFileReadLimFD;
virFilePid;
virFileReadPid;
virFileLinkPointsTo;
virParseNumber;
virAsprintf;
virRun;
virSkipSpaces;
2009-01-06 17:46:46 +00:00
virKillProcess;
2009-01-22 19:41:48 +00:00
virGetUserDirectory;
2009-07-10 11:40:04 +01:00
virGetUserName;
2009-07-15 22:25:01 +01: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 15:05:18 +01:00
virFileFindMountPoint;
2009-09-10 14:21:10 +01:00
virFileWaitForDevices;
2009-09-15 11:11:10 +01:00
virFileMatchesNameSuffix;
2009-09-23 15:23:47 +01:00
virArgvToString;
2009-09-15 11:11:10 +01:00
2009-01-05 14:05:29 +00:00
2009-08-14 14:19:32 +01:00
# usb.h
usbGetDevice;
usbFreeDevice;
usbDeviceFileIterate;
2009-01-05 14:05:29 +00:00
# uuid.h
virUUIDFormat;
virUUIDGenerate;
virUUIDParse;
# virterror_internal.h
virReportErrorHelper;
virErrorMsg;
2009-09-10 14:21:10 +01:00
virRaiseErrorFull;
2009-01-20 17:13:33 +00:00
virReportSystemErrorFull;
virReportOOMErrorFull;
2009-02-05 16:10:07 +00:00
virStrerror;
2009-01-05 14:05:29 +00:00
# xml.h
2009-11-26 17:57:00 +00:00
virXPathBoolean;
2009-01-05 14:05:29 +00:00
virXPathLong;
virXPathNode;
virXPathNodeSet;
virXPathString;
virXMLPropString;
2009-03-03 09:44:41 +00:00
virXPathStringLimit;
2009-12-04 19:24:25 +01:00
virXPathBoolean;
virXPathNumber;
virXPathULong;
virXPathULongLong;
virXPathLongHex;
virXPathULongHex;