qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Roth <mdroth@linux.vnet.ibm.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel@nongnu.org, Alex Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH 2/2] guest-agent: only enable FSFREEZE when it's supported by the kernel
Date: Sat, 23 Jul 2011 18:01:35 -0500	[thread overview]
Message-ID: <4E2B52CF.2090706@linux.vnet.ibm.com> (raw)
In-Reply-To: <1311456361-14162-2-git-send-email-aliguori@us.ibm.com>

On 07/23/2011 04:26 PM, Anthony Liguori wrote:
> Signed-off-by: Anthony Liguori<aliguori@us.ibm.com>
> ---
>   qga/guest-agent-commands.c |   12 +++++++-----
>   1 files changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/qga/guest-agent-commands.c b/qga/guest-agent-commands.c
> index 624972e..30c4068 100644
> --- a/qga/guest-agent-commands.c
> +++ b/qga/guest-agent-commands.c
> @@ -10,15 +10,17 @@
>    * See the COPYING file in the top-level directory.
>    */
>
> -#if defined(__linux__)
> -#define CONFIG_FSFREEZE
> -#endif
> -
>   #include<glib.h>
> -#if defined(CONFIG_FSFREEZE)
> +
> +#if defined(__linux__)
>   #include<mntent.h>
>   #include<linux/fs.h>
> +
> +#if defined(__linux__)&&  defined(FIFREEZE)
> +#define CONFIG_FSFREEZE
>   #endif
> +#endif
> +
>   #include<sys/types.h>
>   #include<sys/ioctl.h>
>   #include "qga/guest-agent-core.h"

Much more sensible that the compile test I was doing :)

  reply	other threads:[~2011-07-23 23:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-23 21:26 [Qemu-devel] [PATCH 1/2] qemu-ga: remove dependency on gio and gthread Anthony Liguori
2011-07-23 21:26 ` [Qemu-devel] [PATCH 2/2] guest-agent: only enable FSFREEZE when it's supported by the kernel Anthony Liguori
2011-07-23 23:01   ` Michael Roth [this message]
2011-07-23 22:57 ` [Qemu-devel] [PATCH] qemu-ga: remove dependency on gio and gthread Michael Roth
2011-07-23 23:00 ` [Qemu-devel] [PATCH 1/2] " Michael Roth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E2B52CF.2090706@linux.vnet.ibm.com \
    --to=mdroth@linux.vnet.ibm.com \
    --cc=agraf@suse.de \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).