qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: Paul Brook <paul@codesourcery.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add new function qemu_register_machines
Date: Fri, 22 May 2009 12:08:22 +0200	[thread overview]
Message-ID: <4A167996.6030200@mail.berlios.de> (raw)
In-Reply-To: <200905212333.21133.paul@codesourcery.com>

Paul Brook schrieb:
> On Thursday 21 May 2009, Stefan Weil wrote:
>> Add new function qemu_register_machines.
>>
>> The patch removes the unused prototype register_machines
>> and adds a new function which makes registration of
>> more than one machine a little easier.
>
> I don't see this as an improvement.
>
> Paul

Hi Paul,

well, it's a matter of personal taste whether you prefer
to have one or two interfaces for machine registration.

The new function is an improvement if you want to reduce
lines of code and binary code size.

Removing unused entries like register_machines from
header files is also an improvement. This part of
my patch is fixed now in QEMU HEAD, thanks Anthony!

And adding "static" to a machine declaration which is
only used locally is also an improvement (hw/spitz.c).

I assume that you agree that those last two points are
an improvement.

So the patch improves two details and adds something
where people disagree about its usefulness.

What now? Will the patch be rejected because you
don't see an improvement? Will you fix the missing
"static" yourself? Do you want a new patch without
qemu_register_machines? Or a new patch which uses
qemu_register_machines for all files with more than
one machine?

Your short feedback is not really helpful because there
remain too many questions.

Stefan

  reply	other threads:[~2009-05-22 10:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-21 18:26 [Qemu-devel] [PATCH] Add new function qemu_register_machines Stefan Weil
2009-05-21 19:03 ` Anthony Liguori
2009-05-21 19:28   ` Stefan Weil
2009-05-21 20:13     ` [Qemu-devel] " Jan Kiszka
2009-05-21 20:19       ` Stefan Weil
2009-05-21 20:27         ` Jan Kiszka
2009-05-21 20:30           ` Anthony Liguori
2009-05-21 22:33 ` [Qemu-devel] " Paul Brook
2009-05-22 10:08   ` Stefan Weil [this message]
2009-05-22 11:59     ` Paul Brook

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=4A167996.6030200@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=aliguori@us.ibm.com \
    --cc=paul@codesourcery.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).