]>
Commit | Line | Data |
---|---|---|
c8f65936 JR |
1 | --- libvirt-0.9.10/src/xen/xen_driver.c~ 2012-02-13 08:06:23.000000000 +0100 |
2 | +++ libvirt-0.9.10/src/xen/xen_driver.c 2012-03-06 14:03:45.273637374 +0100 | |
3 | @@ -240,7 +240,7 @@ | |
4 | int status; | |
5 | int ret = 0; | |
6 | ||
7 | - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL); | |
8 | + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL); | |
9 | if (virCommandRun(cmd, &status) == 0 && status == 0) | |
10 | ret = 1; | |
11 | virCommandFree(cmd); | |
12 | --- libvirt-0.9.10/src/libxl/libxl_driver.c~ 2012-02-06 03:50:50.000000000 +0100 | |
13 | +++ libvirt-0.9.10/src/libxl/libxl_driver.c 2012-03-06 14:27:35.983701925 +0100 | |
14 | @@ -840,7 +840,7 @@ | |
15 | } | |
16 | ||
17 | /* Disable driver if legacy xen toolstack (xend) is in use */ | |
18 | - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL); | |
19 | + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL); | |
20 | if (virCommandRun(cmd, &status) == 0 && status == 0) { | |
21 | VIR_INFO("Legacy xen tool stack seems to be in use, disabling " | |
22 | "libxenlight driver."); | |
23 | --- libvirt-0.9.10/tests/statstest.c~ 2011-11-22 02:52:24.000000000 +0100 | |
24 | +++ libvirt-0.9.10/tests/statstest.c 2012-03-06 14:36:59.970394039 +0100 | |
25 | @@ -56,7 +56,7 @@ | |
26 | uname(&ut); | |
27 | if (strstr(ut.release, "xen") == NULL) | |
28 | return EXIT_AM_SKIP; | |
29 | - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL); | |
30 | + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL); | |
31 | if (virCommandRun(cmd, &status) != 0 || status != 0) { | |
32 | virCommandFree(cmd); | |
33 | return EXIT_AM_SKIP; | |
34 | --- libvirt-0.9.10/tests/reconnect.c~ 2011-11-22 02:52:24.000000000 +0100 | |
35 | +++ libvirt-0.9.10/tests/reconnect.c 2012-03-06 14:37:27.777061955 +0100 | |
36 | @@ -29,7 +29,7 @@ | |
37 | uname(&ut); | |
38 | if (strstr(ut.release, "xen") == NULL) | |
39 | return EXIT_AM_SKIP; | |
40 | - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL); | |
41 | + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL); | |
42 | if (virCommandRun(cmd, &status) != 0 || status != 0) { | |
43 | virCommandFree(cmd); | |
44 | return EXIT_AM_SKIP; |