|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Fix xentop on pv-ops domain0
Hi,
On Mon, 2009-07-06 at 17:49 +0200, Christoph Egger wrote:
> This patch is good.
>
The following is going to break xenstat on almost every forward port of
2.6.18.8 (including Andy's 2.6.30 vanilla port):
+ if (strncmp(system_info.release, "2.6.18.8-xen",
+ sizeof("2.6.18.8-xen")) == 0)
+ sysfs_vbd_path = "/sys/devices/xen-backend/";
+ else
+ sysfs_vbd_path = "/sys/devices/";
+
I would really recommend considering just
using /sys/bus/xen-backend/devices, as Stephen noted.
Cheers,
--Tim
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|