qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@gmail.com>
To: Marc-Antoine Perennou <Marc-Antoine@perennou.com>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Andreas Färber" <andreas.faerber@web.de>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Aurelien Jarno" <aurelien@aurel32.net>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] qemu-kvm: fix pulseaudio detection in configure
Date: Fri, 24 Jun 2011 17:52:06 +0100	[thread overview]
Message-ID: <BANLkTikPurpWn=b6VVr5dcUPc7wgE-pLWQ@mail.gmail.com> (raw)
In-Reply-To: <BANLkTim_42uV0k7YDQe2fWsDgGshELZ9ruAgiNR-x2365BSsHw@mail.gmail.com>

On Fri, Jun 24, 2011 at 2:31 PM, Marc-Antoine Perennou
<Marc-Antoine@perennou.com> wrote:
> On 10 June 2011 09:14, Markus Armbruster <armbru@redhat.com> wrote:
>> Peter Maydell <peter.maydell@linaro.org> writes:
>>
>>> On 9 June 2011 18:44, Andreas Färber <andreas.faerber@web.de> wrote:
>>>> Am 09.06.2011 um 17:52 schrieb Marc-Antoine Perennou:
>>>>> Manually including stddef.h or replacing NULL by 0 or (void*)0 makes it
>>>>> work.
>>>>
>>>> Then please submit a new patch that explicit includes that header with a
>>>> comment explaining why, so that it doesn't get removed by accident.
>>>
>>> I think the original patch is fine. This configure test isn't
>>> trying to test whether we correctly found some definition of
>>> NULL, it's testing pulseaudio presence. The test code should
>>> be the simplest and most stand-alone code that achieves that.
>>> There's no need to go dragging in extra headers when we don't
>>> even need to be using NULL here anyhow.
>>>
>>> We already have configure tests which use unadorned 0 for
>>> pointers (eg the pthread test), it's legal C, and it works.
>>> I think we should call this a trivial patch and just apply it.
>>>
>>> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
>>
>> I agree with your reasoning.
>>
>
> If you want me to provide a patch with the extra include instead, I
> can, otherwise, could this trivial one get merged so qemu-kvm can be
> built on several systems on which it actually can't ?

It is in the trivial-patches tree now.  qemu.git will pick it up next
and then qemu-kvm.git will pull it in when it syncs up with qemu.git.

Stefan

  reply	other threads:[~2011-06-24 16:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-29 15:59 [Qemu-devel] [PATCH] qemu-kvm: fix pulseaudio detection in configure Marc-Antoine Perennou
2011-05-27  9:00 ` Marc-Antoine Perennou
2011-06-03 20:33 ` Aurelien Jarno
2011-06-03 21:57   ` malc
2011-06-03 22:17     ` Aurelien Jarno
2011-06-03 22:54       ` malc
2011-06-09 15:52         ` Marc-Antoine Perennou
2011-06-09 17:44           ` Andreas Färber
2011-06-09 19:07             ` Peter Maydell
2011-06-10  7:14               ` Markus Armbruster
2011-06-24 13:31                 ` Marc-Antoine Perennou
2011-06-24 16:52                   ` Stefan Hajnoczi [this message]
2011-06-09 18:25   ` Markus Armbruster
2011-06-24 14:49 ` Stefan Hajnoczi

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='BANLkTikPurpWn=b6VVr5dcUPc7wgE-pLWQ@mail.gmail.com' \
    --to=stefanha@gmail.com \
    --cc=Marc-Antoine@perennou.com \
    --cc=andreas.faerber@web.de \
    --cc=armbru@redhat.com \
    --cc=aurelien@aurel32.net \
    --cc=peter.maydell@linaro.org \
    --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).