From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54126) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTbk-0000ZN-It for qemu-devel@nongnu.org; Wed, 03 Oct 2012 14:23:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJTbj-0003Yx-Iz for qemu-devel@nongnu.org; Wed, 03 Oct 2012 14:23:44 -0400 Received: from mail-oa0-f45.google.com ([209.85.219.45]:41228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJTbj-0003Ym-DY for qemu-devel@nongnu.org; Wed, 03 Oct 2012 14:23:43 -0400 Received: by oagi18 with SMTP id i18so7298433oag.4 for ; Wed, 03 Oct 2012 11:23:42 -0700 (PDT) Sender: fluxion Date: Wed, 3 Oct 2012 13:23:35 -0500 From: Michael Roth Message-ID: <20121003182335.GD16157@illuin> References: <1349285059-5415-1-git-send-email-lcapitulino@redhat.com> <1349285059-5415-3-git-send-email-lcapitulino@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1349285059-5415-3-git-send-email-lcapitulino@redhat.com> Subject: Re: [Qemu-devel] [PATCH 2/3] configure: add --guest-agent-statedir List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: pbonzini@redhat.com, qemu-devel@nongnu.org On Wed, Oct 03, 2012 at 02:24:18PM -0300, Luiz Capitulino wrote: > Defaults to /var/run. > > Signed-off-by: Luiz Capitulino Since this has the effect of changing both the default directory for state and well as the pid file, maybe we should s@state@state/pidfile@ the human-readable descriptions? > --- > configure | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/configure b/configure > index 4cfcdc6..4f3d2ed 100755 > --- a/configure > +++ b/configure > @@ -215,6 +215,7 @@ usb_redir="" > opengl="" > zlib="yes" > qemuga="yes" > +qemuga_statedir="/var/run" > want_tools="yes" > libiscsi="" > coroutine="" > @@ -628,6 +629,8 @@ for opt do > ;; > --sysconfdir=*) sysconfdir="$optarg" > ;; > + --guest-agent-statedir=*) qemuga_statedir="$optarg" > + ;; > --sbindir=*|--sharedstatedir=*|--localstatedir=*|\ > --oldincludedir=*|--datarootdir=*|--infodir=*|--localedir=*|\ > --htmldir=*|--dvidir=*|--pdfdir=*|--psdir=*) > @@ -1022,6 +1025,7 @@ echo " --datadir=PATH install firmware in PATH$confsuffix" > echo " --docdir=PATH install documentation in PATH$confsuffix" > echo " --bindir=PATH install binaries in PATH" > echo " --sysconfdir=PATH install config in PATH$confsuffix" > +echo " --guest-agent-statedir=PATH set Guest Agent state directory to PATH" > echo " --with-confsuffix=SUFFIX suffix for QEMU data inside datadir and sysconfdir [$confsuffix]" > echo " --enable-debug-tcg enable TCG debugging" > echo " --disable-debug-tcg disable TCG debugging (default)" > @@ -3086,6 +3090,7 @@ echo "library directory `eval echo $libdir`" > echo "libexec directory `eval echo $libexecdir`" > echo "include directory `eval echo $includedir`" > echo "config directory `eval echo $sysconfdir`" > +echo "qemu-ga state directory $qemuga_statedir" > if test "$mingw32" = "no" ; then > echo "Manual directory `eval echo $mandir`" > echo "ELF interp prefix $interp_prefix" > @@ -3196,6 +3201,7 @@ echo "qemu_datadir=$qemu_datadir" >> $config_host_mak > echo "qemu_docdir=$qemu_docdir" >> $config_host_mak > echo "CONFIG_QEMU_HELPERDIR=\"$libexecdir\"" >> $config_host_mak > > +echo "CONFIG_QEMUGA_STATEDIR=\"$qemuga_statedir\"" >> $config_host_mak > echo "ARCH=$ARCH" >> $config_host_mak > if test "$debug_tcg" = "yes" ; then > echo "CONFIG_DEBUG_TCG=y" >> $config_host_mak > -- > 1.7.12.315.g682ce8b >