libvirt/src/util
Daniel P. Berrangé 05a38d4c4a src: conditionalize / remove use of sys/ioctl.h
Remove many imports of sys/ioctl.h which are redundant,
and conditionalize remaining usage that needs to compile
on Windows platforms.

The previous change to remove the "nonblocking" gnulib
module indirectly caused the loss of the "ioctl" gnulib
module that we did not explicitly list in bootstrap.conf
despite relying on.

Rather than re-introduce the "ioctl" module this patch
makes it redundant.

Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2020-01-17 13:16:58 +00:00
..
glibcompat.c util: introduce compile time API version checking 2020-01-07 14:42:26 +00:00
glibcompat.h util: add compat impl of g_canonicalize_filename 2020-01-07 14:42:26 +00:00
iohelper.c util: introduce virFileDataSync 2020-01-03 15:42:12 +00:00
Makefile.inc.am util: introduce compat wrappers for Winsock2 2020-01-17 10:01:16 +00:00
viralloc.c util: use glib memory allocation functions 2019-10-14 10:54:42 +01:00
viralloc.h util: alloc: drop xalloc_oversized macro 2019-10-24 19:35:34 +02:00
virarch.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virarch.h
virarptable.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virarptable.h
viratomic.c
viratomic.h util: replace atomic ops impls with g_atomic_int* 2020-01-17 10:02:00 +00:00
viraudit.c Use g_strdup_vprintf() instead of virVasprintf() everywhere 2019-11-12 16:15:59 +01:00
viraudit.h Use G_GNUC_PRINTF instead of ATTRIBUTE_FMT_PRINTF 2019-10-15 16:14:18 +02:00
virauth.c util: Don't check the output of virGetUserConfigDirectory() 2019-12-20 09:38:43 +01:00
virauth.h
virauthconfig.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virauthconfig.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbitmap.c use g_ascii_isdigit instead of c_isdigit frum gnulib 2019-12-10 13:49:24 +01:00
virbitmap.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virbpf.c virbpf: Fix typecast to __aligned_u64 type 2019-11-18 08:59:13 +01:00
virbpf.h util: introduce virbpf helpers 2019-11-15 12:58:00 +01:00
virbuffer.c util: add virBufferTrimChars 2020-01-15 17:10:20 +01:00
virbuffer.h util: add virBufferTrimChars 2020-01-15 17:10:20 +01:00
vircgroup.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
vircgroup.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
vircgroupbackend.c
vircgroupbackend.h vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgrouppriv.h vircgroup: introduce virCgroupV2DevicesAttachProg 2019-11-15 12:58:05 +01:00
vircgroupv1.c src: use g_lstat() instead of lstat() 2020-01-03 15:42:13 +00:00
vircgroupv1.h
vircgroupv2.c vircgroup: workaround devices in hybrid mode 2019-11-15 12:58:43 +01:00
vircgroupv2.h
vircgroupv2devices.c vircgroupv2devices: free BPF map when replacing with new one 2020-01-13 15:17:54 +01:00
vircgroupv2devices.h vircgroupv2devices: Unexport virCgroupV2DevicesAttachProg() 2020-01-06 17:30:17 +01:00
virclosecallbacks.c
virclosecallbacks.h
vircommand.c Remove all the uses that use subtraction in their length argument 2019-12-12 14:24:35 +01:00
vircommand.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
vircommandpriv.h
virconf.c util: Don't check the output of virGetUserConfigDirectory() 2019-12-20 09:38:43 +01:00
virconf.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
vircrypto.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
vircrypto.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virdbus.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virdbus.h Revert "dbus: correctly build reply message" 2019-09-10 09:47:13 +02:00
virdbuspriv.h
virdevmapper.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virdevmapper.h
virdnsmasq.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virdnsmasq.h
virebtables.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virebtables.h
virendian.h
virenum.c
virenum.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virerror.c Introduce source flags to virDomainGetHostname() 2020-01-16 09:02:35 +01:00
virerror.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virerrorpriv.h
virevent.c util: add note about event file descriptors on Windows 2020-01-03 15:42:12 +00:00
virevent.h event: add API for requiring an event loop impl to be registered 2019-12-18 14:04:59 +00:00
vireventpoll.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
vireventpoll.h
virfcp.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfcp.h
virfdstream.c src: conditionally exclude cfmakeraw/termios.h on WIN32 2020-01-17 10:02:01 +00:00
virfdstream.h
virfile.c src: conditionally exclude cfmakeraw/termios.h on WIN32 2020-01-17 10:02:01 +00:00
virfile.h util, resctrl: using 64bit interface instead of 32bit for counters 2020-01-06 13:30:03 +00:00
virfilecache.c util: buffer: Remove virBufferCheckError 2019-10-24 19:35:34 +02:00
virfilecache.h
virfirewall.c Use g_strdup_vprintf() instead of virVasprintf() everywhere 2019-11-12 16:15:59 +01:00
virfirewall.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virfirewalld.c Use g_autofree instead of VIR_AUTOFREE 2019-10-16 12:06:43 +02:00
virfirewalld.h
virfirewalldpriv.h
virfirewallpriv.h
virfirmware.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virfirmware.h Use G_DEFINE_AUTOPTR_CLEANUP_FUNC instead of VIR_DEFINE_AUTOPTR_FUNC 2019-10-16 12:06:43 +02:00
virgettext.c
virgettext.h
virgic.c
virgic.h
virhash.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virhash.h util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virhashcode.c Use G_GNUC_FALLTHROUGH instead of ATTRIBUTE_FALLTHROUGH 2019-10-15 16:14:19 +02:00
virhashcode.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virhook.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
virhook.h
virhostcpu.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virhostcpu.h hostcpu: add support for reporting die_id in NUMA topology 2020-01-16 15:11:55 +00:00
virhostcpupriv.h
virhostdev.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virhostdev.h virhostdev: Include virNVMeDevice module 2019-12-17 10:04:43 +01:00
virhostmem.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virhostmem.h
virhostuptime.c virhostuptime: Introduce virHostBootTimeInit() 2020-01-07 17:00:10 +01:00
virhostuptime.h virhostuptime: Introduce virHostBootTimeInit() 2020-01-07 17:00:10 +01:00
viridentity.c util: convert virIdentity class to use GObject 2019-10-14 10:54:42 +01:00
viridentity.h util: convert virIdentity class to use GObject 2019-10-14 10:54:42 +01:00
virinitctl.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virinitctl.h
viriptables.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
viriptables.h network: allow DHCP/DNS/TFTP explicitly in OUTPUT rules 2019-10-18 18:49:54 +01:00
viriscsi.c Remove all the uses that use subtraction in their length argument 2019-12-12 14:24:35 +01:00
viriscsi.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virjson.c Remove the rest of VIR_STRNDUP 2019-12-12 14:24:35 +01:00
virjson.h util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virkeycode.c src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virkeycode.h
virkeyfile.c Remove the rest of VIR_STRNDUP 2019-12-12 14:24:35 +01:00
virkeyfile.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virkmod.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virkmod.h
virlease.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virlease.h
virlockspace.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virlockspace.h
virlog.c src: replace use of INT_BUFSIZE_BOUND macros 2020-01-17 09:58:43 +00:00
virlog.h util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virmacaddr.c use g_ascii_tolower instead of c_tolower from gnulib 2019-12-10 13:49:24 +01:00
virmacaddr.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virmacmap.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virmacmap.h
virmdev.c src: replace last_component() with g_path_get_basename() 2020-01-03 15:42:13 +00:00
virmdev.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virmodule.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virmodule.h
virnetdev.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virnetdev.h conf: make virDomainNetGetActualVlan arg/return val const 2019-11-25 15:29:46 -05:00
virnetdevbandwidth.c conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
virnetdevbandwidth.h conf: make virDomainNetGetActualBandwidth arg/return value const 2019-11-25 15:29:51 -05:00
virnetdevbridge.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virnetdevbridge.h util: set bridge device MAC address explicitly during virNetDevBridgeCreate 2019-11-07 22:09:19 -05:00
virnetdevip.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virnetdevip.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virnetdevmacvlan.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virnetdevmacvlan.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmidonet.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevmidonet.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevopenvswitch.c conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevopenvswitch.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevtap.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virnetdevtap.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetdevveth.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virnetdevveth.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virnetdevvlan.c
virnetdevvlan.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virnetdevvportprofile.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virnetdevvportprofile.h conf: return a const from virDomainNetGetActualVirtPortProfile 2019-11-25 15:29:56 -05:00
virnetlink.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virnetlink.h m4: virt-libnl: drop libnl-1.0 support 2019-10-23 14:30:47 +02:00
virnodesuspend.c Use g_autoptr instead of VIR_AUTOPTR 2019-10-16 12:06:43 +02:00
virnodesuspend.h
virnuma.c util: remove unneeded cleanup labels 2019-11-12 17:54:01 +01:00
virnuma.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virnvme.c util: Introduce virNVMeDevice module 2019-12-17 10:04:43 +01:00
virnvme.h virhostdev: Include virNVMeDevice module 2019-12-17 10:04:43 +01:00
virobject.c util: consolidate on one free callback for hash data 2019-11-22 14:21:28 +00:00
virobject.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
virpci.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virpci.h virpci: Introduce virPCIDeviceAddressCopy 2019-12-17 10:04:43 +01:00
virperf.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virperf.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virpidfile.c src: replace use of INT_BUFSIZE_BOUND macros 2020-01-17 09:58:43 +00:00
virpidfile.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virpolkit.c util: use G_GNUC_UNUSED 2019-10-15 11:25:25 +02:00
virpolkit.h
virportallocator.c src: convert code to use new socket portability wrappers 2020-01-17 10:01:57 +00:00
virportallocator.h
virprobe.h
virprocess.c util: replace atomic ops impls with g_atomic_int* 2020-01-17 10:02:00 +00:00
virprocess.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virqemu.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virqemu.h
virrandom.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrandom.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virresctrl.c util, resctrl: using 64bit interface instead of 32bit for counters 2020-01-06 13:30:03 +00:00
virresctrl.h util, resctrl: using 64bit interface instead of 32bit for counters 2020-01-06 13:30:03 +00:00
virresctrlpriv.h
virrotatingfile.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virrotatingfile.h
virscsi.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsi.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virscsihost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsihost.h
virscsivhost.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virscsivhost.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virseclabel.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virseclabel.h
virsecret.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virsecret.h
virsocket.c util: introduce compat wrappers for Winsock2 2020-01-17 10:01:16 +00:00
virsocket.h util: introduce compat wrappers for Winsock2 2020-01-17 10:01:16 +00:00
virsocketaddr.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virsocketaddr.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virstorageencryption.c virstorage: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:58 +02:00
virstorageencryption.h
virstoragefile.c util: storagefile: Properly set transport type when parsing NBD strings 2020-01-17 12:34:10 +01:00
virstoragefile.h virstoragefile: Introduce virStorageSourceChainHasNVMe 2019-12-17 10:04:43 +01:00
virstoragefilebackend.c
virstoragefilebackend.h
virstring.c util: remove VIR_STRDUP and VIR_STRNDUP 2019-12-12 14:24:35 +01:00
virstring.h src: replace use of INT_BUFSIZE_BOUND macros 2020-01-17 09:58:43 +00:00
virsysinfo.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virsysinfo.h util: Get rid of "no_memory" labels 2019-12-20 17:02:40 -05:00
virsysinfopriv.h
virsystemd.c src: switch to use g_setenv/g_unsetenv 2020-01-03 15:42:12 +00:00
virsystemd.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virsystemdpriv.h
virthread.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
virthread.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virthreadjob.c
virthreadjob.h
virthreadpool.c
virthreadpool.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtime.c src: replace gmtime_r/localtime_r/strftime with GDateTime 2020-01-17 10:02:01 +00:00
virtime.h Use G_GNUC_WARN_UNUSED_RESULT instead of ATTRIBUTE_RETURN_CHECK 2019-10-15 11:25:22 +02:00
virtpm.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virtpm.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virtypedparam-public.c util: use g_strdup instead of VIR_STRDUP 2019-10-21 12:51:59 +02:00
virtypedparam.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
virtypedparam.h src: replace verify(expr) with G_STATIC_ASSERT(expr) 2020-01-17 10:02:01 +00:00
viruri.c util: Get rid of "no_memory" labels 2019-12-20 17:02:40 -05:00
viruri.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virusb.c replace use of gnulib snprintf by g_snprintf 2019-11-15 15:07:40 +01:00
virusb.h Remove virautoclean.h 2019-10-16 12:06:44 +02:00
virutil.c src: conditionally exclude cfmakeraw/termios.h on WIN32 2020-01-17 10:02:01 +00:00
virutil.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
viruuid.c util: remove unneeded labels 2020-01-07 16:40:41 +01:00
viruuid.h Use G_GNUC_NO_INLINE instead of ATTRIBUTE_NOINLINE 2019-10-15 16:14:18 +02:00
virvhba.c util: Use g_strdup_printf() instead of virAsprintf() 2019-11-12 16:15:58 +01:00
virvhba.h
virvsock.c src: conditionalize / remove use of sys/ioctl.h 2020-01-17 13:16:58 +00:00
virvsock.h
virxdrdefs.h
virxml.c util: xml: Make virXMLFormatElement void 2019-10-24 19:35:34 +02:00
virxml.h util: xml: Make virXMLFormatElement void 2019-10-24 19:35:34 +02:00