libvirt/src/qemu
Julio Faracco bf72ab16e2 qemu: fix uninitialised variable in virQEMUDriverConfigLoadFile
Since virConfGetValueBool() can return earlier, the parameter 'value'
might be not initialised properly inside this method. Another proof:
Valgrind is returning this error during the libvirtd daemon startup:

==16199== Conditional jump or move depends on uninitialised value(s)
==16199==    at 0x27FFFEF4: virQEMUDriverConfigLoadFile (qemu_conf.c:809)
==16199==    by 0x2807665C: qemuStateInitialize (qemu_driver.c:654)
==16199==    by 0x5535428: virStateInitialize (libvirt.c:662)
==16199==    by 0x12AED8: daemonRunStateInit (remote_daemon.c:802)
==16199==    by 0x536DE18: virThreadHelper (virthread.c:206)
==16199==    by 0x6CB36DA: start_thread (pthread_create.c:463)
==16199==    by 0x6FEC88E: clone (clone.S:95)

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2018-06-12 10:08:41 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu: Extend qemu_conf with tpm-emulator support 2018-06-06 10:48:41 -04:00
Makefile.inc.am qemu: Extend QEMU with external TPM support 2018-06-06 10:48:41 -04:00
MIGRATION.txt
qemu_agent.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
qemu_agent.h
qemu_alias.c qemu: alias: Rename qemuAliasFromDisk to qemuAliasDiskDriveFromDisk 2018-06-05 08:14:00 +02:00
qemu_alias.h qemu: alias: Rename qemuAliasFromDisk to qemuAliasDiskDriveFromDisk 2018-06-05 08:14:00 +02:00
qemu_block.c qemu: hotplug: Extract hotplug of TLS into qemuBlockStorageSourceAttachApply 2018-06-05 08:14:01 +02:00
qemu_block.h qemu: hotplug: Extract hotplug of TLS into qemuBlockStorageSourceAttachApply 2018-06-05 08:14:01 +02:00
qemu_blockjob.c qemu: Remove parameter 'driver' from qemuBlockJobUpdate 2018-05-10 16:43:24 +02:00
qemu_blockjob.h qemu: Remove parameter 'driver' from qemuBlockJobUpdate 2018-05-10 16:43:24 +02:00
qemu_capabilities.c qemu: Implement the driver backend for virNodeGetSEVInfo() 2018-06-12 10:00:38 +02:00
qemu_capabilities.h qemu: Implement the driver backend for virNodeGetSEVInfo() 2018-06-12 10:00:38 +02:00
qemu_capspriv.h qemu: Provide support to query the SEV capability 2018-06-12 09:51:59 +02:00
qemu_cgroup.c qemu/cgroup: Add /dev/sev in shared devices list 2018-06-12 10:00:49 +02:00
qemu_cgroup.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_command.c qemu: Add support to launch an SEV guest 2018-06-12 10:00:49 +02:00
qemu_command.h qemu: support passing pre-opened UNIX socket listen FD 2018-06-05 17:30:28 +01:00
qemu_conf.c qemu: fix uninitialised variable in virQEMUDriverConfigLoadFile 2018-06-12 10:08:41 +02:00
qemu_conf.h qemu: conf: Remove 'allow_disk_format_probing' config option 2018-06-08 09:26:37 +02:00
qemu_domain_address.c conf: introduce <vsock> element 2018-05-29 15:42:03 +02:00
qemu_domain_address.h
qemu_domain.c events: add NULL check in virObjectEventStateQueue 2018-06-12 07:28:18 +02:00
qemu_domain.h qemu: domain: Split validation and setup of the virStorageSource 2018-06-05 08:13:58 +02:00
qemu_driver.c qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_extdevice.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_hostdev.c qemu: hostdev: Move parts of qemuHostdevHostSupportsPassthroughVFIO() into separate function 2018-06-05 08:33:13 +02:00
qemu_hostdev.h
qemu_hotplug.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
qemu_hotplug.h qemu: hotplug: Refactor 'secret' props formatting to qemuMonitorCreateObjectProps 2018-06-05 08:13:59 +02:00
qemu_hotplugpriv.h
qemu_interface.c
qemu_interface.h
qemu_migration_cookie.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
qemu_migration_cookie.h
qemu_migration_params.c qemu: Fix domain resume after failed migration 2018-06-05 09:39:24 +02:00
qemu_migration_params.h qemu: Fix domain resume after failed migration 2018-06-05 09:39:24 +02:00
qemu_migration_paramspriv.h
qemu_migration.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
qemu_migration.h
qemu_monitor_json.c qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_monitor_json.h qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_monitor_text.c qemu: monitor: Remove dead code from text monitor 2018-05-23 15:44:13 +02:00
qemu_monitor_text.h qemu: monitor: Remove dead code from text monitor 2018-05-23 15:44:13 +02:00
qemu_monitor.c qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_monitor.h qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_parse_command.c
qemu_parse_command.h
qemu_process.c qemu: Add support to launch an SEV guest 2018-06-12 10:00:49 +02:00
qemu_process.h qemu: implement vsock hotplug 2018-06-05 07:51:13 +02:00
qemu_processpriv.h
qemu_qapi.c
qemu_qapi.h
qemu_security.c security: Label the external swtpm with SELinux labels 2018-06-06 10:48:41 -04:00
qemu_security.h security: Label the external swtpm with SELinux labels 2018-06-06 10:48:41 -04:00
qemu_tpm.c qemu_tpm: Drop needles include of cap-ng.h 2018-06-07 08:32:11 +02:00
qemu_tpm.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu.conf qemu/cgroup: Add /dev/sev in shared devices list 2018-06-12 10:00:49 +02:00
test_libvirtd_qemu.aug.in qemu/cgroup: Add /dev/sev in shared devices list 2018-06-12 10:00:49 +02:00
THREADS.txt