libvirt/src/util
John Ferlan 238032505f util: Introduce virCryptoGenerateRandom
Move the logic from qemuDomainGenerateRandomKey into this new
function, altering the comments, variable names, and error messages
to keep things more generic.

NB: Although perhaps more reasonable to add soemthing to virrandom.c.
    The virrandom.c was included in the setuid_rpc_client, so I chose
    placement in vircrypto.
2016-05-20 11:09:05 -04:00
..
iohelper.c More usage of virGetLastErrorMessage 2016-05-19 15:17:03 -04:00
keymaps.csv
viralloc.c util: alloc: Introduce freeing helpers that clear the memory before freeing 2016-05-16 12:58:48 +02:00
viralloc.h util: Remove need for STATIC_ANALYSIS check 2016-05-19 16:30:04 -04:00
virarch.c
virarch.h util: Add space before comment end marker 2015-09-14 11:32:44 +02:00
viratomic.c
viratomic.h
viraudit.c audit: use bool for audit log choice 2014-10-29 09:55:09 -06:00
viraudit.h audit: use bool for audit log choice 2014-10-29 09:55:09 -06:00
virauth.c Remove unnecessary curly brackets in src/util/ 2014-11-14 17:13:35 +01:00
virauth.h
virauthconfig.c
virauthconfig.h
virbitmap.c util: bitmap: Introduce self-expanding bitmap APIs 2016-03-29 21:25:41 +02:00
virbitmap.h util: bitmap: Introduce self-expanding bitmap APIs 2016-03-29 21:25:41 +02:00
virbuffer.c build: cleanup GCC < 4.6 -Wlogical-op workaround 2016-04-11 12:09:11 +02:00
virbuffer.h util: buffer: Add support for adding text blocks with indentation 2015-03-25 15:42:52 +01:00
vircgroup.c virCgroupValidateMachineGroup: Reflect change in CGroup struct naming 2016-05-06 12:51:06 +02:00
vircgroup.h qemu_cgroup: use virCgroupAddTask instead of virCgroupMoveTask 2016-03-01 14:07:27 +00:00
vircgrouppriv.h tests: Add tests for virCgroupDetectMounts 2015-03-18 09:53:24 +01:00
virclosecallbacks.c util: Add a return value to void hash iterators 2016-02-17 12:46:34 +01:00
virclosecallbacks.h conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
vircommand.c util: Add exitstatus parameter to virCommandRunRegex 2016-05-18 08:29:24 -04:00
vircommand.h util: Add exitstatus parameter to virCommandRunRegex 2016-05-18 08:29:24 -04:00
vircommandpriv.h
virconf.c virconf: Handle conf file without ending newline 2016-04-21 18:14:07 -04:00
virconf.h libvirt: Move config getters to util 2015-11-30 09:36:19 +01:00
vircrypto.c util: Introduce virCryptoGenerateRandom 2016-05-20 11:09:05 -04:00
vircrypto.h util: Introduce virCryptoGenerateRandom 2016-05-20 11:09:05 -04:00
virdbus.c dbus: Don't unref NULL messages 2016-02-11 11:35:02 +01:00
virdbus.h dbus: Don't unref NULL messages 2016-02-11 11:35:02 +01:00
virdbuspriv.h build: fix build when not using dbus 2014-11-20 08:48:19 -07:00
virdnsmasq.c Drop paths.h include 2016-03-18 09:43:45 +01:00
virdnsmasq.h
virebtables.c
virebtables.h
virendian.h
virerror.c util: Fix virGetLastErrorMessage to return proper error when 'err' is NULL 2016-05-11 20:10:35 +02:00
virerror.h Introduce virErrorCopyNew 2015-07-10 11:47:13 +02:00
virevent.c docs: event impl. registration before hypervisor connection 2015-10-15 19:50:58 -04:00
virevent.h
vireventpoll.c util: make it more robust to calculate timeout value 2015-05-27 16:59:18 +02:00
vireventpoll.h
virfile.c virfile: Introduce virFileRemoveLastComponent 2016-05-13 14:17:15 +02:00
virfile.h virfile: Introduce virFileRemoveLastComponent 2016-05-13 14:17:15 +02:00
virfirewall.c dbus: Don't unref NULL messages 2016-02-11 11:35:02 +01:00
virfirewall.h test: fix nwfilter tests following changes in virfirewall.c 2014-12-22 16:57:21 -05:00
virfirewallpriv.h
virgettext.c util: Add virGettextInitialize, convert the code 2016-04-14 13:22:40 -04:00
virgettext.h util: Add virGettextInitialize, convert the code 2016-04-14 13:22:40 -04:00
virgic.c gic: Introduce virGICVersion enumeration 2016-02-16 14:58:58 +01:00
virgic.h qemu: Probe GIC capabilities 2016-04-20 12:46:48 +02:00
virhash.c util: Refactor virHashForEach so it returns as soon as an iterator fails 2016-02-17 12:46:34 +01:00
virhash.h util: Refactor virHashForEach so it returns as soon as an iterator fails 2016-02-17 12:46:34 +01:00
virhashcode.c
virhashcode.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virhook.c More usage of virGetLastErrorMessage 2016-05-19 15:17:03 -04:00
virhook.h qemu: hook: Provide hook when restoring a domain save image 2014-09-22 17:11:56 +02:00
virhostdev.c More usage of virGetLastErrorMessage 2016-05-19 15:17:03 -04:00
virhostdev.h hostdev: Rename virHostdevUpdateDomainActiveDevices() 2015-10-26 13:50:35 +01:00
viridentity.c util: identity: Harden virIdentitySetCurrent() 2015-03-25 13:37:41 +01:00
viridentity.h Add typesafe APIs for virIdentity attributes 2014-09-24 15:29:22 +01:00
virinitctl.c Add support for /run/initctl 2014-10-22 13:09:49 +01:00
virinitctl.h
viriptables.c Drop paths.h include 2016-03-18 09:43:45 +01:00
viriptables.h
viriscsi.c iscsi: Remove initiatoriqn from virISCSIScanTargets 2016-05-18 08:29:24 -04:00
viriscsi.h iscsi: Remove initiatoriqn from virISCSIScanTargets 2016-05-18 08:29:24 -04:00
virjson.c virjson: Make pretty format more compact 2016-05-05 10:01:55 +02:00
virjson.h virJSONValueArraySize: return ssize_t 2015-10-09 15:25:08 +02:00
virkeycode-mapgen.py
virkeycode.c
virkeycode.h
virkeyfile.c
virkeyfile.h
virkmod.c Typos: Get rid of dependan(t|cies) 2015-04-02 16:05:32 +02:00
virkmod.h
virlease.c nss: Implement _nss_libvirt_gethostbyname3_r 2016-03-18 17:29:53 +01:00
virlease.h Export virLease* functions for leases file handling 2016-03-18 17:29:53 +01:00
virlockspace.c virJSONValueArraySize: return ssize_t 2015-10-09 15:25:08 +02:00
virlockspace.h
virlog.c virlog: Refactor virLogParseFilters 2016-03-24 16:39:28 +01:00
virlog.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virmacaddr.c util: Functions to update host network device's multicast filter 2014-10-28 14:14:25 -04:00
virmacaddr.h util: Functions to update host network device's multicast filter 2014-10-28 14:14:25 -04:00
virnetdev.c util: set vlan tag for macvtap passthrough mode on SRIOV VFs 2016-05-10 14:04:19 -04:00
virnetdev.h util: set vlan tag for macvtap passthrough mode on SRIOV VFs 2016-05-10 14:04:19 -04:00
virnetdevbandwidth.c virnetdevbandwidth: Compute quantum value 2016-02-05 16:43:19 +01:00
virnetdevbandwidth.h virNetDevBandwidthUpdateRate: turn class_id into integer 2015-08-11 16:10:32 +02:00
virnetdevbridge.c util: fallback to ioctl(SIOCBRDELBR) if netlink RTM_DELLINK fails 2015-08-28 16:39:30 -04:00
virnetdevbridge.h util: functions to manage bridge fdb (forwarding database) 2014-12-08 14:39:12 -05:00
virnetdevmacvlan.c util: set vlan tag for macvtap passthrough mode on SRIOV VFs 2016-05-10 14:04:19 -04:00
virnetdevmacvlan.h util: set vlan tag for macvtap passthrough mode on SRIOV VFs 2016-05-10 14:04:19 -04:00
virnetdevmidonet.c util: functions to support binding/unbinding midonet virtualports 2015-03-17 12:56:37 -04:00
virnetdevmidonet.h util: functions to support binding/unbinding midonet virtualports 2015-03-17 12:56:37 -04:00
virnetdevopenvswitch.c virnetdevopenvswitch: Don't call strlen() twice on the same string 2016-01-27 13:01:24 +01:00
virnetdevopenvswitch.h
virnetdevtap.c network: Add midonet virtual port type support to qemu 2015-03-17 13:10:17 -04:00
virnetdevtap.h Change int to size_t in size var for tap/vhost FDs 2015-01-15 11:07:13 +00:00
virnetdevveth.c Cleanup "/sys/class/net" usage 2015-04-15 16:43:28 +02:00
virnetdevveth.h
virnetdevvlan.c
virnetdevvlan.h
virnetdevvportprofile.c util: clean up and expand 802.1QbX negotiation logging 2016-02-14 11:29:41 -05:00
virnetdevvportprofile.h util: functions to support binding/unbinding midonet virtualports 2015-03-17 12:56:37 -04:00
virnetlink.c util: increase libnl buffer size 2016-01-26 12:20:04 -05:00
virnetlink.h util: fallback to ioctl(SIOCBRDELBR) if netlink RTM_DELLINK fails 2015-08-28 16:39:30 -04:00
virnodesuspend.c
virnodesuspend.h
virnuma.c util: Produce friendlier error message to user 2015-10-21 16:19:42 -04:00
virnuma.h util: Add virNumaGetHostNodeset 2014-12-16 11:15:27 +01:00
virobject.c util: Make the virDomainListFree helper more universal 2015-05-11 08:28:53 +02:00
virobject.h util: Make the virDomainListFree helper more universal 2015-05-11 08:28:53 +02:00
virpci.c util: Adjust return for virPCIGetDeviceAddressFromSysfsLink 2016-05-19 16:30:04 -04:00
virpci.h Change virDevicePCIAddress to virPCIDeviceAddress 2016-05-02 15:46:23 +02:00
virperf.c perf: add support to perf event for MBM 2016-05-19 15:57:57 +02:00
virperf.h perf: add support to perf event for MBM 2016-05-19 15:57:57 +02:00
virpidfile.c network: escape quotes for dsmasq conf contents 2015-06-09 13:56:00 -04:00
virpidfile.h util: Introduce virPidFileForceCleanupPath 2014-11-03 16:43:23 +01:00
virpolkit.c util: polkit: Fix polkit agent startup 2016-05-09 13:54:52 +02:00
virpolkit.h util: Introduce API's for Polkit text authentication 2016-03-01 06:50:16 -05:00
virportallocator.c Introduce virBitmapIsBitSet 2015-03-13 15:31:33 +01:00
virportallocator.h util: Allow port allocator to skip bind() check 2014-09-11 15:40:14 -06:00
virprobe.h Log dtrace/systemd probes at INFO level instead of DEBUG 2015-01-15 11:07:13 +00:00
virprocess.c util: Use virBitmapIsBitSet in freebsd impl of virProcessSetAffinity 2016-02-19 15:23:54 +01:00
virprocess.h process: Add virProcessGetMaxMemLock() 2015-12-17 10:12:47 +01:00
virrandom.c util: Introduce virRandomBytes 2016-04-06 20:27:09 -04:00
virrandom.h util: Introduce virRandomBytes 2016-04-06 20:27:09 -04:00
virrotatingfile.c rotatingfile: mark log files as close-on-exec 2015-12-04 18:18:39 +00:00
virrotatingfile.h util: Avoid variable named 'truncate' shadowing global declaration 2015-11-30 15:32:47 +01:00
virscsi.c Convert SCSI logical unit from unsigned int to unsigned long long 2015-06-22 16:03:33 -04:00
virscsi.h Convert SCSI logical unit from unsigned int to unsigned long long 2015-06-22 16:03:33 -04:00
virseclabel.c
virseclabel.h
virsexpr.c Remove unnecessary curly brackets in src/util/ 2014-11-14 17:13:35 +01:00
virsexpr.h
virsocketaddr.c virnetsocket: Provide socket address format in a more standard form 2016-05-03 15:52:50 +02:00
virsocketaddr.h util: Add virSocketAddrSetIPv[46]AddrNetOrder and use it 2016-03-21 11:28:33 +01:00
virstats.c maint: clean up _virDomainInterfaceStats 2014-09-17 11:28:48 -06:00
virstats.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
virstorageencryption.c Remove unnecessary curly brackets in src/util/ 2014-11-14 17:13:35 +01:00
virstorageencryption.h
virstoragefile.c virfile: Introduce virFileRemoveLastComponent 2016-05-13 14:17:15 +02:00
virstoragefile.h storage: Fix regression cloning volume into a logical pool 2016-05-11 09:06:26 -04:00
virstring.c util: string: Introduce helper to determine whether a byte buffer is printable 2016-05-16 12:58:48 +02:00
virstring.h util: string: Introduce helper to determine whether a byte buffer is printable 2016-05-16 12:58:48 +02:00
virsysinfo.c build: cleanup GCC < 4.6 -Wlogical-op workaround 2016-04-11 12:09:11 +02:00
virsysinfo.h virSysinfo: Introduce SMBIOS type 2 support 2015-06-18 10:10:26 +02:00
virsystemd.c dbus: Don't unref NULL messages 2016-02-11 11:35:02 +01:00
virsystemd.h systemd: Modernize machine naming 2016-02-05 16:11:50 +01:00
virthread.c virCondWaitUntil: calculate timespec correctly 2015-04-16 15:39:22 +02:00
virthread.h virThread: Set thread job 2015-03-25 10:00:53 +01:00
virthreadjob.c Add support for tracking thread jobs 2015-03-25 10:00:53 +01:00
virthreadjob.h Add support for tracking thread jobs 2015-03-25 10:00:53 +01:00
virthreadpool.c admin: Introduce virAdmServerSetThreadPoolParameters 2016-04-18 17:07:46 +02:00
virthreadpool.h admin: Introduce virAdmServerSetThreadPoolParameters 2016-04-18 17:07:46 +02:00
virtime.c Add functions for handling exponential backoff loops. 2016-04-15 16:54:28 +01:00
virtime.h Add functions for handling exponential backoff loops. 2016-04-15 16:54:28 +01:00
virtpm.c tpm: adapt sysfs cancel path for new TPM driver 2015-11-17 20:52:13 -05:00
virtpm.h
virtypedparam.c Libvirt: virTypedParamsValidate: Fix detection of multiple parameters 2016-04-18 15:57:20 +02:00
virtypedparam.h util: Export remoteSerializeTypedParameters internally via util 2016-02-03 15:46:45 +01:00
viruri.c livirt: Move URI alias matching to util 2015-11-30 09:44:28 +01:00
viruri.h livirt: Move URI alias matching to util 2015-11-30 09:44:28 +01:00
virusb.c
virusb.h
virutil.c Include sysmacros.h where needed 2016-04-18 20:36:57 +02:00
virutil.h util: Rename and move virStrIsPrint to virStringIsPrintable 2016-04-13 08:15:24 +02:00
viruuid.c util: factor out reading file into preallocated buffer 2016-05-03 08:58:30 -04:00
viruuid.h
virxdrdefs.h Unify int types handling in protocol files 2016-01-11 19:56:06 +03:00
virxml.c Add virXMLValidateAgainstSchema helper method 2015-01-15 14:02:50 +00:00
virxml.h Add virXMLValidateAgainstSchema helper method 2015-01-15 14:02:50 +00:00