From: "Andreas Färber" <afaerber@suse.de>
To: Alexey Kardashevskiy <aik@ozlabs.ru>, qemu-devel@nongnu.org
Cc: Mike Day <ncmike@ncultra.org>,
qemu-ppc@nongnu.org, Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH 1/4] spapr-pci: convert init() callback to realize()
Date: Thu, 13 Mar 2014 02:45:32 +0100 [thread overview]
Message-ID: <53210DBC.6040908@suse.de> (raw)
In-Reply-To: <1385006938-32515-2-git-send-email-aik@ozlabs.ru>
Am 21.11.2013 05:08, schrieb Alexey Kardashevskiy:
> This converts the old-style init() callback to a new style realize()
> callback as init() now is supposed to do only trivial initialization.
>
> As a part of convertion, this replaces fprintf(stderr) with error_setg()
> as realize() does not "return" any value, instead it puts the extended
> error into **errp.
>
> Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
> ---
> Changes:
> v5:
> * finish_finalize() moved to a separate patch
> ---
> hw/ppc/spapr_pci.c | 44 ++++++++++++++++++++++----------------------
> 1 file changed, 22 insertions(+), 22 deletions(-)
>
> diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
> index 7763149..aeb012d 100644
> --- a/hw/ppc/spapr_pci.c
> +++ b/hw/ppc/spapr_pci.c
> @@ -32,6 +32,7 @@
> #include "exec/address-spaces.h"
> #include <libfdt.h>
> #include "trace.h"
> +#include "qemu/error-report.h"
>
> #include "hw/pci/pci_bus.h"
>
[snip]
Thanks, applied to ppc-next without the above hunk:
https://github.com/afaerber/qemu-cpu/commits/ppc-next
Andreas
--
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply other threads:[~2014-03-13 1:45 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 4:08 [Qemu-devel] [PATCH 0/4] spapr-pci: prepare for vfio Alexey Kardashevskiy
2013-11-21 4:08 ` [Qemu-devel] [PATCH 1/4] spapr-pci: convert init() callback to realize() Alexey Kardashevskiy
2014-03-12 13:20 ` [Qemu-devel] " Mike Day
2014-03-12 13:56 ` Mike Day
2014-03-12 23:25 ` Alexey Kardashevskiy
2014-03-13 1:45 ` Andreas Färber [this message]
2013-11-21 4:08 ` [Qemu-devel] [PATCH 2/4] spapr-pci: introduce a finish_realize() callback Alexey Kardashevskiy
2014-03-12 15:30 ` [Qemu-devel] " Mike Day
2014-03-13 1:56 ` [Qemu-devel] [PATCH 2/4] " Andreas Färber
2014-03-13 7:29 ` Alexey Kardashevskiy
2013-11-21 4:08 ` [Qemu-devel] [PATCH 3/4] spapr-pci: add spapr_pci trace Alexey Kardashevskiy
2014-03-13 1:46 ` Andreas Färber
2014-03-13 7:37 ` Alexey Kardashevskiy
2013-11-21 4:08 ` [Qemu-devel] [PATCH 4/4] spapr-pci: converts fprintf to error_report Alexey Kardashevskiy
2014-03-12 15:41 ` [Qemu-devel] " Mike Day
2014-03-13 1:50 ` [Qemu-devel] [PATCH 4/4] " Andreas Färber
2013-12-05 9:39 ` [Qemu-devel] [PATCH 0/4] spapr-pci: prepare for vfio Alexey Kardashevskiy
2013-12-20 2:47 ` Alexey Kardashevskiy
2014-01-15 7:10 ` Alexey Kardashevskiy
2014-02-12 11:44 ` Alexey Kardashevskiy
2014-03-12 3:33 ` Alexey Kardashevskiy
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=53210DBC.6040908@suse.de \
--to=afaerber@suse.de \
--cc=agraf@suse.de \
--cc=aik@ozlabs.ru \
--cc=ncmike@ncultra.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@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).