mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
Fix sorting of libvirt_private.syms and add syntax check rule
Add check-symsorting.pl to perform case-insensitive alphabetical sorting of groups of symbols. Fix all violations it reports Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
7b97030ad4
commit
a8c8685eaa
@ -326,6 +326,8 @@ check-symfile: libvirt.syms libvirt.la
|
|||||||
else
|
else
|
||||||
check-symfile:
|
check-symfile:
|
||||||
endif
|
endif
|
||||||
|
check-symsorting:
|
||||||
|
$(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl $(USED_SYM_FILES)
|
||||||
|
|
||||||
PROTOCOL_STRUCTS = \
|
PROTOCOL_STRUCTS = \
|
||||||
$(srcdir)/remote_protocol-structs \
|
$(srcdir)/remote_protocol-structs \
|
||||||
@ -349,7 +351,7 @@ else !WITH_REMOTE
|
|||||||
check-protocol:
|
check-protocol:
|
||||||
endif
|
endif
|
||||||
EXTRA_DIST += $(PROTOCOL_STRUCTS) check-symfile.pl
|
EXTRA_DIST += $(PROTOCOL_STRUCTS) check-symfile.pl
|
||||||
check-local: check-protocol check-symfile
|
check-local: check-protocol check-symfile check-symsorting
|
||||||
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
|
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
|
||||||
|
|
||||||
# Mock driver, covering domains, storage, networks, etc
|
# Mock driver, covering domains, storage, networks, etc
|
||||||
|
66
src/check-symsorting.pl
Executable file
66
src/check-symsorting.pl
Executable file
@ -0,0 +1,66 @@
|
|||||||
|
#!/usr/bin/perl
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
die "syntax: $0 SYMFILE..." unless int(@ARGV) >= 1;
|
||||||
|
|
||||||
|
my $ret = 0;
|
||||||
|
foreach my $symfile (@ARGV) {
|
||||||
|
open SYMFILE, $symfile or die "cannot read $symfile: $!";
|
||||||
|
|
||||||
|
my $line;
|
||||||
|
my @group;
|
||||||
|
|
||||||
|
while (<SYMFILE>) {
|
||||||
|
chomp;
|
||||||
|
next if /^#/;
|
||||||
|
|
||||||
|
if (/^\s*$/) {
|
||||||
|
if (@group) {
|
||||||
|
&check_sorting(\@group, $symfile, $line);
|
||||||
|
}
|
||||||
|
@group = ();
|
||||||
|
$line = $.;
|
||||||
|
} else {
|
||||||
|
$_ =~ s/;//;
|
||||||
|
push @group, $_;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
close SYMFILE;
|
||||||
|
if (@group) {
|
||||||
|
&check_sorting(\@group, $symfile, $line);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sub check_sorting {
|
||||||
|
my $group = shift;
|
||||||
|
my $symfile = shift;
|
||||||
|
my $line = shift;
|
||||||
|
|
||||||
|
my @group = @{$group};
|
||||||
|
my @sorted = sort { lc $a cmp lc $b } @group;
|
||||||
|
my $sorted = 1;
|
||||||
|
my $first;
|
||||||
|
my $last;
|
||||||
|
for (my $i = 0 ; $i <= $#sorted ; $i++) {
|
||||||
|
if ($sorted[$i] ne $group[$i]) {
|
||||||
|
$first = $i unless defined $first;
|
||||||
|
$last = $i;
|
||||||
|
$sorted = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!$sorted) {
|
||||||
|
@group = splice @group, $first, ($last-$first+1);
|
||||||
|
@sorted = splice @sorted, $first, ($last-$first+1);
|
||||||
|
print "Symbol block at $symfile:$line symbols not sorted\n";
|
||||||
|
print map { " " . $_ . "\n" } @group;
|
||||||
|
print "Correct ordering\n";
|
||||||
|
print map { " " . $_ . "\n" } @sorted;
|
||||||
|
print "\n";
|
||||||
|
$ret = 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exit $ret;
|
@ -3,5 +3,5 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
esxUtil_EscapeDatastoreItem;
|
esxUtil_EscapeDatastoreItem;
|
||||||
esxVI_DateTime_ConvertToCalendarTime;
|
|
||||||
esxUtil_ParseDatastorePath;
|
esxUtil_ParseDatastorePath;
|
||||||
|
esxVI_DateTime_ConvertToCalendarTime;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# These symbols are dependent upon --with-openvz via WITH_OPENVZ
|
# These symbols are dependent upon --with-openvz via WITH_OPENVZ
|
||||||
#
|
#
|
||||||
|
openvzLocateConfFile;
|
||||||
openvzReadConfigParam;
|
openvzReadConfigParam;
|
||||||
openvzReadNetworkConf;
|
openvzReadNetworkConf;
|
||||||
openvzLocateConfFile;
|
|
||||||
openvzVEGetStringParam;
|
openvzVEGetStringParam;
|
||||||
|
@ -85,25 +85,25 @@ virCgroupDenyDeviceMajor;
|
|||||||
virCgroupDenyDevicePath;
|
virCgroupDenyDevicePath;
|
||||||
virCgroupForDomain;
|
virCgroupForDomain;
|
||||||
virCgroupForDriver;
|
virCgroupForDriver;
|
||||||
virCgroupGetAppRoot;
|
|
||||||
virCgroupForEmulator;
|
virCgroupForEmulator;
|
||||||
virCgroupForVcpu;
|
virCgroupForVcpu;
|
||||||
virCgroupFree;
|
virCgroupFree;
|
||||||
|
virCgroupGetAppRoot;
|
||||||
virCgroupGetBlkioWeight;
|
virCgroupGetBlkioWeight;
|
||||||
virCgroupGetCpuCfsPeriod;
|
|
||||||
virCgroupGetCpuCfsQuota;
|
|
||||||
virCgroupGetCpuShares;
|
|
||||||
virCgroupGetCpuacctPercpuUsage;
|
virCgroupGetCpuacctPercpuUsage;
|
||||||
virCgroupGetCpuacctStat;
|
virCgroupGetCpuacctStat;
|
||||||
virCgroupGetCpuacctUsage;
|
virCgroupGetCpuacctUsage;
|
||||||
|
virCgroupGetCpuCfsPeriod;
|
||||||
|
virCgroupGetCpuCfsQuota;
|
||||||
virCgroupGetCpusetCpus;
|
virCgroupGetCpusetCpus;
|
||||||
virCgroupGetCpusetMems;
|
virCgroupGetCpusetMems;
|
||||||
|
virCgroupGetCpuShares;
|
||||||
virCgroupGetFreezerState;
|
virCgroupGetFreezerState;
|
||||||
virCgroupGetMemSwapUsage;
|
|
||||||
virCgroupGetMemSwapHardLimit;
|
|
||||||
virCgroupGetMemoryHardLimit;
|
virCgroupGetMemoryHardLimit;
|
||||||
virCgroupGetMemorySoftLimit;
|
virCgroupGetMemorySoftLimit;
|
||||||
virCgroupGetMemoryUsage;
|
virCgroupGetMemoryUsage;
|
||||||
|
virCgroupGetMemSwapHardLimit;
|
||||||
|
virCgroupGetMemSwapUsage;
|
||||||
virCgroupKill;
|
virCgroupKill;
|
||||||
virCgroupKillPainfully;
|
virCgroupKillPainfully;
|
||||||
virCgroupKillRecursive;
|
virCgroupKillRecursive;
|
||||||
@ -115,14 +115,14 @@ virCgroupSetBlkioDeviceWeight;
|
|||||||
virCgroupSetBlkioWeight;
|
virCgroupSetBlkioWeight;
|
||||||
virCgroupSetCpuCfsPeriod;
|
virCgroupSetCpuCfsPeriod;
|
||||||
virCgroupSetCpuCfsQuota;
|
virCgroupSetCpuCfsQuota;
|
||||||
virCgroupSetCpuShares;
|
|
||||||
virCgroupSetCpusetCpus;
|
virCgroupSetCpusetCpus;
|
||||||
virCgroupSetCpusetMems;
|
virCgroupSetCpusetMems;
|
||||||
|
virCgroupSetCpuShares;
|
||||||
virCgroupSetFreezerState;
|
virCgroupSetFreezerState;
|
||||||
virCgroupSetMemSwapHardLimit;
|
|
||||||
virCgroupSetMemory;
|
virCgroupSetMemory;
|
||||||
virCgroupSetMemoryHardLimit;
|
virCgroupSetMemoryHardLimit;
|
||||||
virCgroupSetMemorySoftLimit;
|
virCgroupSetMemorySoftLimit;
|
||||||
|
virCgroupSetMemSwapHardLimit;
|
||||||
|
|
||||||
|
|
||||||
# command.h
|
# command.h
|
||||||
@ -218,9 +218,9 @@ virGetConnect;
|
|||||||
virGetDomain;
|
virGetDomain;
|
||||||
virGetDomainSnapshot;
|
virGetDomainSnapshot;
|
||||||
virGetInterface;
|
virGetInterface;
|
||||||
virGetNWFilter;
|
|
||||||
virGetNetwork;
|
virGetNetwork;
|
||||||
virGetNodeDevice;
|
virGetNodeDevice;
|
||||||
|
virGetNWFilter;
|
||||||
virGetSecret;
|
virGetSecret;
|
||||||
virGetStoragePool;
|
virGetStoragePool;
|
||||||
virGetStorageVol;
|
virGetStorageVol;
|
||||||
@ -249,9 +249,9 @@ dnsmasqAddHost;
|
|||||||
dnsmasqCapsGet;
|
dnsmasqCapsGet;
|
||||||
dnsmasqCapsGetBinaryPath;
|
dnsmasqCapsGetBinaryPath;
|
||||||
dnsmasqCapsGetVersion;
|
dnsmasqCapsGetVersion;
|
||||||
|
dnsmasqCapsNewFromBinary;
|
||||||
dnsmasqCapsNewFromBuffer;
|
dnsmasqCapsNewFromBuffer;
|
||||||
dnsmasqCapsNewFromFile;
|
dnsmasqCapsNewFromFile;
|
||||||
dnsmasqCapsNewFromBinary;
|
|
||||||
dnsmasqCapsRefresh;
|
dnsmasqCapsRefresh;
|
||||||
dnsmasqContextFree;
|
dnsmasqContextFree;
|
||||||
dnsmasqContextNew;
|
dnsmasqContextNew;
|
||||||
@ -318,6 +318,7 @@ virDomainControllerTypeToString;
|
|||||||
virDomainCpuPlacementModeTypeFromString;
|
virDomainCpuPlacementModeTypeFromString;
|
||||||
virDomainCpuPlacementModeTypeToString;
|
virDomainCpuPlacementModeTypeToString;
|
||||||
virDomainDefAddImplicitControllers;
|
virDomainDefAddImplicitControllers;
|
||||||
|
virDomainDefAddSecurityLabelDef;
|
||||||
virDomainDefCheckABIStability;
|
virDomainDefCheckABIStability;
|
||||||
virDomainDefClearDeviceAliases;
|
virDomainDefClearDeviceAliases;
|
||||||
virDomainDefClearPCIAddresses;
|
virDomainDefClearPCIAddresses;
|
||||||
@ -327,8 +328,6 @@ virDomainDefFormat;
|
|||||||
virDomainDefFormatInternal;
|
virDomainDefFormatInternal;
|
||||||
virDomainDefFree;
|
virDomainDefFree;
|
||||||
virDomainDefGetSecurityLabelDef;
|
virDomainDefGetSecurityLabelDef;
|
||||||
virDomainDiskDefGetSecurityLabelDef;
|
|
||||||
virDomainDefAddSecurityLabelDef;
|
|
||||||
virDomainDefParseFile;
|
virDomainDefParseFile;
|
||||||
virDomainDefParseNode;
|
virDomainDefParseNode;
|
||||||
virDomainDefParseString;
|
virDomainDefParseString;
|
||||||
@ -349,6 +348,7 @@ virDomainDiskCopyOnReadTypeToString;
|
|||||||
virDomainDiskDefAssignAddress;
|
virDomainDiskDefAssignAddress;
|
||||||
virDomainDiskDefForeachPath;
|
virDomainDiskDefForeachPath;
|
||||||
virDomainDiskDefFree;
|
virDomainDiskDefFree;
|
||||||
|
virDomainDiskDefGetSecurityLabelDef;
|
||||||
virDomainDiskDeviceTypeToString;
|
virDomainDiskDeviceTypeToString;
|
||||||
virDomainDiskErrorPolicyTypeFromString;
|
virDomainDiskErrorPolicyTypeFromString;
|
||||||
virDomainDiskErrorPolicyTypeToString;
|
virDomainDiskErrorPolicyTypeToString;
|
||||||
@ -370,17 +370,17 @@ virDomainDiskTypeFromString;
|
|||||||
virDomainDiskTypeToString;
|
virDomainDiskTypeToString;
|
||||||
virDomainEmulatorPinAdd;
|
virDomainEmulatorPinAdd;
|
||||||
virDomainEmulatorPinDel;
|
virDomainEmulatorPinDel;
|
||||||
|
virDomainFeatureStateTypeFromString;
|
||||||
|
virDomainFeatureStateTypeToString;
|
||||||
|
virDomainFindByID;
|
||||||
|
virDomainFindByName;
|
||||||
|
virDomainFindByUUID;
|
||||||
virDomainFSDefFree;
|
virDomainFSDefFree;
|
||||||
virDomainFSIndexByName;
|
virDomainFSIndexByName;
|
||||||
virDomainFSTypeFromString;
|
virDomainFSTypeFromString;
|
||||||
virDomainFSTypeToString;
|
virDomainFSTypeToString;
|
||||||
virDomainFSWrpolicyTypeFromString;
|
virDomainFSWrpolicyTypeFromString;
|
||||||
virDomainFSWrpolicyTypeToString;
|
virDomainFSWrpolicyTypeToString;
|
||||||
virDomainFeatureStateTypeFromString;
|
|
||||||
virDomainFeatureStateTypeToString;
|
|
||||||
virDomainFindByID;
|
|
||||||
virDomainFindByName;
|
|
||||||
virDomainFindByUUID;
|
|
||||||
virDomainGetRootFilesystem;
|
virDomainGetRootFilesystem;
|
||||||
virDomainGraphicsAuthConnectedTypeFromString;
|
virDomainGraphicsAuthConnectedTypeFromString;
|
||||||
virDomainGraphicsAuthConnectedTypeToString;
|
virDomainGraphicsAuthConnectedTypeToString;
|
||||||
@ -536,14 +536,14 @@ virDomainVcpuPinDefFree;
|
|||||||
virDomainVcpuPinDel;
|
virDomainVcpuPinDel;
|
||||||
virDomainVcpuPinFindByVcpu;
|
virDomainVcpuPinFindByVcpu;
|
||||||
virDomainVcpuPinIsDuplicate;
|
virDomainVcpuPinIsDuplicate;
|
||||||
virDomainVideoDefFree;
|
|
||||||
virDomainVideoDefaultRAM;
|
virDomainVideoDefaultRAM;
|
||||||
virDomainVideoDefaultType;
|
virDomainVideoDefaultType;
|
||||||
|
virDomainVideoDefFree;
|
||||||
virDomainVideoTypeFromString;
|
virDomainVideoTypeFromString;
|
||||||
virDomainVideoTypeToString;
|
virDomainVideoTypeToString;
|
||||||
virDomainVirtTypeToString;
|
|
||||||
virDomainVirtioEventIdxTypeFromString;
|
virDomainVirtioEventIdxTypeFromString;
|
||||||
virDomainVirtioEventIdxTypeToString;
|
virDomainVirtioEventIdxTypeToString;
|
||||||
|
virDomainVirtTypeToString;
|
||||||
virDomainWatchdogActionTypeFromString;
|
virDomainWatchdogActionTypeFromString;
|
||||||
virDomainWatchdogActionTypeToString;
|
virDomainWatchdogActionTypeToString;
|
||||||
virDomainWatchdogModelTypeFromString;
|
virDomainWatchdogModelTypeFromString;
|
||||||
@ -553,8 +553,8 @@ virDomainWatchdogModelTypeToString;
|
|||||||
# domain_event.h
|
# domain_event.h
|
||||||
virDomainEventBalloonChangeNewFromDom;
|
virDomainEventBalloonChangeNewFromDom;
|
||||||
virDomainEventBalloonChangeNewFromObj;
|
virDomainEventBalloonChangeNewFromObj;
|
||||||
virDomainEventBlockJobNewFromObj;
|
|
||||||
virDomainEventBlockJobNewFromDom;
|
virDomainEventBlockJobNewFromDom;
|
||||||
|
virDomainEventBlockJobNewFromObj;
|
||||||
virDomainEventControlErrorNewFromDom;
|
virDomainEventControlErrorNewFromDom;
|
||||||
virDomainEventControlErrorNewFromObj;
|
virDomainEventControlErrorNewFromObj;
|
||||||
virDomainEventDiskChangeNewFromDom;
|
virDomainEventDiskChangeNewFromDom;
|
||||||
@ -570,25 +570,25 @@ virDomainEventNew;
|
|||||||
virDomainEventNewFromDef;
|
virDomainEventNewFromDef;
|
||||||
virDomainEventNewFromDom;
|
virDomainEventNewFromDom;
|
||||||
virDomainEventNewFromObj;
|
virDomainEventNewFromObj;
|
||||||
|
virDomainEventPMSuspendDiskNewFromDom;
|
||||||
|
virDomainEventPMSuspendDiskNewFromObj;
|
||||||
virDomainEventPMSuspendNewFromDom;
|
virDomainEventPMSuspendNewFromDom;
|
||||||
virDomainEventPMSuspendNewFromObj;
|
virDomainEventPMSuspendNewFromObj;
|
||||||
virDomainEventPMWakeupNewFromDom;
|
virDomainEventPMWakeupNewFromDom;
|
||||||
virDomainEventPMWakeupNewFromObj;
|
virDomainEventPMWakeupNewFromObj;
|
||||||
virDomainEventRTCChangeNewFromDom;
|
|
||||||
virDomainEventRTCChangeNewFromObj;
|
|
||||||
virDomainEventRebootNew;
|
virDomainEventRebootNew;
|
||||||
virDomainEventRebootNewFromDom;
|
virDomainEventRebootNewFromDom;
|
||||||
virDomainEventRebootNewFromObj;
|
virDomainEventRebootNewFromObj;
|
||||||
|
virDomainEventRTCChangeNewFromDom;
|
||||||
|
virDomainEventRTCChangeNewFromObj;
|
||||||
virDomainEventStateDeregister;
|
virDomainEventStateDeregister;
|
||||||
virDomainEventStateDeregisterID;
|
virDomainEventStateDeregisterID;
|
||||||
virDomainEventStateEventID;
|
virDomainEventStateEventID;
|
||||||
virDomainEventStateRegister;
|
|
||||||
virDomainEventStateRegisterID;
|
|
||||||
virDomainEventStateFree;
|
virDomainEventStateFree;
|
||||||
virDomainEventStateNew;
|
virDomainEventStateNew;
|
||||||
virDomainEventStateQueue;
|
virDomainEventStateQueue;
|
||||||
virDomainEventPMSuspendDiskNewFromDom;
|
virDomainEventStateRegister;
|
||||||
virDomainEventPMSuspendDiskNewFromObj;
|
virDomainEventStateRegisterID;
|
||||||
virDomainEventTrayChangeNewFromDom;
|
virDomainEventTrayChangeNewFromDom;
|
||||||
virDomainEventTrayChangeNewFromObj;
|
virDomainEventTrayChangeNewFromObj;
|
||||||
virDomainEventWatchdogNewFromDom;
|
virDomainEventWatchdogNewFromDom;
|
||||||
@ -596,14 +596,14 @@ virDomainEventWatchdogNewFromObj;
|
|||||||
|
|
||||||
|
|
||||||
# domain_lock.h
|
# domain_lock.h
|
||||||
virDomainLockProcessStart;
|
|
||||||
virDomainLockProcessInquire;
|
|
||||||
virDomainLockProcessPause;
|
|
||||||
virDomainLockProcessResume;
|
|
||||||
virDomainLockDiskAttach;
|
virDomainLockDiskAttach;
|
||||||
virDomainLockDiskDetach;
|
virDomainLockDiskDetach;
|
||||||
virDomainLockLeaseAttach;
|
virDomainLockLeaseAttach;
|
||||||
virDomainLockLeaseDetach;
|
virDomainLockLeaseDetach;
|
||||||
|
virDomainLockProcessInquire;
|
||||||
|
virDomainLockProcessPause;
|
||||||
|
virDomainLockProcessResume;
|
||||||
|
virDomainLockProcessStart;
|
||||||
|
|
||||||
|
|
||||||
# domain_nwfilter.h
|
# domain_nwfilter.h
|
||||||
@ -635,10 +635,10 @@ virEventPollUpdateTimeout;
|
|||||||
|
|
||||||
|
|
||||||
# fdstream.h
|
# fdstream.h
|
||||||
virFDStreamOpen;
|
|
||||||
virFDStreamConnectUNIX;
|
virFDStreamConnectUNIX;
|
||||||
virFDStreamOpenFile;
|
|
||||||
virFDStreamCreateFile;
|
virFDStreamCreateFile;
|
||||||
|
virFDStreamOpen;
|
||||||
|
virFDStreamOpenFile;
|
||||||
|
|
||||||
|
|
||||||
# hash.h
|
# hash.h
|
||||||
@ -757,24 +757,24 @@ virJSONValueToString;
|
|||||||
|
|
||||||
|
|
||||||
# libvirt_internal.h
|
# libvirt_internal.h
|
||||||
virDomainMigrateFinish2;
|
|
||||||
virDomainMigrateFinish;
|
|
||||||
virDomainMigratePerform;
|
|
||||||
virDomainMigratePrepare2;
|
|
||||||
virDomainMigratePrepare;
|
|
||||||
virDomainMigratePrepareTunnel;
|
|
||||||
virDomainMigrateBegin3;
|
virDomainMigrateBegin3;
|
||||||
virDomainMigratePrepare3;
|
|
||||||
virDomainMigratePrepareTunnel3;
|
|
||||||
virDomainMigratePerform3;
|
|
||||||
virDomainMigrateFinish3;
|
|
||||||
virDomainMigrateConfirm3;
|
virDomainMigrateConfirm3;
|
||||||
|
virDomainMigrateFinish;
|
||||||
|
virDomainMigrateFinish2;
|
||||||
|
virDomainMigrateFinish3;
|
||||||
|
virDomainMigratePerform;
|
||||||
|
virDomainMigratePerform3;
|
||||||
|
virDomainMigratePrepare;
|
||||||
|
virDomainMigratePrepare2;
|
||||||
|
virDomainMigratePrepare3;
|
||||||
|
virDomainMigratePrepareTunnel;
|
||||||
|
virDomainMigratePrepareTunnel3;
|
||||||
virDrvSupportsFeature;
|
virDrvSupportsFeature;
|
||||||
virRegisterDeviceMonitor;
|
virRegisterDeviceMonitor;
|
||||||
virRegisterDriver;
|
virRegisterDriver;
|
||||||
virRegisterInterfaceDriver;
|
virRegisterInterfaceDriver;
|
||||||
virRegisterNWFilterDriver;
|
|
||||||
virRegisterNetworkDriver;
|
virRegisterNetworkDriver;
|
||||||
|
virRegisterNWFilterDriver;
|
||||||
virRegisterSecretDriver;
|
virRegisterSecretDriver;
|
||||||
virRegisterStorageDriver;
|
virRegisterStorageDriver;
|
||||||
|
|
||||||
@ -785,11 +785,11 @@ virLockManagerAddResource;
|
|||||||
virLockManagerFree;
|
virLockManagerFree;
|
||||||
virLockManagerInquire;
|
virLockManagerInquire;
|
||||||
virLockManagerNew;
|
virLockManagerNew;
|
||||||
|
virLockManagerPluginGetName;
|
||||||
virLockManagerPluginNew;
|
virLockManagerPluginNew;
|
||||||
virLockManagerPluginRef;
|
virLockManagerPluginRef;
|
||||||
virLockManagerPluginUnref;
|
virLockManagerPluginUnref;
|
||||||
virLockManagerPluginUsesState;
|
virLockManagerPluginUsesState;
|
||||||
virLockManagerPluginGetName;
|
|
||||||
virLockManagerRelease;
|
virLockManagerRelease;
|
||||||
virLockManagerSetPluginDir;
|
virLockManagerSetPluginDir;
|
||||||
|
|
||||||
@ -847,8 +847,8 @@ virNetDevVPortTypeToString;
|
|||||||
|
|
||||||
# network_conf.h
|
# network_conf.h
|
||||||
virNetworkAssignDef;
|
virNetworkAssignDef;
|
||||||
virNetworkConfigFile;
|
|
||||||
virNetworkConfigChangeSetup;
|
virNetworkConfigChangeSetup;
|
||||||
|
virNetworkConfigFile;
|
||||||
virNetworkDefCopy;
|
virNetworkDefCopy;
|
||||||
virNetworkDefFormat;
|
virNetworkDefFormat;
|
||||||
virNetworkDefFree;
|
virNetworkDefFree;
|
||||||
@ -885,9 +885,9 @@ virPortGroupFindByName;
|
|||||||
|
|
||||||
|
|
||||||
# node_device_conf.h
|
# node_device_conf.h
|
||||||
|
virNodeDevCapsDefFree;
|
||||||
virNodeDevCapTypeFromString;
|
virNodeDevCapTypeFromString;
|
||||||
virNodeDevCapTypeToString;
|
virNodeDevCapTypeToString;
|
||||||
virNodeDevCapsDefFree;
|
|
||||||
virNodeDeviceAssignDef;
|
virNodeDeviceAssignDef;
|
||||||
virNodeDeviceDefFormat;
|
virNodeDeviceDefFormat;
|
||||||
virNodeDeviceDefFree;
|
virNodeDeviceDefFree;
|
||||||
@ -908,11 +908,11 @@ virNodeDeviceObjUnlock;
|
|||||||
|
|
||||||
# nodeinfo.h
|
# nodeinfo.h
|
||||||
nodeCapsInitNUMA;
|
nodeCapsInitNUMA;
|
||||||
|
nodeGetCellsFreeMemory;
|
||||||
nodeGetCPUBitmap;
|
nodeGetCPUBitmap;
|
||||||
nodeGetCPUCount;
|
nodeGetCPUCount;
|
||||||
nodeGetCPUMap;
|
nodeGetCPUMap;
|
||||||
nodeGetCPUStats;
|
nodeGetCPUStats;
|
||||||
nodeGetCellsFreeMemory;
|
|
||||||
nodeGetFreeMemory;
|
nodeGetFreeMemory;
|
||||||
nodeGetInfo;
|
nodeGetInfo;
|
||||||
nodeGetMemoryParameters;
|
nodeGetMemoryParameters;
|
||||||
@ -949,8 +949,8 @@ virNWFilterRuleActionTypeToString;
|
|||||||
virNWFilterRuleDirectionTypeToString;
|
virNWFilterRuleDirectionTypeToString;
|
||||||
virNWFilterRuleProtocolTypeToString;
|
virNWFilterRuleProtocolTypeToString;
|
||||||
virNWFilterTestUnassignDef;
|
virNWFilterTestUnassignDef;
|
||||||
virNWFilterUnRegisterCallbackDriver;
|
|
||||||
virNWFilterUnlockFilterUpdates;
|
virNWFilterUnlockFilterUpdates;
|
||||||
|
virNWFilterUnRegisterCallbackDriver;
|
||||||
|
|
||||||
|
|
||||||
# nwfilter_ipaddrmap
|
# nwfilter_ipaddrmap
|
||||||
@ -1051,32 +1051,34 @@ virSecurityManagerFree;
|
|||||||
virSecurityManagerGenLabel;
|
virSecurityManagerGenLabel;
|
||||||
virSecurityManagerGetDOI;
|
virSecurityManagerGetDOI;
|
||||||
virSecurityManagerGetModel;
|
virSecurityManagerGetModel;
|
||||||
|
virSecurityManagerGetMountOptions;
|
||||||
virSecurityManagerGetNested;
|
virSecurityManagerGetNested;
|
||||||
virSecurityManagerGetProcessLabel;
|
virSecurityManagerGetProcessLabel;
|
||||||
virSecurityManagerNew;
|
virSecurityManagerNew;
|
||||||
virSecurityManagerNewStack;
|
|
||||||
virSecurityManagerNewDAC;
|
virSecurityManagerNewDAC;
|
||||||
|
virSecurityManagerNewStack;
|
||||||
virSecurityManagerReleaseLabel;
|
virSecurityManagerReleaseLabel;
|
||||||
virSecurityManagerReserveLabel;
|
virSecurityManagerReserveLabel;
|
||||||
virSecurityManagerRestoreImageLabel;
|
|
||||||
virSecurityManagerRestoreAllLabel;
|
virSecurityManagerRestoreAllLabel;
|
||||||
virSecurityManagerRestoreHostdevLabel;
|
virSecurityManagerRestoreHostdevLabel;
|
||||||
|
virSecurityManagerRestoreImageLabel;
|
||||||
virSecurityManagerRestoreSavedStateLabel;
|
virSecurityManagerRestoreSavedStateLabel;
|
||||||
virSecurityManagerSetAllLabel;
|
virSecurityManagerSetAllLabel;
|
||||||
virSecurityManagerSetDaemonSocketLabel;
|
virSecurityManagerSetDaemonSocketLabel;
|
||||||
|
virSecurityManagerSetHostdevLabel;
|
||||||
|
virSecurityManagerSetHugepages;
|
||||||
virSecurityManagerSetImageFDLabel;
|
virSecurityManagerSetImageFDLabel;
|
||||||
virSecurityManagerSetImageLabel;
|
virSecurityManagerSetImageLabel;
|
||||||
virSecurityManagerSetHostdevLabel;
|
|
||||||
virSecurityManagerSetProcessLabel;
|
virSecurityManagerSetProcessLabel;
|
||||||
virSecurityManagerSetSavedStateLabel;
|
virSecurityManagerSetSavedStateLabel;
|
||||||
virSecurityManagerSetSocketLabel;
|
virSecurityManagerSetSocketLabel;
|
||||||
virSecurityManagerSetTapFDLabel;
|
virSecurityManagerSetTapFDLabel;
|
||||||
virSecurityManagerStackAddNested;
|
virSecurityManagerStackAddNested;
|
||||||
virSecurityManagerVerify;
|
virSecurityManagerVerify;
|
||||||
virSecurityManagerGetMountOptions;
|
|
||||||
virSecurityManagerSetHugepages;
|
|
||||||
|
|
||||||
# sexpr.h
|
# sexpr.h
|
||||||
|
sexpr2string;
|
||||||
sexpr_append;
|
sexpr_append;
|
||||||
sexpr_cons;
|
sexpr_cons;
|
||||||
sexpr_float;
|
sexpr_float;
|
||||||
@ -1090,7 +1092,6 @@ sexpr_node;
|
|||||||
sexpr_node_copy;
|
sexpr_node_copy;
|
||||||
sexpr_string;
|
sexpr_string;
|
||||||
sexpr_u64;
|
sexpr_u64;
|
||||||
sexpr2string;
|
|
||||||
string2sexpr;
|
string2sexpr;
|
||||||
|
|
||||||
|
|
||||||
@ -1187,11 +1188,11 @@ virSysinfoRead;
|
|||||||
|
|
||||||
# threadpool.h
|
# threadpool.h
|
||||||
virThreadPoolFree;
|
virThreadPoolFree;
|
||||||
|
virThreadPoolGetMaxWorkers;
|
||||||
|
virThreadPoolGetMinWorkers;
|
||||||
|
virThreadPoolGetPriorityWorkers;
|
||||||
virThreadPoolNew;
|
virThreadPoolNew;
|
||||||
virThreadPoolSendJob;
|
virThreadPoolSendJob;
|
||||||
virThreadPoolGetMinWorkers;
|
|
||||||
virThreadPoolGetMaxWorkers;
|
|
||||||
virThreadPoolGetPriorityWorkers;
|
|
||||||
|
|
||||||
|
|
||||||
# threads.h
|
# threads.h
|
||||||
@ -1256,9 +1257,9 @@ virFileExists;
|
|||||||
virFileFindMountPoint;
|
virFileFindMountPoint;
|
||||||
virFileHasSuffix;
|
virFileHasSuffix;
|
||||||
virFileIsAbsPath;
|
virFileIsAbsPath;
|
||||||
|
virFileIsDir;
|
||||||
virFileIsExecutable;
|
virFileIsExecutable;
|
||||||
virFileIsLink;
|
virFileIsLink;
|
||||||
virFileIsDir;
|
|
||||||
virFileLinkPointsTo;
|
virFileLinkPointsTo;
|
||||||
virFileLock;
|
virFileLock;
|
||||||
virFileMakePath;
|
virFileMakePath;
|
||||||
@ -1281,12 +1282,12 @@ virFormatIntDecimal;
|
|||||||
virGetGroupID;
|
virGetGroupID;
|
||||||
virGetGroupName;
|
virGetGroupName;
|
||||||
virGetHostname;
|
virGetHostname;
|
||||||
virGetUserDirectory;
|
|
||||||
virGetUserConfigDirectory;
|
|
||||||
virGetUserCacheDirectory;
|
virGetUserCacheDirectory;
|
||||||
virGetUserRuntimeDirectory;
|
virGetUserConfigDirectory;
|
||||||
|
virGetUserDirectory;
|
||||||
virGetUserID;
|
virGetUserID;
|
||||||
virGetUserName;
|
virGetUserName;
|
||||||
|
virGetUserRuntimeDirectory;
|
||||||
virHexToBin;
|
virHexToBin;
|
||||||
virIndexToDiskName;
|
virIndexToDiskName;
|
||||||
virIsDevMapperDevice;
|
virIsDevMapperDevice;
|
||||||
@ -1302,7 +1303,9 @@ virSetUIDGID;
|
|||||||
virSkipSpaces;
|
virSkipSpaces;
|
||||||
virSkipSpacesAndBackslash;
|
virSkipSpacesAndBackslash;
|
||||||
virSkipSpacesBackwards;
|
virSkipSpacesBackwards;
|
||||||
|
virStrcpy;
|
||||||
virStrIsPrint;
|
virStrIsPrint;
|
||||||
|
virStrncpy;
|
||||||
virStrToDouble;
|
virStrToDouble;
|
||||||
virStrToLong_i;
|
virStrToLong_i;
|
||||||
virStrToLong_l;
|
virStrToLong_l;
|
||||||
@ -1310,8 +1313,6 @@ virStrToLong_ll;
|
|||||||
virStrToLong_ui;
|
virStrToLong_ui;
|
||||||
virStrToLong_ul;
|
virStrToLong_ul;
|
||||||
virStrToLong_ull;
|
virStrToLong_ull;
|
||||||
virStrcpy;
|
|
||||||
virStrncpy;
|
|
||||||
virTrimSpaces;
|
virTrimSpaces;
|
||||||
virValidateWWN;
|
virValidateWWN;
|
||||||
virVasprintf;
|
virVasprintf;
|
||||||
@ -1359,18 +1360,18 @@ virDBusGetSystemBus;
|
|||||||
|
|
||||||
|
|
||||||
# virfile.h
|
# virfile.h
|
||||||
virFileLoopDeviceAssociate;
|
|
||||||
virFileClose;
|
virFileClose;
|
||||||
virFileDirectFdFlag;
|
virFileDirectFdFlag;
|
||||||
|
virFileFclose;
|
||||||
|
virFileFdopen;
|
||||||
|
virFileLoopDeviceAssociate;
|
||||||
|
virFileRewrite;
|
||||||
|
virFileTouch;
|
||||||
|
virFileUpdatePerm;
|
||||||
virFileWrapperFdCatchError;
|
virFileWrapperFdCatchError;
|
||||||
virFileWrapperFdClose;
|
virFileWrapperFdClose;
|
||||||
virFileWrapperFdFree;
|
virFileWrapperFdFree;
|
||||||
virFileWrapperFdNew;
|
virFileWrapperFdNew;
|
||||||
virFileFclose;
|
|
||||||
virFileFdopen;
|
|
||||||
virFileRewrite;
|
|
||||||
virFileTouch;
|
|
||||||
virFileUpdatePerm;
|
|
||||||
|
|
||||||
|
|
||||||
# virinitctl.h
|
# virinitctl.h
|
||||||
@ -1385,13 +1386,13 @@ virKeycodeValueTranslate;
|
|||||||
|
|
||||||
|
|
||||||
# virkeyfile.h
|
# virkeyfile.h
|
||||||
virKeyFileNew;
|
|
||||||
virKeyFileLoadFile;
|
|
||||||
virKeyFileLoadData;
|
|
||||||
virKeyFileFree;
|
virKeyFileFree;
|
||||||
virKeyFileHasValue;
|
|
||||||
virKeyFileHasGroup;
|
|
||||||
virKeyFileGetValueString;
|
virKeyFileGetValueString;
|
||||||
|
virKeyFileHasGroup;
|
||||||
|
virKeyFileHasValue;
|
||||||
|
virKeyFileLoadData;
|
||||||
|
virKeyFileLoadFile;
|
||||||
|
virKeyFileNew;
|
||||||
|
|
||||||
|
|
||||||
# virlockspace.h
|
# virlockspace.h
|
||||||
@ -1445,8 +1446,8 @@ virNetClientRegisterAsyncIO;
|
|||||||
virNetClientRegisterKeepAlive;
|
virNetClientRegisterKeepAlive;
|
||||||
virNetClientRemoteAddrString;
|
virNetClientRemoteAddrString;
|
||||||
virNetClientRemoveStream;
|
virNetClientRemoveStream;
|
||||||
virNetClientSendNoReply;
|
|
||||||
virNetClientSendNonBlock;
|
virNetClientSendNonBlock;
|
||||||
|
virNetClientSendNoReply;
|
||||||
virNetClientSendWithReply;
|
virNetClientSendWithReply;
|
||||||
virNetClientSendWithReplyStream;
|
virNetClientSendWithReplyStream;
|
||||||
virNetClientSetCloseCallback;
|
virNetClientSetCloseCallback;
|
||||||
@ -1479,15 +1480,15 @@ virNetClientStreamSetError;
|
|||||||
# virnetdev.h
|
# virnetdev.h
|
||||||
virNetDevClearIPv4Address;
|
virNetDevClearIPv4Address;
|
||||||
virNetDevExists;
|
virNetDevExists;
|
||||||
virNetDevGetIPv4Address;
|
|
||||||
virNetDevGetIndex;
|
virNetDevGetIndex;
|
||||||
|
virNetDevGetIPv4Address;
|
||||||
virNetDevGetMAC;
|
virNetDevGetMAC;
|
||||||
virNetDevGetMTU;
|
virNetDevGetMTU;
|
||||||
virNetDevGetPhysicalFunction;
|
virNetDevGetPhysicalFunction;
|
||||||
virNetDevGetVLanID;
|
|
||||||
virNetDevGetVirtualFunctionIndex;
|
virNetDevGetVirtualFunctionIndex;
|
||||||
virNetDevGetVirtualFunctionInfo;
|
virNetDevGetVirtualFunctionInfo;
|
||||||
virNetDevGetVirtualFunctions;
|
virNetDevGetVirtualFunctions;
|
||||||
|
virNetDevGetVLanID;
|
||||||
virNetDevIsOnline;
|
virNetDevIsOnline;
|
||||||
virNetDevIsVirtualFunction;
|
virNetDevIsVirtualFunction;
|
||||||
virNetDevLinkDump;
|
virNetDevLinkDump;
|
||||||
@ -1529,8 +1530,8 @@ virNetDevBridgeSetSTPDelay;
|
|||||||
|
|
||||||
# virnetdevmacvlan.h
|
# virnetdevmacvlan.h
|
||||||
virNetDevMacVLanCreate;
|
virNetDevMacVLanCreate;
|
||||||
virNetDevMacVLanDelete;
|
|
||||||
virNetDevMacVLanCreateWithVPortProfile;
|
virNetDevMacVLanCreateWithVPortProfile;
|
||||||
|
virNetDevMacVLanDelete;
|
||||||
virNetDevMacVLanDeleteWithVPortProfile;
|
virNetDevMacVLanDeleteWithVPortProfile;
|
||||||
virNetDevMacVLanRestartWithVPortProfile;
|
virNetDevMacVLanRestartWithVPortProfile;
|
||||||
virNetDevMacVLanVPortProfileRegisterCallback;
|
virNetDevMacVLanVPortProfileRegisterCallback;
|
||||||
@ -1577,9 +1578,9 @@ virNetlinkEventAddClient;
|
|||||||
virNetlinkEventRemoveClient;
|
virNetlinkEventRemoveClient;
|
||||||
virNetlinkEventServiceIsRunning;
|
virNetlinkEventServiceIsRunning;
|
||||||
virNetlinkEventServiceLocalPid;
|
virNetlinkEventServiceLocalPid;
|
||||||
|
virNetlinkEventServiceStart;
|
||||||
virNetlinkEventServiceStop;
|
virNetlinkEventServiceStop;
|
||||||
virNetlinkEventServiceStopAll;
|
virNetlinkEventServiceStopAll;
|
||||||
virNetlinkEventServiceStart;
|
|
||||||
virNetlinkShutdown;
|
virNetlinkShutdown;
|
||||||
virNetlinkStartup;
|
virNetlinkStartup;
|
||||||
|
|
||||||
@ -1587,14 +1588,14 @@ virNetlinkStartup;
|
|||||||
# virnetmessage.h
|
# virnetmessage.h
|
||||||
virNetMessageClear;
|
virNetMessageClear;
|
||||||
virNetMessageDecodeHeader;
|
virNetMessageDecodeHeader;
|
||||||
virNetMessageDecodeNumFDs;
|
|
||||||
virNetMessageDecodeLength;
|
virNetMessageDecodeLength;
|
||||||
|
virNetMessageDecodeNumFDs;
|
||||||
virNetMessageDecodePayload;
|
virNetMessageDecodePayload;
|
||||||
virNetMessageDupFD;
|
virNetMessageDupFD;
|
||||||
virNetMessageEncodeHeader;
|
virNetMessageEncodeHeader;
|
||||||
|
virNetMessageEncodeNumFDs;
|
||||||
virNetMessageEncodePayload;
|
virNetMessageEncodePayload;
|
||||||
virNetMessageEncodePayloadRaw;
|
virNetMessageEncodePayloadRaw;
|
||||||
virNetMessageEncodeNumFDs;
|
|
||||||
virNetMessageFree;
|
virNetMessageFree;
|
||||||
virNetMessageNew;
|
virNetMessageNew;
|
||||||
virNetMessageQueuePush;
|
virNetMessageQueuePush;
|
||||||
@ -1767,6 +1768,8 @@ virObjectUnref;
|
|||||||
virPidFileAcquire;
|
virPidFileAcquire;
|
||||||
virPidFileAcquirePath;
|
virPidFileAcquirePath;
|
||||||
virPidFileBuildPath;
|
virPidFileBuildPath;
|
||||||
|
virPidFileDelete;
|
||||||
|
virPidFileDeletePath;
|
||||||
virPidFileRead;
|
virPidFileRead;
|
||||||
virPidFileReadIfAlive;
|
virPidFileReadIfAlive;
|
||||||
virPidFileReadPath;
|
virPidFileReadPath;
|
||||||
@ -1775,8 +1778,6 @@ virPidFileRelease;
|
|||||||
virPidFileReleasePath;
|
virPidFileReleasePath;
|
||||||
virPidFileWrite;
|
virPidFileWrite;
|
||||||
virPidFileWritePath;
|
virPidFileWritePath;
|
||||||
virPidFileDelete;
|
|
||||||
virPidFileDeletePath;
|
|
||||||
|
|
||||||
|
|
||||||
# virprocess.h
|
# virprocess.h
|
||||||
@ -1828,9 +1829,9 @@ virStrerror;
|
|||||||
|
|
||||||
|
|
||||||
# virstring.h
|
# virstring.h
|
||||||
virStringSplit;
|
|
||||||
virStringJoin;
|
|
||||||
virStringFreeList;
|
virStringFreeList;
|
||||||
|
virStringJoin;
|
||||||
|
virStringSplit;
|
||||||
|
|
||||||
|
|
||||||
# virtime.h
|
# virtime.h
|
||||||
|
Loading…
Reference in New Issue
Block a user