From: Stefan Hajnoczi <stefanha@gmail.com>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: "Anthony Liguori" <aliguori@us.ibm.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
lersek@redhat.com, "Jason Wang" <jasowang@redhat.com>,
qemu-devel@nongnu.org, "Stefan Hajnoczi" <stefanha@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Giuseppe Lettieri" <g.lettieri@iet.unipi.it>,
"Luigi Rizzo" <rizzo@iet.unipi.it>,
"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH v5 0/2] e1000: add interrupt mitigation support
Date: Thu, 1 Aug 2013 11:38:56 +0200 [thread overview]
Message-ID: <20130801093856.GC29838@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <CA+_eA9ic-mB2X6Zb0HDm1fyY-0mMMqZmJ7HEo+AzoZapQC22xQ@mail.gmail.com>
On Wed, Jul 31, 2013 at 03:39:05PM +0200, Vincenzo Maffione wrote:
> Ok, but it's unclear how do you prefer to create and "empty"
> PC_COMPAT_1_6 in Patch 1.
> If you want to keep this declaration form
>
> [...]
> .compat_props = (GlobalProperty[]) {
> PC_COMPAT_1_6,
> { /* end of list */ }
> },
> [...]
>
> in the two pc_*_machine_v1_6 structs, I'm forced to define
>
> #define PC_COMPAT_1_6 { /*empty*/ }
>
> but then I can't extend PC_COMPAT_1_5 with PC_COMPAT_1_6 as "header"
> (like you guys do for PC_COMPAT_1_5 and PC_COMPAT_1_4), because
> otherwise PC_COMPAT_1_6 would act as a premature terminator for
> PC_COMPAT_1_5 (right?).
>
> Should I extend PC_COMPAT_1_5 with PC_COMPAT_1_6 as a "tail", or
> should I avoid extending it in the Patch 1, and do the extension in
> Patch 2 (when I have a non-empty PC_COMPAT_1_6)?
You are right, (GlobalProperty[]) {, {...}} is not valid syntax. In
that case I would switch PC_COMPAT_1_6 into the e1000 interrupt
mitigation patch. That way the patches are bisectable.
You can still introduce the QEMU 1.7 pc machine type as a separate
patch if you wish, but I no longer see a big win if PC_COMPAT_1_6 cannot
be isolated from the e1000 change.
Andreas: Do you agree to do everything in a single patch?
Stefan
next prev parent reply other threads:[~2013-08-01 9:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-31 8:13 [Qemu-devel] [PATCH v5 0/2] e1000: add interrupt mitigation support Vincenzo Maffione
2013-07-31 8:13 ` [Qemu-devel] [PATCH v5 1/2] " Vincenzo Maffione
2013-07-31 10:05 ` Andreas Färber
2013-07-31 8:13 ` [Qemu-devel] [PATCH v5 2/2] i386/pc: introducing compat_props for pc-1.6 Vincenzo Maffione
2013-07-31 10:00 ` Andreas Färber
2013-07-31 9:56 ` [Qemu-devel] [PATCH v5 0/2] e1000: add interrupt mitigation support Andreas Färber
2013-07-31 10:19 ` Vincenzo Maffione
2013-07-31 11:20 ` Stefan Hajnoczi
2013-07-31 11:26 ` Andreas Färber
2013-07-31 13:39 ` Vincenzo Maffione
2013-08-01 9:38 ` Stefan Hajnoczi [this message]
2013-08-01 14:07 ` Andreas Färber
2013-08-01 20:17 ` Vincenzo Maffione
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=20130801093856.GC29838@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=g.lettieri@iet.unipi.it \
--cc=jasowang@redhat.com \
--cc=lersek@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
--cc=stefanha@redhat.com \
--cc=v.maffione@gmail.com \
/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).