libvirt/src/bhyve
Michal Privoznik d301bc8d08 lib: Grab write lock when modifying list of domains
In some places where virDomainObjListForEach() is called the
passed callback calls virDomainObjListRemoveLocked(). Well, this
is unsafe, because the former only grabs a read lock but the
latter modifies the list.
I've identified the following unsafe calls:

- qemuProcessReconnectAll()
- libxlReconnectDomains()

The rest seem to be safe.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2019-09-07 08:22:30 +02:00
..
bhyve_capabilities.c bhyve: fill in virCapsEnum 'report' 2019-03-18 10:51:02 -04:00
bhyve_capabilities.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_command.c bhyve: convert to net model enum 2019-04-16 13:11:08 -04:00
bhyve_command.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_conf.c Require a semicolon for VIR_ONCE_GLOBAL_INIT calls 2019-02-03 17:46:29 -05:00
bhyve_conf.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_device.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
bhyve_device.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_domain.c xml: namespaces: use uri instead of href 2019-08-21 11:59:33 +02:00
bhyve_domain.h conf: domain: use generic XML namespace types 2019-08-21 10:29:20 +02:00
bhyve_driver.c lib: Grab write lock when modifying list of domains 2019-09-07 08:22:30 +02:00
bhyve_driver.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_monitor.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
bhyve_monitor.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_parse_command.c domain-conf: add network def private data 2019-09-06 12:47:47 +02:00
bhyve_parse_command.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_process.c lib: Grab write lock when modifying list of domains 2019-09-07 08:22:30 +02:00
bhyve_process.h src/bhyve: use #pragma once in headers 2019-06-13 17:05:08 +02:00
bhyve_utils.h src: honour the RUNSTATEDIR variable in all code 2019-08-27 10:23:13 +01:00
bhyve.conf bhyve: add config file support 2017-03-14 20:46:05 +04:00
libvirtd_bhyve.aug bhyve: add config file support 2017-03-14 20:46:05 +04:00
Makefile.inc.am bhyve: introduce virtbhyved daemon 2019-08-09 14:06:31 +01:00
test_libvirtd_bhyve.aug.in build: use @CONFIG@ instead of ::CONFIG:: in augeas tests 2019-08-09 14:06:31 +01:00