From: Ian Campbell Subject: Re: [PATCH] docs: canonicalize representation of boolean type in xl.cfg Date: Tue, 7 May 2013 13:48:03 +0100 Message-ID: <1367930883.26321.110.camel@zakaz.uk.xensource.com> References: <1367926134-3148-1-git-send-email-wei.liu2@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1367926134-3148-1-git-send-email-wei.liu2@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu Cc: George Dunlap , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Tue, 2013-05-07 at 12:28 +0100, Wei Liu wrote: > The representations of boolean type in xl docs are inconsistent. This patch > replaces occurences of "1", "0", "[Tt]rue" and "[Ff]alse" with "[Tt]rue (1)" > and "[Ff]alse (0)". > > Signed-off-by: Wei Liu Acked-by: Ian Campbell George, I assume docs updates are still mostly fair game until later rcs, taking into account the "microfreeze" while we actually put rc1 together, of course. Ian. > --- > docs/man/xl.cfg.pod.5 | 30 ++++++++++++++++-------------- > 1 file changed, 16 insertions(+), 14 deletions(-) > > diff --git a/docs/man/xl.cfg.pod.5 b/docs/man/xl.cfg.pod.5 > index f8b4576..e0c3bb2 100644 > --- a/docs/man/xl.cfg.pod.5 > +++ b/docs/man/xl.cfg.pod.5 > @@ -460,12 +460,13 @@ Specifies that MSI-INTx translation should be turned on for the PCI > device. When enabled, MSI-INTx translation will always enable MSI on > the PCI device regardless whether the guest uses INTx or MSI. Some > device drivers, such as NVIDIA's, detect an inconsistency and do not > -function when this option is enabled. Therefore the default is 0. > +function when this option is enabled. Therefore the default is false (0). > > =item B > > (HVM only) Specifies that the VM should be able to program the > -D0-D3hot power management states for the PCI device. 0 by default. > +D0-D3hot power management states for the PCI device. False (0) by > +default. > > =back > > @@ -600,7 +601,7 @@ specific what meaning this has). > =item B > > Selects whether to expose the host e820 (memory map) to the guest via > -the virtual e820. When this option is false the guest pseudo-physical > +the virtual e820. When this option is false (0) the guest pseudo-physical > address space consists of a single contiguous RAM region. When this > option is specified the virtual e820 instead reflects the host e820 > and contains the same PCI holes. The total amount of RAM represented > @@ -612,8 +613,8 @@ opportunity to set aside the required part of its pseudo-physical > address space in order to provide address space to map passedthrough > PCI devices. It is guest Operating System dependent whether this > option is required, specifically it is required when using a mainline > -Linux ("pvops") kernel. This option defaults to true if any PCI > -passthrough devices are configured and false otherwise. If you do not > +Linux ("pvops") kernel. This option defaults to true (1) if any PCI > +passthrough devices are configured and false (0) otherwise. If you do not > configure any passthrough devices at domain creation time but expect > to hotplug devices later then you should set this option. Conversely > if your particular guest kernel does not require this behaviour then > @@ -737,12 +738,12 @@ disable ACPI for compatibility with some guest Operating Systems. > =item B > > Include the S3 (suspend-to-ram) power state in the virtual firmware > -ACPI table. 1 by default. > +ACPI table. True (1) by default. > > =item B > > Include S4 (suspend-to-disk) power state in the virtual firmware ACPI > -table. 1 by default. > +table. True (1) by default. > > =item B > > @@ -895,11 +896,12 @@ Please see F for more information on this option. > > =item B > > -Set the real time clock to local time or to UTC. 0 by default, i.e. set to UTC. > +Set the real time clock to local time or to UTC. False (0) by default, > +i.e. set to UTC. > > =item B > > -Set the real time clock offset in seconds. 0 by default. > +Set the real time clock offset in seconds. False (0) by default. > > > =item B > @@ -907,7 +909,7 @@ Set the real time clock offset in seconds. 0 by default. > Specifies that periodic Virtual Platform Timers should be aligned to > reduce guest interrupts. Enabling this option can reduce power > consumption, especially when a guest uses a high timer interrupt > -frequency (HZ) values. The default is 1. > +frequency (HZ) values. The default is true (1). > > =item B > > @@ -1009,7 +1011,7 @@ If B is set less than 128MB, an error will be triggered. > =item B > > Select a standard VGA card with VBE (VESA BIOS Extensions) as the > -emulated graphics device. The default is false which means to emulate > +emulated graphics device. The default is false (0) which means to emulate > a Cirrus Logic GD5446 VGA card. If your guest supports VBE 2.0 or > later (e.g. Windows XP onwards) then you should enable this. > stdvga supports more video ram and bigger resolutions than Cirrus. > @@ -1071,7 +1073,7 @@ Simple DirectMedia Layer). The default is not to enable this mode. > > Enable OpenGL acceleration of the SDL display. Only effects machines > using B and only if the > -device-model was compiled with OpenGL support. 0 by default. > +device-model was compiled with OpenGL support. False (0) by default. > > =item B > > @@ -1112,7 +1114,7 @@ have not been supported. > =item B > > Enable client connection without password. When disabled, spicepasswd > -must be set. The default is 0. > +must be set. The default is false (0). > > =item B > > @@ -1120,7 +1122,7 @@ Specify the ticket password which is used by a client for connection. > > =item B > > -Whether SPICE agent is used for client mouse mode. The default is true > +Whether SPICE agent is used for client mouse mode. The default is true (1) > (turn on) > > =back