diff options
author | George Dunlap <george.dunlap@eu.citrix.com> | 2012-11-23 11:06:14 +0000 |
---|---|---|
committer | George Dunlap <george.dunlap@eu.citrix.com> | 2012-11-23 11:06:14 +0000 |
commit | 18cd92eed4d68421ecaf55469b1d00b641582d0d (patch) | |
tree | 96922b531844646b3e85fc2fd263fe0e8581fb28 /tools/xenpmd | |
parent | d0d4635d034f202bb401a6efa3ba61530f3854ab (diff) | |
download | xen-18cd92eed4d68421ecaf55469b1d00b641582d0d.tar.gz xen-18cd92eed4d68421ecaf55469b1d00b641582d0d.tar.bz2 xen-18cd92eed4d68421ecaf55469b1d00b641582d0d.zip |
xl: Suppress spurious warning message for cpupool-list
libxl_cpupool_list() enumerates the cpupools by "probing": calling
cpupool_info, starting at 0 and stopping when it gets an error. However,
cpupool_info will print an error when the call to xc_cpupool_getinfo() fails,
resulting in every xl command that uses libxl_list_cpupool (such as
cpupool-list) printing that error message spuriously.
Since at the moment the times we want to print the message correspond
with the use of the existing "exact" parameter, use it to decide
whether to print the message or not.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/xenpmd')
0 files changed, 0 insertions, 0 deletions