From: Blue Swirl <blauwirbel@gmail.com>
To: Alexander Graf <agraf@suse.de>
Cc: Scott Wood <scottwood@freescale.com>,
"Edgar E. Iglesias" <edgar.iglesias@gmail.com>,
Liu Yu <yu.liu@freescale.com>,
QEMU-devel Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH 6/6] PPC: Qdev'ify e500 pci
Date: Wed, 4 May 2011 22:08:48 +0300 [thread overview]
Message-ID: <BANLkTi=rUPUzsryoB-hLt4osrF_sQ53qJQ@mail.gmail.com> (raw)
In-Reply-To: <1304348602-28907-7-git-send-email-agraf@suse.de>
On Mon, May 2, 2011 at 6:03 PM, Alexander Graf <agraf@suse.de> wrote:
> The e500 PCI controller isn't qdev'ified yet. This leads to severe issues
> when running with -drive.
>
> To be able to use a virtio disk with an e500 VM, let's convert the PCI
> controller over to qdev.
>
> Signed-off-by: Alexander Graf <agraf@suse.de>
>
> ---
>
> v2 -> v3:
>
> - rebase to current code base
> - fix endian issue
> - use sysbus helpers
> ---
> hw/ppce500_pci.c | 112 +++++++++++++++++++++++++++++++++++-------------------
> 1 files changed, 73 insertions(+), 39 deletions(-)
>
> diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c
> index 83a20e4..88bc759 100644
> --- a/hw/ppce500_pci.c
> +++ b/hw/ppce500_pci.c
> @@ -73,11 +73,11 @@ struct pci_inbound {
> };
>
> struct PPCE500PCIState {
> + PCIHostState pci_state;
> struct pci_outbound pob[PPCE500_PCI_NR_POBS];
> struct pci_inbound pib[PPCE500_PCI_NR_PIBS];
> uint32_t gasket_time;
> - PCIHostState pci_state;
> - PCIDevice *pci_dev;
> + uint64_t base_addr;
This does not seem to be used. Also devices shouldn't care about their
base addresses.
next prev parent reply other threads:[~2011-05-04 19:09 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-02 15:03 [Qemu-devel] [PATCH 0/6] PPC: Add FSL (e500) MMU emulation v3 Alexander Graf
2011-05-02 15:03 ` [Qemu-devel] [PATCH 1/6] PPC: Make MPC8544DS obey -cpu switch Alexander Graf
2011-05-02 15:03 ` [Qemu-devel] [PATCH 2/6] PPC: Make MPC8544DS emulation work w/o KVM Alexander Graf
2011-05-02 15:03 ` [Qemu-devel] [PATCH 3/6] PPC: Add GS MSR definition Alexander Graf
2011-05-02 15:03 ` [Qemu-devel] [PATCH 4/6] PPC: Add another 64 bits to instruction feature mask Alexander Graf
2011-05-02 15:03 ` [Qemu-devel] [PATCH 5/6] PPC: Implement e500 (FSL) MMU Alexander Graf
2011-05-03 19:25 ` Scott Wood
2011-05-06 10:01 ` Alexander Graf
2011-05-06 17:40 ` Scott Wood
2011-05-06 18:33 ` Alexander Graf
2011-05-06 18:40 ` Scott Wood
2011-05-02 15:03 ` [Qemu-devel] [PATCH 6/6] PPC: Qdev'ify e500 pci Alexander Graf
2011-05-04 19:08 ` Blue Swirl [this message]
2011-05-05 10:43 ` Alexander Graf
2011-05-04 19:09 ` [Qemu-devel] [PATCH 0/6] PPC: Add FSL (e500) MMU emulation v3 Blue Swirl
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='BANLkTi=rUPUzsryoB-hLt4osrF_sQ53qJQ@mail.gmail.com' \
--to=blauwirbel@gmail.com \
--cc=agraf@suse.de \
--cc=edgar.iglesias@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=scottwood@freescale.com \
--cc=yu.liu@freescale.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).