sysinfo: implement virsh support

* tools/virsh.c (cmdSysinfo): New function.
(hostAndHypervisorCmds): Add it.
* tools/virsh.pod: Document it.
This commit is contained in:
Eric Blake
2011-02-08 19:29:48 -07:00
parent 5c8dedddcc
commit c82be0530e
2 changed files with 37 additions and 1 deletions
+5
View File
@@ -132,6 +132,7 @@ group as an option. For example:
freecell NUMA free memory
hostname print the hypervisor hostname
qemu-monitor-command Qemu Monitor Command
sysinfo print the hypervisor sysinfo
uri print the hypervisor canonical URI
To display detailed information for a specific command, give its name as the
@@ -227,6 +228,10 @@ Prints the hypervisor canonical URI, can be useful in shell mode.
Print the hypervisor hostname.
=item B<sysinfo>
Print the XML representation of the hypervisor sysinfo, if available.
=item B<nodeinfo>
Returns basic information about the node, like number and type of CPU,