[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/9] Add platform bus
From: |
Anthony Liguori |
Subject: |
Re: [Qemu-devel] [PATCH 0/9] Add platform bus |
Date: |
Tue, 23 Jul 2013 09:26:07 -0500 |
User-agent: |
Notmuch/0.15.2+202~g0c4b8aa (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) |
Peter Maydell <address@hidden> writes:
> On 23 July 2013 13:34, Paolo Bonzini <address@hidden> wrote:
>> Il 23/07/2013 14:22, Peter Maydell ha scritto:
>>> On 23 July 2013 13:19, Paolo Bonzini <address@hidden> wrote:
> Yes, we should have easy support for defining a pluggable
> bus as a collection of pins.
>
>> In fact, the main thing I dislike about Alex's patch is adding a new bus
>> instead of making sysbus devices "just work" as pluggable devices.
>
> Agreed, more or less. Actually I'd rather sysbus devices
> went away -- the requirement for interrupt and GPIO and
> memory regions to all be defined as single arrays (so you
> have to know what interrupt line 3 happens to be, and
> that memory region 1 is the registers, and so on) is
> pretty unfriendly. We should be able to define all these
> as named connections.
The concrete next steps here are well known.
1) Make MemoryRegion's QOM objects and add them as children to the
devices that own them.
2) Make qemu_irq a QOM object.
Then you could use -device to plumb up all of these things without
SysBus being involved.
But the above is a lot of work for a use-case that while interesting
academically so far hasn't proven to be all that important.
Regards,
Anthony Liguori
>
> -- PMM
- Re: [Qemu-devel] [PATCH 6/9] PlatBus: Add serial-platbus device, (continued)
- [Qemu-devel] [PATCH 9/9] PPC: E500: Add PlatBus device tree walker, Alexander Graf, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Alexander Graf, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Paolo Bonzini, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Paolo Bonzini, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Paolo Bonzini, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus,
Anthony Liguori <=
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/23
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, François Revol, 2013/07/23
Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Anthony Liguori, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Alexander Graf, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Anthony Liguori, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Anthony Liguori, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Peter Maydell, 2013/07/22
- Re: [Qemu-devel] [PATCH 0/9] Add platform bus, Andreas Färber, 2013/07/22