From: Anthony Liguori <anthony@codemonkey.ws>
To: qemu-devel@nongnu.org
Cc: Laurent Vivier <Laurent.Vivier@bull.net>
Subject: Re: [Qemu-devel] [PATCH 2/2] Introduce #define QEMU_ASYNC_EVENTLOOP to simplify #ifdefs
Date: Sat, 06 Sep 2008 21:45:43 -0500 [thread overview]
Message-ID: <48C34057.4000402@codemonkey.ws> (raw)
In-Reply-To: <18615.49630.968849.783895@mariner.uk.xensource.com>
Ian Jackson wrote:
> Anthony Liguori writes ("Re: [Qemu-devel] [PATCH 2/2] Introduce #define QEMU_ASYNC_EVENTLOOP to simplify #ifdefs"):
>
>> I don't understand why we need two defines in the first place. I
>> noticed in the Makefile that we have rules to build qemu-nbd- objects
>> and qemu-img- objects, but I don't see why that should be necessary.
>>
>
> Well, the original #define was called QEMU_IMG and the objects were
> called qemu-img-*. Surely we didn't expect Laurent to reuse those ?
> The names clearly indicated not to.
>
Right, I can't see a reason why we would need to compile a single object
different for qemu-img and qemu-nbd. I think there's something fowl there.
> Perhaps it would be better to reorganise this some more and have
> qemu-syncioutil-*.o but I think to avoid the best being the enemy of
> the good I would argue that my patch should be applied in the
> meantime.
>
Half solutions often mask the underlying problem because people think
it's fixed. I only think it's appropriate to do this sort of thing if
the amount of work to do it right is prohibitively high. In this case,
someone just has to do a quick audit of the Makefile and respective .c
files or Laurent just needs to explain why he did it that way :-)
Regards,
Anthony Liguori
> Ian.
>
>
>
next prev parent reply other threads:[~2008-09-07 2:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-26 14:21 [Qemu-devel] [PATCH 1/2] Use fd signal trick to break us out of select; do not sigwait Ian Jackson
2008-08-26 14:42 ` [Qemu-devel] [PATCH 2/2] Introduce #define QEMU_ASYNC_EVENTLOOP to simplify #ifdefs Ian Jackson
2008-08-28 20:18 ` Anthony Liguori
2008-08-29 9:31 ` Ian Jackson
2008-09-07 2:45 ` Anthony Liguori [this message]
2008-08-28 20:16 ` [Qemu-devel] [PATCH 1/2] Use fd signal trick to break us out of select; do not sigwait Anthony Liguori
2008-08-29 9:25 ` Ian Jackson
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=48C34057.4000402@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=Laurent.Vivier@bull.net \
--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).