From: Thomas Huth <thuth@redhat.com>
To: Laurent Vivier <laurent@vivier.eu>, qemu-trivial@nongnu.org
Cc: qemu-block@nongnu.org, qemu-devel@nongnu.org,
Alexander Graf <agraf@suse.de>,
qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>,
John Snow <jsnow@redhat.com>
Subject: Re: [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category
Date: Mon, 28 Sep 2015 12:57:24 +0200 [thread overview]
Message-ID: <56091D14.6070203@redhat.com> (raw)
In-Reply-To: <1443284532-8634-5-git-send-email-laurent@vivier.eu>
On 26/09/15 18:22, Laurent Vivier wrote:
> Grackle is the PCI host controller of oldworld powermac,
> so add it to the bridge category.
>
> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
> ---
> hw/pci-host/grackle.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/hw/pci-host/grackle.c b/hw/pci-host/grackle.c
> index bfe707a..ea31b72 100644
> --- a/hw/pci-host/grackle.c
> +++ b/hw/pci-host/grackle.c
> @@ -146,8 +146,10 @@ static const TypeInfo grackle_pci_info = {
> static void pci_grackle_class_init(ObjectClass *klass, void *data)
> {
> SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
> + DeviceClass *dc = DEVICE_CLASS(klass);
>
> k->init = pci_grackle_init_device;
> + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
> }
Reviewed-by: Thomas Huth <thuth@redhat.com>
next prev parent reply other threads:[~2015-09-28 10:57 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-26 16:22 [Qemu-devel] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices Laurent Vivier
2015-09-26 16:22 ` [Qemu-devel] [PATCH 01/10][TRIVIAL] adb: add to input category Laurent Vivier
2015-09-28 10:44 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 02/10][TRIVIAL] cmd646: add to storage category Laurent Vivier
2015-09-28 10:46 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 03/10][TRIVIAL] escc: add to input category Laurent Vivier
2015-09-28 10:47 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 04/10][TRIVIAL] grackle: add to bridge category Laurent Vivier
2015-09-28 10:57 ` Thomas Huth [this message]
2015-09-26 16:22 ` [Qemu-devel] [PATCH 05/10][TRIVIAL] cuda: " Laurent Vivier
2015-09-26 16:22 ` [Qemu-devel] [PATCH 06/10][TRIVIAL] macio-ide: add to storage category Laurent Vivier
2015-09-28 10:48 ` Thomas Huth
2015-09-28 14:29 ` John Snow
2015-09-26 16:22 ` [Qemu-devel] [PATCH 07/10][TRIVIAL] uninorth: add to bridge category Laurent Vivier
2015-09-28 11:04 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 08/10][TRIVIAL] macio: " Laurent Vivier
2015-09-28 11:05 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 09/10][TRIVIAL] macio-nvram: add to misc category Laurent Vivier
2015-09-28 11:05 ` Thomas Huth
2015-09-26 16:22 ` [Qemu-devel] [PATCH 10/10][TRIVIAL] openpic: " Laurent Vivier
2015-09-28 11:06 ` Thomas Huth
2015-09-30 5:58 ` [Qemu-devel] [Qemu-ppc] [PATCH 00/10][TRIVIAL] Define categories for some PPC devices David Gibson
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=56091D14.6070203@redhat.com \
--to=thuth@redhat.com \
--cc=agraf@suse.de \
--cc=jsnow@redhat.com \
--cc=laurent@vivier.eu \
--cc=pbonzini@redhat.com \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-trivial@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).