2009-01-05 14:05:29 +00:00
|
|
|
#
|
2009-11-10 14:53:20 +00:00
|
|
|
# General private symbols. Add symbols here, and see Makefile.am for
|
|
|
|
# more details.
|
2009-01-05 14:05:29 +00:00
|
|
|
#
|
2010-10-20 17:10:45 +00:00
|
|
|
# Keep this file sorted by header name, then by symbols with each header.
|
|
|
|
#
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-10-12 11:23:18 +00:00
|
|
|
# authhelper.h
|
|
|
|
virRequestPassword;
|
2010-10-20 17:10:45 +00:00
|
|
|
virRequestUsername;
|
2010-10-12 11:23:18 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-05-21 04:23:48 +00:00
|
|
|
# bitmap.h
|
|
|
|
virBitmapAlloc;
|
|
|
|
virBitmapClearBit;
|
2010-10-20 17:10:45 +00:00
|
|
|
virBitmapFree;
|
2010-05-21 04:23:48 +00:00
|
|
|
virBitmapGetBit;
|
2010-10-20 17:10:45 +00:00
|
|
|
virBitmapSetBit;
|
2010-05-21 04:23:48 +00:00
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# buf.h
|
|
|
|
virBufferAdd;
|
|
|
|
virBufferAddChar;
|
|
|
|
virBufferContentAndReset;
|
|
|
|
virBufferError;
|
2010-11-19 15:51:57 +00:00
|
|
|
virBufferEscapeSexpr;
|
2010-11-22 19:14:14 +00:00
|
|
|
virBufferEscapeString;
|
2009-12-09 23:00:50 +00:00
|
|
|
virBufferFreeAndReset;
|
2010-10-12 11:23:18 +00:00
|
|
|
virBufferStrcat;
|
2010-10-20 17:10:45 +00:00
|
|
|
virBufferURIEncodeString;
|
|
|
|
virBufferUse;
|
|
|
|
virBufferVSprintf;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# caps.h
|
|
|
|
virCapabilitiesAddGuest;
|
|
|
|
virCapabilitiesAddGuestDomain;
|
|
|
|
virCapabilitiesAddGuestFeature;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCapabilitiesAddHostFeature;
|
2009-01-05 14:05:29 +00:00
|
|
|
virCapabilitiesAddHostMigrateTransport;
|
|
|
|
virCapabilitiesAddHostNUMACell;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCapabilitiesAllocMachines;
|
2009-01-05 14:05:29 +00:00
|
|
|
virCapabilitiesDefaultGuestArch;
|
|
|
|
virCapabilitiesDefaultGuestEmulator;
|
|
|
|
virCapabilitiesDefaultGuestMachine;
|
|
|
|
virCapabilitiesFormatXML;
|
|
|
|
virCapabilitiesFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCapabilitiesFreeMachines;
|
2009-06-29 10:41:56 +00:00
|
|
|
virCapabilitiesFreeNUMAInfo;
|
2009-03-02 20:19:13 +00:00
|
|
|
virCapabilitiesGenerateMac;
|
2009-06-16 15:27:33 +00:00
|
|
|
virCapabilitiesIsEmulatorRequired;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCapabilitiesNew;
|
|
|
|
virCapabilitiesSetEmulatorRequired;
|
2009-12-18 13:44:55 +00:00
|
|
|
virCapabilitiesSetHostCPU;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCapabilitiesSetMacPrefix;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
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 15:28:46 +00:00
|
|
|
# cgroup.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virCgroupAddTask;
|
|
|
|
virCgroupAllowDeviceMajor;
|
|
|
|
virCgroupAllowDevicePath;
|
|
|
|
virCgroupControllerTypeFromString;
|
|
|
|
virCgroupControllerTypeToString;
|
|
|
|
virCgroupDenyAllDevices;
|
|
|
|
virCgroupDenyDevicePath;
|
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 15:28:46 +00:00
|
|
|
virCgroupForDomain;
|
|
|
|
virCgroupForDriver;
|
|
|
|
virCgroupFree;
|
|
|
|
virCgroupGetCpuShares;
|
|
|
|
virCgroupGetCpuacctUsage;
|
2009-09-21 14:31:22 +00:00
|
|
|
virCgroupGetFreezerState;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCgroupGetMemoryHardLimit;
|
|
|
|
virCgroupGetMemorySoftLimit;
|
|
|
|
virCgroupGetMemoryUsage;
|
|
|
|
virCgroupGetSwapHardLimit;
|
2010-10-29 09:32:16 +00:00
|
|
|
virCgroupMounted;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCgroupRemove;
|
|
|
|
virCgroupSetCpuShares;
|
2009-09-21 14:31:22 +00:00
|
|
|
virCgroupSetFreezerState;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCgroupSetMemory;
|
2010-10-12 14:50:53 +00:00
|
|
|
virCgroupSetMemoryHardLimit;
|
|
|
|
virCgroupSetMemorySoftLimit;
|
|
|
|
virCgroupSetSwapHardLimit;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
|
|
|
|
2010-05-25 11:14:06 +00:00
|
|
|
# command.h
|
|
|
|
virCommandAddArg;
|
2010-12-10 18:33:53 +00:00
|
|
|
virCommandAddArgBuffer;
|
2010-05-25 11:14:06 +00:00
|
|
|
virCommandAddArgFormat;
|
|
|
|
virCommandAddArgList;
|
|
|
|
virCommandAddArgPair;
|
|
|
|
virCommandAddArgSet;
|
2010-12-10 18:33:53 +00:00
|
|
|
virCommandAddEnvBuffer;
|
2010-05-25 11:14:06 +00:00
|
|
|
virCommandAddEnvPair;
|
|
|
|
virCommandAddEnvPass;
|
|
|
|
virCommandAddEnvPassCommon;
|
|
|
|
virCommandAddEnvString;
|
|
|
|
virCommandClearCaps;
|
|
|
|
virCommandDaemonize;
|
|
|
|
virCommandFree;
|
|
|
|
virCommandNew;
|
|
|
|
virCommandNewArgList;
|
|
|
|
virCommandNewArgs;
|
|
|
|
virCommandNonblockingFDs;
|
|
|
|
virCommandPreserveFD;
|
|
|
|
virCommandRun;
|
|
|
|
virCommandRunAsync;
|
|
|
|
virCommandSetErrorBuffer;
|
|
|
|
virCommandSetErrorFD;
|
|
|
|
virCommandSetInputBuffer;
|
|
|
|
virCommandSetInputFD;
|
|
|
|
virCommandSetOutputBuffer;
|
|
|
|
virCommandSetOutputFD;
|
|
|
|
virCommandSetPidFile;
|
|
|
|
virCommandSetPreExecHook;
|
|
|
|
virCommandSetWorkingDirectory;
|
|
|
|
virCommandToString;
|
|
|
|
virCommandTransferFD;
|
|
|
|
virCommandWait;
|
|
|
|
virCommandWriteArgLog;
|
|
|
|
|
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
# conf.h
|
|
|
|
virConfFree;
|
|
|
|
virConfFreeValue;
|
|
|
|
virConfGetValue;
|
|
|
|
virConfNew;
|
|
|
|
virConfReadFile;
|
|
|
|
virConfReadMem;
|
|
|
|
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 15:28:46 +00:00
|
|
|
|
|
|
|
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
# cpu.h
|
2010-01-25 17:27:56 +00:00
|
|
|
cpuBaseline;
|
|
|
|
cpuBaselineXML;
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
cpuCompare;
|
|
|
|
cpuCompareXML;
|
|
|
|
cpuDataFree;
|
|
|
|
cpuDecode;
|
|
|
|
cpuEncode;
|
|
|
|
cpuGuestData;
|
2010-10-20 17:10:45 +00:00
|
|
|
cpuHasFeature;
|
2010-09-16 14:56:07 +00:00
|
|
|
cpuMapOverride;
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
cpuNodeData;
|
2010-03-23 08:32:50 +00:00
|
|
|
cpuUpdate;
|
Adds CPU selection infrastructure
Each driver supporting CPU selection must fill in host CPU capabilities.
When filling them, drivers for hypervisors running on the same node as
libvirtd can use cpuNodeData() to obtain raw CPU data. Other drivers,
such as VMware, need to implement their own way of getting such data.
Raw data can be decoded into virCPUDefPtr using cpuDecode() function.
When implementing virConnectCompareCPU(), a hypervisor driver can just
call cpuCompareXML() function with host CPU capabilities.
For each guest for which a driver supports selecting CPU models, it must
set the appropriate feature in guest's capabilities:
virCapabilitiesAddGuestFeature(guest, "cpuselection", 1, 0)
Actions needed when a domain is being created depend on whether the
hypervisor understands raw CPU data (currently CPUID for i686, x86_64
architectures) or symbolic names has to be used.
Typical use by hypervisors which prefer CPUID (such as VMware and Xen):
- convert guest CPU configuration from domain's XML into a set of raw
data structures each representing one of the feature policies:
cpuEncode(conn, architecture, guest_cpu_config,
&forced_data, &required_data, &optional_data,
&disabled_data, &forbidden_data)
- create a mask or whatever the hypervisor expects to see and pass it
to the hypervisor
Typical use by hypervisors with symbolic model names (such as QEMU):
- get raw CPU data for a computed guest CPU:
cpuGuestData(conn, host_cpu, guest_cpu_config, &data)
- decode raw data into virCPUDefPtr with a possible restriction on
allowed model names:
cpuDecode(conn, guest, data, n_allowed_models, allowed_models)
- pass guest->model and guest->features to the hypervisor
* src/cpu/cpu.c src/cpu/cpu.h src/cpu/cpu_generic.c
src/cpu/cpu_generic.h src/cpu/cpu_map.c src/cpu/cpu_map.h
src/cpu/cpu_x86.c src/cpu/cpu_x86.h src/cpu/cpu_x86_data.h
* configure.in: check for CPUID instruction
* src/Makefile.am: glue the new files in
* src/libvirt_private.syms: add new private symbols
* po/POTFILES.in: add new cpu files containing translatable strings
2009-12-18 15:02:11 +00:00
|
|
|
|
|
|
|
|
2009-12-18 13:44:55 +00:00
|
|
|
# cpu_conf.h
|
|
|
|
virCPUDefAddFeature;
|
2010-03-23 08:34:04 +00:00
|
|
|
virCPUDefCopy;
|
2010-10-20 17:10:45 +00:00
|
|
|
virCPUDefFormat;
|
|
|
|
virCPUDefFormatBuf;
|
|
|
|
virCPUDefFree;
|
|
|
|
virCPUDefParseXML;
|
2009-12-18 13:44:55 +00:00
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# datatypes.h
|
|
|
|
virGetDomain;
|
2010-10-20 17:10:45 +00:00
|
|
|
virGetDomainSnapshot;
|
2009-05-20 14:26:49 +00:00
|
|
|
virGetInterface;
|
2010-10-20 17:10:45 +00:00
|
|
|
virGetNWFilter;
|
2009-01-05 14:05:29 +00:00
|
|
|
virGetNetwork;
|
2010-10-20 17:10:45 +00:00
|
|
|
virGetNodeDevice;
|
|
|
|
virGetSecret;
|
2009-01-05 14:05:29 +00:00
|
|
|
virGetStoragePool;
|
|
|
|
virGetStorageVol;
|
2010-10-20 17:10:45 +00:00
|
|
|
virGetStream;
|
2009-03-02 20:19:13 +00:00
|
|
|
virUnrefConnect;
|
2010-10-20 17:10:45 +00:00
|
|
|
virUnrefDomain;
|
|
|
|
virUnrefNWFilter;
|
2009-08-14 19:42:19 +00:00
|
|
|
virUnrefSecret;
|
2010-10-20 17:10:45 +00:00
|
|
|
virUnrefStorageVol;
|
2009-07-10 11:18:12 +00:00
|
|
|
virUnrefStream;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# dnsmasq.h
|
|
|
|
dnsmasqAddDhcpHost;
|
|
|
|
dnsmasqContextFree;
|
|
|
|
dnsmasqContextNew;
|
|
|
|
dnsmasqDelete;
|
|
|
|
dnsmasqReload;
|
|
|
|
dnsmasqSave;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# domain_conf.h
|
|
|
|
virDiskNameToBusDeviceIndex;
|
|
|
|
virDiskNameToIndex;
|
|
|
|
virDomainAssignDef;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainChrConsoleTargetTypeFromString;
|
|
|
|
virDomainChrConsoleTargetTypeToString;
|
|
|
|
virDomainChrDefForeach;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainChrDefFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainChrTcpProtocolTypeFromString;
|
|
|
|
virDomainChrTcpProtocolTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainChrTypeFromString;
|
|
|
|
virDomainChrTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainClockOffsetTypeFromString;
|
|
|
|
virDomainClockOffsetTypeToString;
|
|
|
|
virDomainConfigFile;
|
|
|
|
virDomainControllerDefFree;
|
|
|
|
virDomainControllerInsert;
|
|
|
|
virDomainControllerInsertPreAlloced;
|
|
|
|
virDomainControllerModelTypeFromString;
|
|
|
|
virDomainControllerModelTypeToString;
|
|
|
|
virDomainControllerTypeToString;
|
|
|
|
virDomainCpuSetFormat;
|
|
|
|
virDomainCpuSetParse;
|
|
|
|
virDomainDefAddImplicitControllers;
|
|
|
|
virDomainDefClearDeviceAliases;
|
|
|
|
virDomainDefClearPCIAddresses;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainDefFormat;
|
|
|
|
virDomainDefFree;
|
|
|
|
virDomainDefParseFile;
|
|
|
|
virDomainDefParseNode;
|
|
|
|
virDomainDefParseString;
|
|
|
|
virDomainDeleteConfig;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainDeviceAddressIsValid;
|
|
|
|
virDomainDeviceAddressTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainDeviceDefFree;
|
|
|
|
virDomainDeviceDefParse;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainDeviceInfoIsSet;
|
|
|
|
virDomainDeviceInfoIterate;
|
|
|
|
virDomainDevicePCIAddressIsValid;
|
2009-03-02 17:39:43 +00:00
|
|
|
virDomainDeviceTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainDiskBusTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainDiskCacheTypeFromString;
|
|
|
|
virDomainDiskCacheTypeToString;
|
|
|
|
virDomainDiskDefAssignAddress;
|
|
|
|
virDomainDiskDefForeachPath;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainDiskDefFree;
|
|
|
|
virDomainDiskDeviceTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainDiskErrorPolicyTypeToString;
|
2009-08-14 09:31:36 +00:00
|
|
|
virDomainDiskInsert;
|
|
|
|
virDomainDiskInsertPreAlloced;
|
2010-08-23 09:31:26 +00:00
|
|
|
virDomainDiskRemove;
|
2010-10-12 11:23:18 +00:00
|
|
|
virDomainDiskTypeFromString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainDiskTypeToString;
|
|
|
|
virDomainFSDefFree;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainFindByID;
|
|
|
|
virDomainFindByName;
|
|
|
|
virDomainFindByUUID;
|
2009-04-22 14:26:50 +00:00
|
|
|
virDomainGetRootFilesystem;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainGraphicsDefFree;
|
2010-04-09 16:56:00 +00:00
|
|
|
virDomainGraphicsSpiceChannelModeTypeFromString;
|
|
|
|
virDomainGraphicsSpiceChannelModeTypeToString;
|
|
|
|
virDomainGraphicsSpiceChannelNameTypeFromString;
|
|
|
|
virDomainGraphicsSpiceChannelNameTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainGraphicsTypeFromString;
|
2010-03-22 18:44:58 +00:00
|
|
|
virDomainGraphicsTypeToString;
|
2009-04-24 12:19:00 +00:00
|
|
|
virDomainHostdevDefFree;
|
2009-08-14 07:31:10 +00:00
|
|
|
virDomainHostdevModeTypeToString;
|
|
|
|
virDomainHostdevSubsysTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainInputDefFree;
|
2010-10-12 11:23:18 +00:00
|
|
|
virDomainLifecycleCrashTypeFromString;
|
|
|
|
virDomainLifecycleCrashTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainLifecycleTypeFromString;
|
|
|
|
virDomainLifecycleTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainLoadAllConfigs;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainMemballoonModelTypeFromString;
|
|
|
|
virDomainMemballoonModelTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainNetDefFree;
|
2009-07-17 21:08:34 +00:00
|
|
|
virDomainNetTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainObjAssignDef;
|
2010-11-19 18:34:19 +00:00
|
|
|
virDomainObjSetDefTransient;
|
2010-11-19 19:51:46 +00:00
|
|
|
virDomainObjGetPersistentDef;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainObjIsDuplicate;
|
|
|
|
virDomainObjListDeinit;
|
|
|
|
virDomainObjListGetActiveIDs;
|
|
|
|
virDomainObjListGetInactiveNames;
|
|
|
|
virDomainObjListInit;
|
|
|
|
virDomainObjListNumOfDomains;
|
|
|
|
virDomainObjLock;
|
|
|
|
virDomainObjRef;
|
|
|
|
virDomainObjUnlock;
|
|
|
|
virDomainObjUnref;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainRemoveInactive;
|
|
|
|
virDomainSaveConfig;
|
2009-06-12 11:38:50 +00:00
|
|
|
virDomainSaveStatus;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainSaveXML;
|
|
|
|
virDomainSnapshotAssignDef;
|
|
|
|
virDomainSnapshotDefFormat;
|
|
|
|
virDomainSnapshotDefFree;
|
|
|
|
virDomainSnapshotDefParseString;
|
|
|
|
virDomainSnapshotFindByName;
|
|
|
|
virDomainSnapshotHasChildren;
|
|
|
|
virDomainSnapshotObjListGetNames;
|
|
|
|
virDomainSnapshotObjListNum;
|
|
|
|
virDomainSnapshotObjListRemove;
|
|
|
|
virDomainSnapshotObjUnref;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainSoundDefFree;
|
|
|
|
virDomainSoundModelTypeFromString;
|
|
|
|
virDomainSoundModelTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainStateTypeFromString;
|
|
|
|
virDomainStateTypeToString;
|
|
|
|
virDomainTimerModeTypeFromString;
|
|
|
|
virDomainTimerModeTypeToString;
|
|
|
|
virDomainTimerNameTypeFromString;
|
|
|
|
virDomainTimerNameTypeToString;
|
|
|
|
virDomainTimerTickpolicyTypeFromString;
|
|
|
|
virDomainTimerTickpolicyTypeToString;
|
|
|
|
virDomainTimerTrackTypeFromString;
|
|
|
|
virDomainTimerTrackTypeToString;
|
2009-07-06 13:54:44 +00:00
|
|
|
virDomainVideoDefFree;
|
|
|
|
virDomainVideoDefaultRAM;
|
|
|
|
virDomainVideoDefaultType;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainVideoTypeFromString;
|
|
|
|
virDomainVideoTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainVirtTypeToString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainWatchdogActionTypeFromString;
|
|
|
|
virDomainWatchdogActionTypeToString;
|
|
|
|
virDomainWatchdogModelTypeFromString;
|
|
|
|
virDomainWatchdogModelTypeToString;
|
2010-03-30 11:44:22 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
# domain_event.h
|
|
|
|
virDomainEventCallbackListAdd;
|
2010-03-18 14:20:53 +00:00
|
|
|
virDomainEventCallbackListAddID;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainEventCallbackListCount;
|
|
|
|
virDomainEventCallbackListCountID;
|
|
|
|
virDomainEventCallbackListEventID;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainEventCallbackListFree;
|
|
|
|
virDomainEventCallbackListMarkDelete;
|
2010-03-18 14:20:53 +00:00
|
|
|
virDomainEventCallbackListMarkDeleteID;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainEventCallbackListPurgeMarked;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainEventCallbackListRemove;
|
|
|
|
virDomainEventCallbackListRemoveConn;
|
|
|
|
virDomainEventCallbackListRemoveID;
|
|
|
|
virDomainEventDispatch;
|
|
|
|
virDomainEventDispatchDefaultFunc;
|
|
|
|
virDomainEventFree;
|
|
|
|
virDomainEventGraphicsNewFromDom;
|
|
|
|
virDomainEventGraphicsNewFromObj;
|
|
|
|
virDomainEventIOErrorNewFromDom;
|
|
|
|
virDomainEventIOErrorNewFromObj;
|
|
|
|
virDomainEventIOErrorReasonNewFromDom;
|
|
|
|
virDomainEventIOErrorReasonNewFromObj;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainEventNew;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainEventNewFromDef;
|
2009-01-05 14:05:29 +00:00
|
|
|
virDomainEventNewFromDom;
|
|
|
|
virDomainEventNewFromObj;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainEventQueueDispatch;
|
|
|
|
virDomainEventQueueFree;
|
|
|
|
virDomainEventQueueNew;
|
|
|
|
virDomainEventQueuePop;
|
|
|
|
virDomainEventQueuePush;
|
2010-03-18 18:28:15 +00:00
|
|
|
virDomainEventRTCChangeNewFromDom;
|
|
|
|
virDomainEventRTCChangeNewFromObj;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainEventRebootNewFromDom;
|
|
|
|
virDomainEventRebootNewFromObj;
|
Add support for an explicit watchdog event
This introduces a new event type
VIR_DOMAIN_EVENT_ID_WATCHDOG
This event includes the action that is about to be taken
as a result of the watchdog triggering
typedef enum {
VIR_DOMAIN_EVENT_WATCHDOG_NONE = 0,
VIR_DOMAIN_EVENT_WATCHDOG_PAUSE,
VIR_DOMAIN_EVENT_WATCHDOG_RESET,
VIR_DOMAIN_EVENT_WATCHDOG_POWEROFF,
VIR_DOMAIN_EVENT_WATCHDOG_SHUTDOWN,
VIR_DOMAIN_EVENT_WATCHDOG_DEBUG,
} virDomainEventWatchdogAction;
Thus there is a new callback definition for this event type
typedef void (*virConnectDomainEventWatchdogCallback)(virConnectPtr conn,
virDomainPtr dom,
int action,
void *opaque);
* daemon/remote.c: Dispatch watchdog events to client
* examples/domain-events/events-c/event-test.c: Watch for
watchdog events
* include/libvirt/libvirt.h.in: Define new watchdg event ID
and callback signature
* src/conf/domain_event.c, src/conf/domain_event.h,
src/libvirt_private.syms: Extend API to handle watchdog events
* src/qemu/qemu_driver.c: Connect to the QEMU monitor event
for watchdogs and emit a libvirt watchdog event
* src/remote/remote_driver.c: Receive and dispatch watchdog
events to application
* src/remote/remote_protocol.x: Wire protocol definition for
watchdog events
* src/qemu/qemu_monitor.c, src/qemu/qemu_monitor.h,
src/qemu/qemu_monitor_json.c: Watch for WATCHDOG event
from QEMU monitor
2010-03-18 19:07:48 +00:00
|
|
|
virDomainEventWatchdogNewFromDom;
|
|
|
|
virDomainEventWatchdogNewFromObj;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-06-21 18:18:31 +00:00
|
|
|
# domain_nwfilter.h
|
|
|
|
virDomainConfNWFilterInstantiate;
|
2010-10-20 17:10:45 +00:00
|
|
|
virDomainConfNWFilterRegister;
|
2010-06-21 18:18:31 +00:00
|
|
|
virDomainConfNWFilterTeardown;
|
|
|
|
virDomainConfVMNWFilterTeardown;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-10-12 11:23:18 +00:00
|
|
|
|
2009-11-03 22:11:01 +00:00
|
|
|
# ebtables.h
|
|
|
|
ebtablesAddForwardAllowIn;
|
|
|
|
ebtablesAddForwardPolicyReject;
|
2010-11-30 16:00:30 +00:00
|
|
|
ebtablesContextFree;
|
2009-11-03 22:11:01 +00:00
|
|
|
ebtablesContextNew;
|
|
|
|
ebtablesRemoveForwardAllowIn;
|
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# event.h
|
|
|
|
virEventAddHandle;
|
|
|
|
virEventAddTimeout;
|
|
|
|
virEventRemoveHandle;
|
|
|
|
virEventRemoveTimeout;
|
|
|
|
virEventUpdateHandle;
|
|
|
|
virEventUpdateTimeout;
|
|
|
|
|
|
|
|
|
2010-09-22 18:32:21 +00:00
|
|
|
# fdstream.h
|
|
|
|
virFDStreamOpen;
|
|
|
|
virFDStreamConnectUNIX;
|
|
|
|
virFDStreamOpenFile;
|
|
|
|
virFDStreamCreateFile;
|
|
|
|
|
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
# files.h
|
|
|
|
virClose;
|
2010-11-17 02:13:29 +00:00
|
|
|
virFclose;
|
|
|
|
virFdopen;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# hash.h
|
|
|
|
virHashAddEntry;
|
|
|
|
virHashCreate;
|
|
|
|
virHashForEach;
|
|
|
|
virHashFree;
|
|
|
|
virHashLookup;
|
|
|
|
virHashRemoveEntry;
|
|
|
|
virHashRemoveSet;
|
|
|
|
virHashSearch;
|
|
|
|
virHashSize;
|
|
|
|
|
|
|
|
|
2010-03-26 14:49:45 +00:00
|
|
|
# hooks.h
|
|
|
|
virHookCall;
|
|
|
|
virHookInitialize;
|
|
|
|
virHookPresent;
|
|
|
|
|
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
# interface.h
|
|
|
|
ifaceCheck;
|
|
|
|
ifaceCtrl;
|
|
|
|
ifaceGetFlags;
|
|
|
|
ifaceGetIndex;
|
|
|
|
ifaceGetVlanID;
|
|
|
|
ifaceIsUp;
|
|
|
|
|
|
|
|
|
2009-07-15 17:34:04 +00:00
|
|
|
# interface_conf.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virInterfaceAssignDef;
|
2009-07-15 17:34:04 +00:00
|
|
|
virInterfaceDefFormat;
|
2010-10-20 17:10:45 +00:00
|
|
|
virInterfaceDefFree;
|
2009-07-15 17:34:04 +00:00
|
|
|
virInterfaceDefParseFile;
|
2009-09-10 13:21:10 +00:00
|
|
|
virInterfaceDefParseNode;
|
2010-10-20 17:10:45 +00:00
|
|
|
virInterfaceDefParseString;
|
2009-09-10 13:21:10 +00:00
|
|
|
virInterfaceFindByMACString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virInterfaceFindByName;
|
|
|
|
virInterfaceObjListFree;
|
2009-09-10 13:21:10 +00:00
|
|
|
virInterfaceObjLock;
|
|
|
|
virInterfaceObjUnlock;
|
2010-10-20 17:10:45 +00:00
|
|
|
virInterfaceRemove;
|
2009-09-10 13:21:10 +00:00
|
|
|
|
2009-07-15 17:34:04 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# iptables.h
|
|
|
|
iptablesAddForwardAllowCross;
|
|
|
|
iptablesAddForwardAllowIn;
|
|
|
|
iptablesAddForwardAllowOut;
|
|
|
|
iptablesAddForwardAllowRelatedIn;
|
|
|
|
iptablesAddForwardMasquerade;
|
|
|
|
iptablesAddForwardRejectIn;
|
|
|
|
iptablesAddForwardRejectOut;
|
2010-07-13 02:59:58 +00:00
|
|
|
iptablesAddOutputFixUdpChecksum;
|
2009-01-05 14:05:29 +00:00
|
|
|
iptablesAddTcpInput;
|
|
|
|
iptablesAddUdpInput;
|
|
|
|
iptablesContextFree;
|
|
|
|
iptablesContextNew;
|
|
|
|
iptablesRemoveForwardAllowCross;
|
|
|
|
iptablesRemoveForwardAllowIn;
|
|
|
|
iptablesRemoveForwardAllowOut;
|
|
|
|
iptablesRemoveForwardAllowRelatedIn;
|
|
|
|
iptablesRemoveForwardMasquerade;
|
|
|
|
iptablesRemoveForwardRejectIn;
|
|
|
|
iptablesRemoveForwardRejectOut;
|
2010-07-13 02:59:58 +00:00
|
|
|
iptablesRemoveOutputFixUdpChecksum;
|
2009-01-05 14:05:29 +00:00
|
|
|
iptablesRemoveTcpInput;
|
|
|
|
iptablesRemoveUdpInput;
|
|
|
|
|
|
|
|
|
2009-11-03 18:59:18 +00:00
|
|
|
# json.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueArrayAppend;
|
|
|
|
virJSONValueArrayGet;
|
|
|
|
virJSONValueArraySize;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueFromString;
|
|
|
|
virJSONValueGetBoolean;
|
|
|
|
virJSONValueGetNumberDouble;
|
|
|
|
virJSONValueGetNumberInt;
|
|
|
|
virJSONValueGetNumberLong;
|
|
|
|
virJSONValueGetNumberUint;
|
|
|
|
virJSONValueGetNumberUlong;
|
|
|
|
virJSONValueGetString;
|
|
|
|
virJSONValueIsNull;
|
|
|
|
virJSONValueNewArray;
|
|
|
|
virJSONValueNewBoolean;
|
|
|
|
virJSONValueNewNull;
|
|
|
|
virJSONValueNewNumberDouble;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueNewNumberInt;
|
|
|
|
virJSONValueNewNumberLong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueNewNumberUint;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueNewNumberUlong;
|
|
|
|
virJSONValueNewObject;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueNewString;
|
|
|
|
virJSONValueNewStringLen;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectAppend;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectAppendBoolean;
|
|
|
|
virJSONValueObjectAppendNull;
|
|
|
|
virJSONValueObjectAppendNumberDouble;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectAppendNumberInt;
|
|
|
|
virJSONValueObjectAppendNumberLong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectAppendNumberUint;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectAppendNumberUlong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectAppendString;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectGet;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectGetBoolean;
|
|
|
|
virJSONValueObjectGetNumberDouble;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectGetNumberInt;
|
|
|
|
virJSONValueObjectGetNumberLong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectGetNumberUint;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectGetNumberUlong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virJSONValueObjectGetString;
|
|
|
|
virJSONValueObjectHasKey;
|
2009-11-03 18:59:18 +00:00
|
|
|
virJSONValueObjectIsNull;
|
|
|
|
virJSONValueToString;
|
|
|
|
|
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
# libvirt_internal.h
|
|
|
|
virDomainMigrateFinish2;
|
|
|
|
virDomainMigrateFinish;
|
|
|
|
virDomainMigratePerform;
|
|
|
|
virDomainMigratePrepare2;
|
|
|
|
virDomainMigratePrepare;
|
|
|
|
virDomainMigratePrepareTunnel;
|
|
|
|
virDrvSupportsFeature;
|
|
|
|
virRegisterDeviceMonitor;
|
|
|
|
virRegisterDriver;
|
|
|
|
virRegisterInterfaceDriver;
|
|
|
|
virRegisterNWFilterDriver;
|
|
|
|
virRegisterNetworkDriver;
|
|
|
|
virRegisterSecretDriver;
|
|
|
|
virRegisterStorageDriver;
|
|
|
|
|
|
|
|
|
2009-06-26 15:08:04 +00:00
|
|
|
# logging.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virLogDefineFilter;
|
|
|
|
virLogDefineOutput;
|
|
|
|
virLogGetDefaultPriority;
|
|
|
|
virLogGetFilters;
|
2009-08-06 13:45:50 +00:00
|
|
|
virLogGetNbFilters;
|
|
|
|
virLogGetNbOutputs;
|
2009-10-08 15:05:01 +00:00
|
|
|
virLogGetOutputs;
|
2010-10-20 17:10:45 +00:00
|
|
|
virLogLock;
|
|
|
|
virLogMessage;
|
2009-08-06 13:55:07 +00:00
|
|
|
virLogParseDefaultPriority;
|
2009-06-26 15:08:04 +00:00
|
|
|
virLogParseFilters;
|
|
|
|
virLogParseOutputs;
|
|
|
|
virLogReset;
|
2010-10-20 17:10:45 +00:00
|
|
|
virLogSetDefaultPriority;
|
|
|
|
virLogSetFromEnv;
|
|
|
|
virLogShutdown;
|
|
|
|
virLogStartup;
|
2010-02-03 16:12:57 +00:00
|
|
|
virLogUnlock;
|
2009-06-26 15:08:04 +00:00
|
|
|
|
|
|
|
|
2010-12-01 14:43:40 +00:00
|
|
|
# macvtap.h
|
|
|
|
virVMOperationTypeFromString;
|
|
|
|
virVMOperationTypeToString;
|
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# memory.h
|
|
|
|
virAlloc;
|
|
|
|
virAllocN;
|
2010-08-13 21:00:47 +00:00
|
|
|
virExpandN;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virReallocN;
|
2010-08-14 15:42:51 +00:00
|
|
|
virResizeN;
|
2010-08-13 21:00:47 +00:00
|
|
|
virShrinkN;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
2009-10-30 15:36:04 +00:00
|
|
|
# network.h
|
|
|
|
virSocketAddrIsNetmask;
|
|
|
|
virSocketCheckNetmask;
|
2009-11-02 14:42:47 +00:00
|
|
|
virSocketFormatAddr;
|
2010-10-20 14:13:00 +00:00
|
|
|
virSocketFormatAddrFull;
|
2009-11-02 14:42:47 +00:00
|
|
|
virSocketGetPort;
|
2009-10-30 15:36:04 +00:00
|
|
|
virSocketGetRange;
|
|
|
|
virSocketParseAddr;
|
|
|
|
virSocketParseIpv4Addr;
|
|
|
|
virSocketParseIpv6Addr;
|
2009-11-02 14:42:47 +00:00
|
|
|
virSocketSetPort;
|
2009-10-30 15:36:04 +00: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;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNetworkObjIsDuplicate;
|
2009-01-05 14:05:29 +00:00
|
|
|
virNetworkObjListFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNetworkObjLock;
|
|
|
|
virNetworkObjUnlock;
|
2009-01-05 14:05:29 +00:00
|
|
|
virNetworkRemoveInactive;
|
|
|
|
virNetworkSaveConfig;
|
2009-03-02 17:37:03 +00:00
|
|
|
virNetworkSetBridgeName;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# node_device_conf.h
|
|
|
|
virNodeDevCapTypeToString;
|
|
|
|
virNodeDevCapsDefFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNodeDeviceAssignDef;
|
2009-01-05 14:05:29 +00:00
|
|
|
virNodeDeviceDefFormat;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNodeDeviceDefFree;
|
2010-10-12 11:23:18 +00:00
|
|
|
virNodeDeviceDefParseFile;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNodeDeviceDefParseNode;
|
|
|
|
virNodeDeviceDefParseString;
|
|
|
|
virNodeDeviceFindByName;
|
|
|
|
virNodeDeviceFindBySysfsPath;
|
|
|
|
virNodeDeviceGetParentHost;
|
|
|
|
virNodeDeviceGetWWNs;
|
|
|
|
virNodeDeviceHasCap;
|
|
|
|
virNodeDeviceObjListFree;
|
2009-01-05 14:05:29 +00:00
|
|
|
virNodeDeviceObjLock;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNodeDeviceObjRemove;
|
2009-01-05 14:05:29 +00:00
|
|
|
virNodeDeviceObjUnlock;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
# nodeinfo.h
|
|
|
|
nodeCapsInitNUMA;
|
|
|
|
nodeGetCellsFreeMemory;
|
|
|
|
nodeGetFreeMemory;
|
|
|
|
nodeGetInfo;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
2010-03-25 17:46:09 +00:00
|
|
|
# nwfilter_conf.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virNWFilterCallbackDriversLock;
|
|
|
|
virNWFilterCallbackDriversUnlock;
|
|
|
|
virNWFilterChainSuffixTypeToString;
|
|
|
|
virNWFilterConfLayerInit;
|
|
|
|
virNWFilterConfLayerShutdown;
|
|
|
|
virNWFilterDefFormat;
|
|
|
|
virNWFilterDefFree;
|
|
|
|
virNWFilterDefParseString;
|
|
|
|
virNWFilterJumpTargetTypeToString;
|
|
|
|
virNWFilterLockFilterUpdates;
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterPoolLoadAllConfigs;
|
|
|
|
virNWFilterPoolObjAssignDef;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNWFilterPoolObjDeleteDef;
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterPoolObjFindByName;
|
|
|
|
virNWFilterPoolObjFindByUUID;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNWFilterPoolObjListFree;
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterPoolObjLock;
|
|
|
|
virNWFilterPoolObjRemove;
|
2010-10-20 17:10:45 +00:00
|
|
|
virNWFilterPoolObjSaveDef;
|
|
|
|
virNWFilterPoolObjUnlock;
|
|
|
|
virNWFilterPrintStateMatchFlags;
|
|
|
|
virNWFilterRegisterCallbackDriver;
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterRuleActionTypeToString;
|
2010-03-25 17:46:12 +00:00
|
|
|
virNWFilterRuleProtocolTypeToString;
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterTestUnassignDef;
|
nwfilter: Support for learning a VM's IP address
This patch implements support for learning a VM's IP address. It uses
the pcap library to listen on the VM's backend network interface (tap)
or the physical ethernet device (macvtap) and tries to capture packets
with source or destination MAC address of the VM and learn from DHCP
Offers, ARP traffic, or first-sent IPv4 packet what the IP address of
the VM's interface is. This then allows to instantiate the network
traffic filtering rules without the user having to provide the IP
parameter somewhere in the filter description or in the interface
description as a parameter. This only supports to detect the parameter
IP, which is for the assumed single IPv4 address of a VM. There is not
support for interfaces that may have multiple IP addresses (IP
aliasing) or IPv6 that may then require more than one valid IP address
to be detected. A VM can have multiple independent interfaces that each
uses a different IP address and in that case it will be attempted to
detect each one of the address independently.
So, when for example an interface description in the domain XML has
looked like this up to now:
<interface type='bridge'>
<source bridge='mybridge'/>
<model type='virtio'/>
<filterref filter='clean-traffic'>
<parameter name='IP' value='10.2.3.4'/>
</filterref>
</interface>
you may omit the IP parameter:
<interface type='bridge'>
<source bridge='mybridge'/>
<model type='virtio'/>
<filterref filter='clean-traffic'/>
</interface>
Internally I am walking the 'tree' of a VM's referenced network filters
and determine with the given variables which variables are missing. Now,
the above IP parameter may be missing and this causes a libvirt-internal
thread to be started that uses the pcap library's API to listen to the
backend interface (in case of macvtap to the physical interface) in an
attempt to determine the missing IP parameter. If the backend interface
disappears the thread terminates assuming the VM was brought down. In
case of a macvtap device a timeout is being used to wait for packets
from the given VM (filtering by VM's interface MAC address). If the VM's
macvtap device disappeared the thread also terminates. In all other
cases it tries to determine the IP address of the VM and will then apply
the rules late on the given interface, which would have happened
immediately if the IP parameter had been explicitly given. In case an
error happens while the firewall rules are applied, the VM's backend
interface is 'down'ed preventing it to communicate. Reasons for failure
for applying the network firewall rules may that an ebtables/iptables
command failes or OOM errors. Essentially the same failure reasons may
occur as when the firewall rules are applied immediately on VM start,
except that due to the late application of the filtering rules the VM
now is already running and cannot be hindered anymore from starting.
Bringing down the whole VM would probably be considered too drastic.
While a VM's IP address is attempted to be determined only limited
updates to network filters are allowed. In particular it is prevented
that filters are modified in such a way that they would introduce new
variables.
A caveat: The algorithm does not know which one is the appropriate IP
address of a VM. If the VM spoofs an IP address in its first ARP traffic
or IPv4 packets its filtering rules will be instantiated for this IP
address, thus 'locking' it to the found IP address. So, it's still
'safer' to explicitly provide the IP address of a VM's interface in the
filter description if it is known beforehand.
* configure.ac: detect libpcap
* libvirt.spec.in: require libpcap[-devel] if qemu is built
* src/internal.h: add the new ATTRIBUTE_PACKED define
* src/Makefile.am src/libvirt_private.syms: add the new modules and symbols
* src/nwfilter/nwfilter_learnipaddr.[ch]: new module being added
* src/nwfilter/nwfilter_driver.c src/conf/nwfilter_conf.[ch]
src/nwfilter/nwfilter_ebiptables_driver.[ch]
src/nwfilter/nwfilter_gentech_driver.[ch]: plu the new functionality in
* tests/nwfilterxml2xmltest: extend testing
2010-04-07 21:02:18 +00:00
|
|
|
virNWFilterUnlockFilterUpdates;
|
2010-03-25 17:46:09 +00:00
|
|
|
|
|
|
|
|
2010-04-23 16:39:08 +00:00
|
|
|
# nwfilter_params.h
|
2010-03-25 17:46:09 +00:00
|
|
|
virNWFilterHashTableCreate;
|
|
|
|
virNWFilterHashTableFree;
|
|
|
|
virNWFilterHashTablePut;
|
|
|
|
virNWFilterHashTablePutAll;
|
|
|
|
virNWFilterHashTableRemoveEntry;
|
|
|
|
|
|
|
|
|
2009-03-02 16:18:11 +00:00
|
|
|
# pci.h
|
|
|
|
pciDettachDevice;
|
2010-10-20 17:10:45 +00:00
|
|
|
pciDeviceFileIterate;
|
2009-08-17 14:05:23 +00:00
|
|
|
pciDeviceGetManaged;
|
2010-10-20 17:10:45 +00:00
|
|
|
pciDeviceIsAssignable;
|
2009-08-17 14:05:23 +00:00
|
|
|
pciDeviceListAdd;
|
2009-10-27 17:30:16 +00:00
|
|
|
pciDeviceListCount;
|
2010-10-20 17:10:45 +00:00
|
|
|
pciDeviceListDel;
|
|
|
|
pciDeviceListFree;
|
2009-10-27 17:30:16 +00:00
|
|
|
pciDeviceListGet;
|
2010-10-20 17:10:45 +00:00
|
|
|
pciDeviceListNew;
|
2009-10-27 17:30:16 +00:00
|
|
|
pciDeviceListSteal;
|
2010-10-20 17:10:45 +00:00
|
|
|
pciDeviceSetManaged;
|
|
|
|
pciFreeDevice;
|
|
|
|
pciGetDevice;
|
|
|
|
pciReAttachDevice;
|
|
|
|
pciResetDevice;
|
|
|
|
pciWaitForDeviceCleanup;
|
2009-08-14 13:20:40 +00:00
|
|
|
|
2009-03-02 16:18:11 +00:00
|
|
|
|
2009-11-16 15:22:34 +00:00
|
|
|
# processinfo.h
|
|
|
|
virProcessInfoGetAffinity;
|
2010-10-20 17:10:45 +00:00
|
|
|
virProcessInfoSetAffinity;
|
2009-11-16 15:22:34 +00:00
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# qparams.h
|
2010-10-20 17:10:45 +00:00
|
|
|
free_qparam_set;
|
2009-01-05 14:05:29 +00:00
|
|
|
qparam_get_query;
|
|
|
|
qparam_query_parse;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2009-09-01 15:27:46 +00:00
|
|
|
# secret_conf.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virSecretDefFormat;
|
2009-09-01 15:27:46 +00:00
|
|
|
virSecretDefFree;
|
|
|
|
virSecretDefParseFile;
|
2010-10-20 17:10:45 +00:00
|
|
|
virSecretDefParseString;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2009-08-14 19:48:55 +00:00
|
|
|
|
2009-03-03 09:44:41 +00:00
|
|
|
# security.h
|
|
|
|
virSecurityDriverGetDOI;
|
|
|
|
virSecurityDriverGetModel;
|
2010-10-20 17:10:45 +00:00
|
|
|
virSecurityDriverInit;
|
|
|
|
virSecurityDriverSetDOI;
|
|
|
|
virSecurityDriverStartup;
|
|
|
|
virSecurityDriverVerify;
|
2009-03-03 09:44:41 +00:00
|
|
|
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# storage_conf.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePartedFsTypeTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStoragePoolDefFormat;
|
|
|
|
virStoragePoolDefFree;
|
2009-06-22 16:41:34 +00:00
|
|
|
virStoragePoolDefParseFile;
|
|
|
|
virStoragePoolDefParseNode;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePoolDefParseSourceString;
|
|
|
|
virStoragePoolDefParseString;
|
|
|
|
virStoragePoolFormatDiskTypeToString;
|
|
|
|
virStoragePoolFormatFileSystemNetTypeToString;
|
|
|
|
virStoragePoolFormatFileSystemTypeToString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStoragePoolLoadAllConfigs;
|
|
|
|
virStoragePoolObjAssignDef;
|
|
|
|
virStoragePoolObjClearVols;
|
|
|
|
virStoragePoolObjDeleteDef;
|
|
|
|
virStoragePoolObjFindByName;
|
|
|
|
virStoragePoolObjFindByUUID;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePoolObjIsDuplicate;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStoragePoolObjListFree;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePoolObjLock;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStoragePoolObjRemove;
|
|
|
|
virStoragePoolObjSaveDef;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePoolObjUnlock;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStoragePoolSourceFree;
|
|
|
|
virStoragePoolSourceListFormat;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStoragePoolSourceListNewSource;
|
|
|
|
virStoragePoolTypeFromString;
|
2009-01-05 14:05:29 +00:00
|
|
|
virStorageVolDefFindByKey;
|
|
|
|
virStorageVolDefFindByName;
|
|
|
|
virStorageVolDefFindByPath;
|
|
|
|
virStorageVolDefFormat;
|
|
|
|
virStorageVolDefFree;
|
2009-06-22 16:41:34 +00:00
|
|
|
virStorageVolDefParseFile;
|
|
|
|
virStorageVolDefParseNode;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStorageVolDefParseString;
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2009-09-08 11:33:35 +00:00
|
|
|
# storage_encryption_conf.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virStorageEncryptionFormat;
|
2009-08-19 19:50:10 +00:00
|
|
|
virStorageEncryptionFree;
|
|
|
|
virStorageEncryptionParseNode;
|
2009-08-14 18:06:59 +00:00
|
|
|
virStorageGenerateQcowPassphrase;
|
2009-08-19 19:50:10 +00:00
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
|
2009-09-25 13:20:13 +00:00
|
|
|
# storage_file.h
|
|
|
|
virStorageFileFormatTypeFromString;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStorageFileFormatTypeToString;
|
2009-09-29 08:41:23 +00:00
|
|
|
virStorageFileGetMetadata;
|
2009-09-29 08:34:48 +00:00
|
|
|
virStorageFileGetMetadataFromFD;
|
Don't reset user/group/security label on shared filesystems during migrate
When QEMU runs with its disk on NFS, and as a non-root user, the
disk is chownd to that non-root user. When migration completes
the last step is shutting down the QEMU on the source host. THis
normally resets user/group/security label. This is bad when the
VM was just migrated because the file is still in use on the dest
host. It is thus neccessary to skip the reset step for any files
found to be on a shared filesystem
* src/libvirt_private.syms: Export virStorageFileIsSharedFS
* src/util/storage_file.c, src/util/storage_file.h: Add a new
method virStorageFileIsSharedFS() to determine if a file is
on a shared filesystem (NFS, GFS, OCFS2, etc)
* src/qemu/qemu_driver.c: Tell security driver not to reset
disk labels on migration completion
* src/qemu/qemu_security_dac.c, src/qemu/qemu_security_stacked.c,
src/security/security_selinux.c, src/security/security_driver.h,
src/security/security_apparmor.c: Add ability to skip disk
restore step for files on shared filesystems.
2010-05-13 15:49:22 +00:00
|
|
|
virStorageFileIsSharedFS;
|
2010-10-29 11:20:40 +00:00
|
|
|
virStorageFileIsSharedFSType;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStorageFileProbeFormat;
|
|
|
|
virStorageFileProbeFormatFromFD;
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-11-05 14:22:13 +00:00
|
|
|
# sysinfo.h
|
|
|
|
virSysinfoDefFree;
|
|
|
|
virSysinfoRead;
|
|
|
|
|
|
|
|
|
2010-12-08 06:19:06 +00:00
|
|
|
# threadpool.h
|
|
|
|
virThreadPoolFree;
|
|
|
|
virThreadPoolNew;
|
|
|
|
virThreadPoolSendJob;
|
|
|
|
|
|
|
|
|
2009-01-15 19:56:05 +00:00
|
|
|
# threads.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virCondBroadcast;
|
|
|
|
virCondDestroy;
|
|
|
|
virCondInit;
|
|
|
|
virCondSignal;
|
|
|
|
virCondWait;
|
|
|
|
virCondWaitUntil;
|
|
|
|
virMutexDestroy;
|
2009-01-15 19:56:05 +00:00
|
|
|
virMutexInit;
|
2010-10-12 11:23:18 +00:00
|
|
|
virMutexInitRecursive;
|
2009-01-15 19:56:05 +00:00
|
|
|
virMutexLock;
|
|
|
|
virMutexUnlock;
|
2010-11-02 17:17:47 +00:00
|
|
|
virThreadCreate;
|
2010-12-04 21:33:23 +00:00
|
|
|
virThreadID;
|
2010-11-02 17:17:47 +00:00
|
|
|
virThreadIsSelf;
|
|
|
|
virThreadJoin;
|
|
|
|
virThreadSelf;
|
2010-11-18 13:03:56 +00:00
|
|
|
virThreadSelfID;
|
2009-01-15 19:56:05 +00:00
|
|
|
|
2010-10-20 17:10:45 +00:00
|
|
|
|
|
|
|
# usb.h
|
|
|
|
usbDeviceFileIterate;
|
|
|
|
usbDeviceGetBus;
|
|
|
|
usbDeviceGetDevno;
|
|
|
|
usbFindDevice;
|
|
|
|
usbFreeDevice;
|
|
|
|
usbGetDevice;
|
|
|
|
|
2009-01-15 19:56:05 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
# util.h
|
|
|
|
saferead;
|
|
|
|
safewrite;
|
2009-03-20 12:17:56 +00:00
|
|
|
safezero;
|
2010-10-20 17:10:45 +00:00
|
|
|
virArgvToString;
|
|
|
|
virAsprintf;
|
|
|
|
virBuildPathInternal;
|
|
|
|
virDirCreate;
|
2009-01-05 14:05:29 +00:00
|
|
|
virEnumFromString;
|
|
|
|
virEnumToString;
|
|
|
|
virEventAddHandle;
|
|
|
|
virEventRemoveHandle;
|
|
|
|
virExec;
|
2009-05-11 13:34:37 +00:00
|
|
|
virExecDaemonize;
|
2010-12-10 23:46:23 +00:00
|
|
|
virExecWithHook;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileAbsPath;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFileDeletePid;
|
|
|
|
virFileExists;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileFindMountPoint;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFileHasSuffix;
|
|
|
|
virFileLinkPointsTo;
|
|
|
|
virFileMakePath;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileMatchesNameSuffix;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFileOpenTty;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileOperation;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFilePid;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileReadAll;
|
|
|
|
virFileReadLimFD;
|
2009-01-05 14:05:29 +00:00
|
|
|
virFileReadPid;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileResolveLink;
|
2010-05-20 15:41:31 +00:00
|
|
|
virFileSanitizePath;
|
2010-10-20 17:10:45 +00:00
|
|
|
virFileStripSuffix;
|
|
|
|
virFileWaitForDevices;
|
|
|
|
virFileWriteStr;
|
|
|
|
virFindFileInPath;
|
|
|
|
virFork;
|
|
|
|
virFormatMacAddr;
|
|
|
|
virGetGroupID;
|
|
|
|
virGetHostname;
|
|
|
|
virGetUserDirectory;
|
|
|
|
virGetUserID;
|
|
|
|
virGetUserName;
|
|
|
|
virHexToBin;
|
|
|
|
virIndexToDiskName;
|
|
|
|
virKillProcess;
|
|
|
|
virMacAddrCompare;
|
|
|
|
virParseMacAddr;
|
2009-01-05 14:05:29 +00:00
|
|
|
virParseNumber;
|
2010-03-30 14:15:13 +00:00
|
|
|
virParseVersionString;
|
2010-03-26 10:50:10 +00:00
|
|
|
virPipeReadUntilEOF;
|
2010-10-20 17:10:45 +00:00
|
|
|
virRandom;
|
|
|
|
virRandomInitialize;
|
2009-01-05 14:05:29 +00:00
|
|
|
virRun;
|
2010-10-12 11:23:18 +00:00
|
|
|
virRunWithHook;
|
2010-10-20 17:10:45 +00:00
|
|
|
virSetCloseExec;
|
|
|
|
virSetNonBlock;
|
2009-01-05 14:05:29 +00:00
|
|
|
virSkipSpaces;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStrToDouble;
|
|
|
|
virStrToLong_i;
|
|
|
|
virStrToLong_ll;
|
|
|
|
virStrToLong_ui;
|
|
|
|
virStrToLong_ull;
|
2010-10-12 11:23:18 +00:00
|
|
|
virStrcpy;
|
|
|
|
virStrncpy;
|
2010-11-01 04:17:14 +00:00
|
|
|
virTimestamp;
|
2010-11-22 23:39:47 +00:00
|
|
|
virVasprintf;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# uuid.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virGetHostUUID;
|
|
|
|
virSetHostUUIDStr;
|
2009-01-05 14:05:29 +00:00
|
|
|
virUUIDFormat;
|
|
|
|
virUUIDGenerate;
|
|
|
|
virUUIDParse;
|
2010-10-20 17:10:45 +00:00
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
2010-10-12 11:23:18 +00:00
|
|
|
# virtaudit.h
|
|
|
|
virAuditClose;
|
2010-10-27 10:53:48 +00:00
|
|
|
virAuditEncode;
|
2010-10-12 11:23:18 +00:00
|
|
|
virAuditLog;
|
|
|
|
virAuditOpen;
|
|
|
|
virAuditSend;
|
|
|
|
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
# virterror_internal.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virDispatchError;
|
2009-01-05 14:05:29 +00:00
|
|
|
virErrorMsg;
|
2010-11-30 13:10:42 +00:00
|
|
|
virErrorSetLogPriority;
|
2009-09-10 13:21:10 +00:00
|
|
|
virRaiseErrorFull;
|
2010-10-20 17:10:45 +00:00
|
|
|
virReportErrorHelper;
|
2009-01-20 17:13:33 +00:00
|
|
|
virReportOOMErrorFull;
|
2010-10-20 17:10:45 +00:00
|
|
|
virReportSystemErrorFull;
|
2010-01-09 01:38:55 +00:00
|
|
|
virSetError;
|
2010-10-20 17:10:45 +00:00
|
|
|
virStrerror;
|
2009-01-05 14:05:29 +00:00
|
|
|
|
|
|
|
|
|
|
|
# xml.h
|
2010-10-20 17:10:45 +00:00
|
|
|
virXMLPropString;
|
2009-11-26 17:57:00 +00:00
|
|
|
virXPathBoolean;
|
2009-01-05 14:05:29 +00:00
|
|
|
virXPathLong;
|
2010-10-20 17:10:45 +00:00
|
|
|
virXPathLongHex;
|
|
|
|
virXPathLongLong;
|
2009-01-05 14:05:29 +00:00
|
|
|
virXPathNode;
|
|
|
|
virXPathNodeSet;
|
2010-10-20 17:10:45 +00:00
|
|
|
virXPathNumber;
|
2009-01-05 14:05:29 +00:00
|
|
|
virXPathString;
|
2009-03-03 09:44:41 +00:00
|
|
|
virXPathStringLimit;
|
2009-12-04 18:24:25 +00:00
|
|
|
virXPathULong;
|
|
|
|
virXPathULongHex;
|
2010-10-20 17:10:45 +00:00
|
|
|
virXPathULongLong;
|