libvirt/src/qemu
Peter Krempa ddb2384f0c qemuDomainSetupDisk: Initialize 'targetPaths'
Compiler isn't able to see that 'virDevMapperGetTargets' in cases e.g.
when the devmapper isn't available may not initialize the value in the
pointer passed as the second argument.

The usage 'qemuDomainSetupDisk' lead to an accidental infinite loop as
previous calls apparently doctored the stack to a point where
'g_slist_concat' would end up in an infinite loop trying to find the end
of the list.

Fixes: 6c49c2ee9f
Closes: https://gitlab.com/libvirt/libvirt/-/issues/268
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
2022-01-26 09:24:59 +01:00
..
EVENTHANDLERS.txt
libvirt_qemu_probes.d
libvirtd_qemu.aug qemu: conf: Add 'deprecation_behavior' setting to qemu.conf 2021-04-06 17:07:05 +02:00
meson.build remove sysconfig files 2022-01-17 18:20:59 +01:00
MIGRATION.txt
postcopy-migration.sysctl qemu: Enable unprivileged userfaultfd for post-copy migration 2021-12-10 17:53:11 +01:00
qemu_agent.c qemu: agent: remove all code around disabled DEBUG_IO/DEBUG_RAW_IO definitions 2022-01-06 14:13:14 +01:00
qemu_agent.h qemu_agent: Drop destroy callback 2021-11-12 14:11:43 +01:00
qemu_alias.c qemu_alias: change return type to void if possible 2021-11-25 09:19:59 +01:00
qemu_alias.h qemu_alias: change return type to void if possible 2021-11-25 09:19:59 +01:00
qemu_backup.c qemu: remove ignore_value for qemuDomainObjExitMonitor 2021-12-01 10:56:58 +01:00
qemu_backup.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_block.c qemuBlockStorageSourceGetRBDProps: Simplify generation of auth modes 2021-12-22 13:48:35 +01:00
qemu_block.h qemu: Use qemuBuildChrChardevCommand for vhost-user disk backend 2021-12-10 16:37:42 +01:00
qemu_blockjob.c qemuBlockJobRewriteConfigDiskSource: Add debug statements when skipping disk update 2021-12-01 13:39:47 +01:00
qemu_blockjob.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_capabilities.c qemu: Correct CPU capabilities probing for hvf 2022-01-25 16:54:44 +01:00
qemu_capabilities.h qemu: Define hvf capability 2022-01-25 16:53:39 +01:00
qemu_capspriv.h qemu: Invalidate capabilities cache on host cpuid mismatch 2021-11-05 17:12:25 +01:00
qemu_cgroup.c Fix some typos 2022-01-12 11:43:30 +01:00
qemu_cgroup.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_checkpoint.c qemuCheckpointGetXMLDescUpdateSize: Don't combine automatic freeing with manual 2021-12-01 13:53:11 +01:00
qemu_checkpoint.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_command.c conf: Add hvf domain type 2022-01-25 16:53:39 +01:00
qemu_command.h qemuBuildChrChardevStr: Remove unused arguments and clean up callers 2021-12-10 16:37:42 +01:00
qemu_conf.c qemu: remove sharedDevices hash table 2022-01-19 13:57:59 +01:00
qemu_conf.h qemu: remove sharedDevices hash table 2022-01-19 13:57:59 +01:00
qemu_dbus.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_dbus.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_domain_address.c conf: Convert virDomainFSDefParseXML() to virXMLProp*() 2022-01-21 16:42:14 +01:00
qemu_domain_address.h qemuDomainEnsurePCIAddress: Don't pass virQEMUDriver explicitly 2021-11-19 12:38:34 +01:00
qemu_domain.c lib: Almost eliminate use of virTristateBoolTypeFromString() 2022-01-21 16:42:13 +01:00
qemu_domain.h Fix some typos 2021-12-15 11:52:54 +01:00
qemu_domainjob.c qemu: Log which API is trying to acquire a job 2022-01-18 13:58:38 +01:00
qemu_domainjob.h qemu_domainjob: move jobs_queued to struct qemuDomainJobObj 2021-12-01 12:45:40 +01:00
qemu_driver.c Revert "report error when virProcessGetStatInfo() is unable to parse data" 2022-01-20 17:51:07 +01:00
qemu_driver.h
qemu_extdevice.c qemu: Revert "qemuExtDevicesStart: pass logManager" 2021-10-12 14:12:11 +02:00
qemu_extdevice.h qemu: Revert "qemuExtDevicesStart: pass logManager" 2021-10-12 14:12:11 +02:00
qemu_firmware.c qemu: split handling of distinct firmware enum conversions 2022-01-14 18:56:39 +00:00
qemu_firmware.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hostdev.c conf: Convert virDomainHostdevDefParseXMLSubsys() to virXMLProp*() 2022-01-21 16:42:14 +01:00
qemu_hostdev.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_hotplug.c qemuDomainAttachHostPCIDevice: Fix coding style 2022-01-25 12:38:40 +01:00
qemu_hotplug.h qemu: export vhost-user-fs-related functions 2021-10-06 12:03:12 +02:00
qemu_interface.c qemu: use automatic cleanup for virCommand 2021-12-13 18:20:46 +01:00
qemu_interface.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_interop_config.c meson: Introduce qemu_datadir option 2021-11-18 15:48:59 +01:00
qemu_interop_config.h
qemu_migration_cookie.c qemu: do not check return value of qemuDomainObjExitMonitor 2021-12-01 10:56:58 +01:00
qemu_migration_cookie.h qemu: migration: Don't transfer 'allowReboot' flag 2021-08-25 15:32:44 +02:00
qemu_migration_params.c qemu: Add support for return-path migration capability 2021-12-15 10:44:50 +01:00
qemu_migration_params.h qemu: Add support for return-path migration capability 2021-12-15 10:44:50 +01:00
qemu_migration_paramspriv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_migration.c do not report generic OPERATION_FAILED error when calling virConnectOpenAuth() 2022-01-07 16:58:25 +01:00
qemu_migration.h qemu: migration: Implement VIR_MIGRATE_NON_SHARED_SYNCHRONOUS_WRITES 2021-12-07 09:00:39 +01:00
qemu_monitor_json.c qemu: agent: remove all code around disabled DEBUG_IO/DEBUG_RAW_IO definitions 2022-01-06 14:13:14 +01:00
qemu_monitor_json.h qemu: Implement the virDomainSetLaunchSecurityState API 2022-01-04 10:56:00 -07:00
qemu_monitor_priv.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_monitor_text.c qemu_monitor: remove unused load snapshot code 2021-11-23 16:03:07 +01:00
qemu_monitor_text.h qemu_monitor: remove unused load snapshot code 2021-11-23 16:03:07 +01:00
qemu_monitor.c Add VM info to improve error log message for qemu monitor 2022-01-06 14:13:14 +01:00
qemu_monitor.h qemu: Implement the virDomainSetLaunchSecurityState API 2022-01-04 10:56:00 -07:00
qemu_namespace.c qemuDomainSetupDisk: Initialize 'targetPaths' 2022-01-26 09:24:59 +01:00
qemu_namespace.h qemu: Do not erase duplicate devices from namespace if error occurs 2021-07-15 12:00:24 +02:00
qemu_process.c qemu: Correct CPU capabilities probing for hvf 2022-01-25 16:54:44 +01:00
qemu_process.h qemuProcessPrepareQEMUCaps: Don't clear QEMU_CAPS_CHARDEV_FD_PASS_COMMANDLINE 2022-01-07 09:25:13 +01:00
qemu_processpriv.h qemu: Remove return value from qemuMonitorDomainDeviceDeletedCallback 2021-07-23 10:01:48 +02:00
qemu_qapi.c virQEMUQAPISchemaTraverseEnum: Allow query of enume type features 2021-11-01 17:37:15 +01:00
qemu_qapi.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_saveimage.c qemu: fix missing cleanup on error in qemuSaveImageStartVM 2021-12-16 10:32:10 +01:00
qemu_saveimage.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_security.c qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
qemu_security.h qemu: Set label on vhostuser net device when hotplugging 2021-08-26 16:06:45 -06:00
qemu_shim.c virt-qemu-run: Improve usage information 2021-12-10 18:39:35 +01:00
qemu_slirp.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_slirp.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_snapshot.c qemu: fix inactive snapshot revert 2022-01-20 15:16:18 +01:00
qemu_snapshot.h qemu_snapshot: Add the guest name to the transient disk path 2021-05-24 20:38:07 +02:00
qemu_tpm.c qemu: use automatic cleanup for virCommand 2021-12-13 18:20:46 +01:00
qemu_tpm.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_validate.c conf: Convert virDomainHostdevDefParseXMLSubsys() to virXMLProp*() 2022-01-21 16:42:14 +01:00
qemu_validate.h qemu: Reject 'rename-restart' action for 'on_reboot'/'on_poweroff'/'on_crash' 2021-08-25 15:32:44 +02:00
qemu_vhost_user_gpu.c lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_vhost_user_gpu.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_vhost_user.c qemu_vhost_user: don't raise error for unknown features 2021-07-26 10:01:59 -04:00
qemu_vhost_user.h lib: Drop internal virXXXPtr typedefs 2021-04-13 17:00:38 +02:00
qemu_virtiofs.c lib: Drop needless one line labels 2021-11-22 12:39:59 +01:00
qemu_virtiofs.h qemu: virtiofs: open a separate connection to virtlogd 2021-10-12 14:12:11 +02:00
qemu.conf qemu: conf: simplify seccomp_sandbox comment 2021-09-27 10:11:21 +02:00
test_libvirtd_qemu.aug.in qemu: conf: Add 'deprecation_behavior' setting to qemu.conf 2021-04-06 17:07:05 +02:00
THREADS.txt qemu: turn qemuDomainObjExitMonitor into void 2021-12-01 10:56:58 +01:00
virtqemud.init.in
virtqemud.service.in remove sysconfig files 2022-01-17 18:20:59 +01:00