Merge pull request #7186 from poettering/track-deps

rework unit dependency data structure to track why deps get created
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2017-11-12 16:14:41 +01:00
committed by GitHub
36 changed files with 1029 additions and 475 deletions
+2 -2
View File
@@ -216,6 +216,7 @@ static int detect_vm_dmi(void) {
}
static int detect_vm_xen(void) {
/* Check for Dom0 will be executed later in detect_vm_xen_dom0
Thats why we dont check the content of /proc/xen/capabilities here. */
if (access("/proc/xen/capabilities", F_OK) < 0) {
@@ -224,8 +225,7 @@ static int detect_vm_xen(void) {
}
log_debug("Virtualization XEN found (/proc/xen/capabilities exists)");
return VIRTUALIZATION_XEN;
return VIRTUALIZATION_XEN;
}
static bool detect_vm_xen_dom0(void) {