qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] KVM call agenda for 2014-05-13


From: Peter Maydell
Subject: Re: [Qemu-devel] KVM call agenda for 2014-05-13
Date: Tue, 13 May 2014 11:44:09 +0100

On 13 May 2014 00:27, Peter Crosthwaite <address@hidden> wrote:
> Ok so here's my plan:

This generally all sounds good to me. A slight nit:

> QOMify address spaces. So they can be instantiated, reffed etc.
> completely aside from the hotplug discussion this greatly helps
> connecting bus master devices using proper QOM links. E.G. using
> machine-set link properties rather &address_space_memory everywhere.

I'm not sure that the thing a bus master exposes to be connected
up should be an AddressSpace -- I think it should be a MemoryRegion
(more precisely, the code creating the bus-master should create
a MemoryRegion and pass it to the bus-master device).

Consider a board model which puts together some RAM and
devices. It ought to have the same interface for passing this
up to the CPU whether it's doing so directly or via some SoC
container device. For the SoC container case, this has to be
by passing a MemoryRegion, since the SoC will want to add
some devices of its own to create a combined board+SoC view to
pass to the CPU object proper. So for consistency the interface
for passing things to the CPU should also be a MemoryRegion
(which the CPU then turns into an AddressSpace for its own
internal use.)

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]