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
7 - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL);
8 + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL);
9 if (virCommandRun(cmd, &status) == 0 && status == 0)
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
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
27 if (strstr(ut.release, "xen") == NULL)
29 - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL);
30 + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL);
31 if (virCommandRun(cmd, &status) != 0 || status != 0) {
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
38 if (strstr(ut.release, "xen") == NULL)
40 - cmd = virCommandNewArgList("/usr/sbin/xend", "status", NULL);
41 + cmd = virCommandNewArgList("/sbin/service", "xend", "status", NULL);
42 if (virCommandRun(cmd, &status) != 0 || status != 0) {