summaryrefslogtreecommitdiff
path: root/src/basic
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-11-12 16:14:41 +0100
committerGitHub <noreply@github.com>2017-11-12 16:14:41 +0100
commitf886559e55ad2de80e8f7757d79a1833262cc08c (patch)
tree2a97f4e416224ca5717b4e405c057a58a5878f38 /src/basic
parent7f749487c5fa01c8d41149699af5632955bd19a3 (diff)
parent74b1731c756f2c8c9eb9577465250eb22f697506 (diff)
downloadsystemd-f886559e55ad2de80e8f7757d79a1833262cc08c.tar.gz
Merge pull request #7186 from poettering/track-deps
rework unit dependency data structure to track why deps get created
Diffstat (limited to 'src/basic')
-rw-r--r--src/basic/virt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/virt.c b/src/basic/virt.c
index d5665edc1b..bacaabc5c0 100644
--- a/src/basic/virt.c
+++ b/src/basic/virt.c
@@ -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) {