Re: [Qemu-devel] [PATCH v2 7/9] PPC: e500: Support dynamically spawned sysbus devices

2014-07-30 Thread Peter Crosthwaite
On Thu, Jul 31, 2014 at 12:55 AM, Peter Maydell wrote: > On 2 July 2014 19:01, Alexander Graf wrote: >> For e500 our approach to supporting dynamically spawned sysbus devices is to >> create a simple bus from the guest's point of view within which we map those >> devices dynamically. >> >> +/

Re: [Qemu-devel] [PATCH v2 7/9] PPC: e500: Support dynamically spawned sysbus devices

2014-07-30 Thread Peter Maydell
On 2 July 2014 19:01, Alexander Graf wrote: > For e500 our approach to supporting dynamically spawned sysbus devices is to > create a simple bus from the guest's point of view within which we map those > devices dynamically. > > +/* Connect sysbus device to virtual platform bus */ > +for (

[Qemu-devel] [PATCH v2 7/9] PPC: e500: Support dynamically spawned sysbus devices

2014-07-02 Thread Alexander Graf
For e500 our approach to supporting dynamically spawned sysbus devices is to create a simple bus from the guest's point of view within which we map those devices dynamically. We allocate memory regions always within the "platform" hole in address space and map IRQs to predetermined IRQ lines that