diff --git a/ChangeLog b/ChangeLog index ea6feb4b62..c9d6ee3fbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Sep 25 13:37:42 IST 2008 Mark McLoughlin + + * docs/virsh.pod: fixup some minor issues - e.g. bogus + references to "xm" + Tue Sep 23 22:45:47 CEST 2008 Daniel Veillard * configure.in libvirt.spec.in NEWS docs/*: release of libvirt-0.4.6 diff --git a/docs/virsh.pod b/docs/virsh.pod index 65e9dbde6c..0715e5c524 100644 --- a/docs/virsh.pod +++ b/docs/virsh.pod @@ -148,65 +148,62 @@ B list Name is the name of the domain. ID the domain numeric id. - State is the run state (see below). - -=item B optional I - -Prints the available amount of memory on the machine or within a -NUMA cell if I is provided. +State is the run state (see below). =over 4 B +The State field lists 6 states for a domain, and which ones the +current domain is in. -The State field lists 6 states for a Xen Domain, and which ones the -current Domain is in. - -=item B +=item B The domain is currently running on a CPU -=item B +=item B -The domain is blocked, and not running or runnable. This can be caused +The domain is idle, and not running or runnable. This can be caused because the domain is waiting on IO (a traditional wait state) or has gone to sleep because there was nothing else for it to do. -=item B

+=item B The domain has been paused, usually occurring through the administrator -running B. When in a paused state the domain will still +running B. When in a paused state the domain will still consume allocated resources like memory, but will not be eligible for -scheduling by the Xen hypervisor. +scheduling by the hypervisor. -=item B +=item B The domain is in the process of shutting down, i.e. the guest operating system has been notified and should be in the process of stopping its operations gracefully. -=item B +=item B The domain has crashed, which is always a violent ending. Usually this state can only occur if the domain has been configured not to -restart on crash. See L for more info. +restart on crash. -=item B +=item B The domain is in process of dying, but hasn't completely shutdown or crashed. =back +=item B optional I + +Prints the available amount of memory on the machine or within a +NUMA cell if I is provided. + =head1 DOMAIN COMMANDS The following commands manipulate domains directly, as stated previously most commands take domain-id as the first parameter. The I can be specified as an short integer, a name or a full UUID. -=over 4 - =item B optional I<--disable> I Configure a domain to be automatically started at boot. @@ -219,7 +216,7 @@ Connect the virtual serial console for the guest. =item B I -Create a domain from an XML an easy way to create one if you have a pre-existing xen guest created via B create . +Create a domain from an XML . An easy way to create the XML is to use the B command to obtain the definition of a pre-existing guest. B @@ -303,9 +300,8 @@ command run from the console. The command returns as soon as it has executed the reboot action, which may be significantly before the domain actually reboots. -For xen vm the behavior of what happens to a domain when it reboots is set by the -I parameter of the xmdomain.cfg file when the domain was -created. +The exact behavior of a domain when it reboots is set by the +I parameter in the domain's XML definition. =item B I @@ -360,9 +356,8 @@ to perform graceful shutdown, so there is no guarantee that it will succeed, and may take a variable length of time depending on what services must be shutdown in the domain. -For a xen guest vm the behavior of what happens to a domain when it reboots is set by the -I parameter of the xmdomain.cfg file when the domain was -created. +The exact behavior of a domain when it shuts down is set by the +I parameter in the domain's XML definition. =item B I @@ -404,8 +399,6 @@ and I is a comma separated list of physical CPU numbers. Output the IP address and port number for the VNC display. If the information is not available the processes will provide an exit code of 1. -=back - =head1 DEVICES COMMANDS The following commands manipulate devices associated to domains. @@ -414,8 +407,6 @@ To better understand the values allowed as options for the command reading the documentation at L on the format of the device sections to get the most accurate set of accepted values. -=over 4 - =item B I I Attach a device to the domain, using a device definition in an XML file. @@ -456,8 +447,6 @@ I can be either I to indicate a physical network device or I option to distinguish between the interfaces if more than one are present on the domain. -=back - =head1 VIRTUAL NETWORKS COMMANDS The following commands manipulate networks. Libvirt has the capability to @@ -467,8 +456,6 @@ see the documentation at L . A lot of the command for virtual networks are similar to the one used for domains, but the way to name a virtual network is either by its name or UUID. -=over 4 - =item B I optional I<--disable> Configure a virtual network to be automatically started at boot. @@ -528,29 +515,23 @@ Undefine the configuration for an inactive network. Convert a network name to network UUID. -=back - =head1 ENVIRONMENT -=over 4 - =item VIRSH_DEFAULT_CONNECT_URI The hypervisor to connect to by default. Set this to a URI, in the same format as accepted by the B option. -=back - =head1 SEE ALSO -L, L, L , L +L, L, L, L, L, L =head1 AUTHOR Andrew Puch Daniel Veillard - Based on the xm man paged by + Based on the xm man page by: Sean Dague Daniel Stekloff