Received: from eggs.gnu.org ([208.118.235.92]:50297) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SALZO-0004J9-JO for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SALZH-0003Bf-U0 for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:27:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:65141) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SALZH-0003A2-LR for qemu-devel@nongnu.org; Wed, 21 Mar 2012 09:27:11 -0400 Date: Wed, 21 Mar 2012 10:27:07 -0300 From: Eduardo Habkost Message-ID: <20120321132707.GI9375@otherpad.lan.raisama.net> References: <1332274504-10437-1-git-send-email-ehabkost@redhat.com> <1332274504-10437-3-git-send-email-ehabkost@redhat.com> <4F69CD0E.5090809@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F69CD0E.5090809@redhat.com> Subject: Re: [Qemu-devel] [PATCH 2/3] qemu-options.hx: refer to confdir instead of sysconfdir on docs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org, Anthony Liguori On Wed, Mar 21, 2012 at 01:43:58PM +0100, Paolo Bonzini wrote: > Il 20/03/2012 21:15, Eduardo Habkost ha scritto: > > The current docs are wrong: ${sysconfdir} is (by default) /etc, > > ${confdir} is (by default) /etc/qemu, that's where the config files are > > stored. > > > > Signed-off-by: Eduardo Habkost > > --- > > qemu-options.hx | 4 ++-- > > 1 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/qemu-options.hx b/qemu-options.hx > > index daefce3..39578f1 100644 > > --- a/qemu-options.hx > > +++ b/qemu-options.hx > > @@ -2676,8 +2676,8 @@ DEF("nodefconfig", 0, QEMU_OPTION_nodefconfig, > > STEXI > > @item -nodefconfig > > @findex -nodefconfig > > -Normally QEMU loads a configuration file from @var{sysconfdir}/qemu.conf and > > -@var{sysconfdir}/target-@var{ARCH}.conf on startup. The @code{-nodefconfig} > > +Normally QEMU loads a configuration file from @var{confdir}/qemu.conf and > > +@var{confdir}/target-@var{ARCH}.conf on startup. The @code{-nodefconfig} > > option will prevent QEMU from loading these configuration files at startup. > > ETEXI > > DEF("trace", HAS_ARG, QEMU_OPTION_trace, > > There's no definition of confdir and sysconfdir in the documentation. > Perhaps writing @var{sysconfdir}/qemu/qemu.conf is better for now? Maybe it would be better, yes, as it gives a better hint for the user of where the config directory may be. But it's still not very clear for the user. Is it possible to expand build-time config variables inside the documentation so they show the full path? I have zero knowledge about texinfo, and even less about the texinfo conversion scripts Qemu uses (do they support the full texinfo language, or just a subset of it?). -- Eduardo