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-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
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
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) {