CA-99034: Fix unit for DS:memory_internal_free.

Imported from xen-api.git 9a51d817f9d850c62932b10e20ae70d3f3481708

Signed-off-by: Siddharth Vinothkumar <siddharth.vinothkumar@citrix.com>
Imported-by: John Else <john.else@citrix.com>
Merge pull request #6 from johnelse/ca-99034

Fix unit for DS:memory_internal_free.
CP-4056: Update where rrdd looks in sysfs for VBDs

With the move to Linux 3.x kernel the paths that were:

    /sys/device/xen-backend/vbd-xx-xxxxx/...

have now moved up one directory to

    /sys/device/vbd-xx-xxxxx/...

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Use syslog from xcp-idl

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Read write-related stats from correct file

The metrics wr_reqs, wr_avg_usecs and wr_max_usecs were being read from the
rd_usecs file and not the wr_usecs file.

Signed-off-by: Si Beaumont <simon.beaumont@citrix.com>
Merge pull request #7 from simonjbeaumont/cp-4056

Update where rrdd looks in sysfs for VBDs
Release 0.9.2

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #8 from djs55/update-to-0.9.2

Release 0.9.2
Create an RRDD plugin functor, and use it to create the local plugin module.

Signed-off-by: John Else <john.else@citrix.com>
Add skeleton Interdomain module.

Signed-off-by: John Else <john.else@citrix.com>
Hook the old API calls up to the functorised versions.

Signed-off-by: John Else <john.else@citrix.com>
Remove unneeded code.

Signed-off-by: John Else <john.else@citrix.com>
Add an argument to open_handle.

This is needed so that the grant reference gets passed to the
interdomain version of open_handle.

Signed-off-by: John Else <john.else@citrix.com>
Implement Interdomain.open_handle

Signed-off-by: John Else <john.else@citrix.com>
Implement Interdomain.read_data

Signed-off-by: John Else <john.else@citrix.com>
Compile data sources from both Local and Interdomain plugins.

Signed-off-by: John Else <john.else@citrix.com>
Clean up rrdd plugin handles on deregister

Signed-off-by: John Else <john.else@citrix.com>
Rewrite plugin module to use rrd-transport

Signed-off-by: John Else <john.else@citrix.com>
Update Rrdd_server to new interdomain plugin interface

Signed-off-by: John Else <john.else@citrix.com>
Merge pull request #9 from johnelse/xenostats

Integrate rrd-transport and add interdomain plugin capability