]> git.pld-linux.org Git - packages/libvirt.git/blob - libvirt-xend.patch
218dd5c4e7be72d13facb39b80818549c5267c5e
[packages/libvirt.git] / libvirt-xend.patch
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-1.1.3/src/libxl/libxl_driver.c.orig 2013-10-22 20:46:08.195357964 +0200
13 +++ libvirt-1.1.3/src/libxl/libxl_driver.c      2013-10-22 21:17:55.935277904 +0200
14 @@ -797,7 +797,7 @@
15      }
16  
17      /* Don't load 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;
This page took 0.049073 seconds and 2 git commands to generate.