xenstat: Use local domain names
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 13 Mar 2012 15:40:42 +0000 (15:40 +0000)
committerDaniel De Graaf <dgdegra@tycho.nsa.gov>
Tue, 13 Mar 2012 15:40:42 +0000 (15:40 +0000)
commit814babf9d093b80243201258f422983d01bd9368
tree299c7ac68c94af2a6f8dfca613b73b05f660298b
parentbf321201462ccf313c716e8067ed6795f405182d
xenstat: Use local domain names

The domain name stored in /local/domain/$domid/name is simpler to
access and is the only domain name modified by "xl rename". Use this
domain name in libxenstat's reporting.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/xenstat/libxenstat/src/xenstat.c