[RESEND PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-05-27 Thread Eric Auger
Allows sysbus devices to be instantiated from command line by using -device option. Machvirt creates a platform bus at init. The dynamic sysbus devices are attached to this platform bus device. The platform bus device registers a machine init done notifier whose role will be to bind the dynamic sy

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Peter Maydell
On 27 April 2015 at 18:04, Alexander Graf wrote: > On 04/27/2015 06:58 PM, Christopher Covington wrote: >> I'm not sure I have an opinion one way or the other, but I would like to >> understand the "big waste" argument. Is there something that users are >> eager >> to reuse this address space for,

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Alexander Graf
On 04/27/2015 06:58 PM, Christopher Covington wrote: Hi Alex, On 04/27/2015 09:41 AM, Alexander Graf wrote: --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -131,6 +138,7 @@ static const MemMapEntry a15memmap[] = { [VIRT_FW_CFG] = { 0x0902, 0x000a }, [VIRT_MMIO] = { 0

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Christopher Covington
Hi Alex, On 04/27/2015 09:41 AM, Alexander Graf wrote: >> --- a/hw/arm/virt.c >> +++ b/hw/arm/virt.c >> @@ -131,6 +138,7 @@ static const MemMapEntry a15memmap[] = { >> [VIRT_FW_CFG] = { 0x0902, 0x000a }, >> [VIRT_MMIO] = { 0x0a00, 0x0200 }, >> /* ...re

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Alexander Graf
On 04/27/2015 03:56 PM, Peter Maydell wrote: On 27 April 2015 at 14:41, Alexander Graf wrote: Peter, would you have a hard time if we just get rid of VIRT_MMIO completely and allow users to create the mmio-virtio bridges using -device for -M virt-2.4 and above? I would strongly prefer not -- i

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Peter Maydell
On 27 April 2015 at 14:41, Alexander Graf wrote: > Peter, would you have a hard time if we just get rid of VIRT_MMIO completely > and allow users to create the mmio-virtio bridges using -device for -M > virt-2.4 and above? I would strongly prefer not -- it breaks existing working command lines. I

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Eric Auger
Hi Alex On 04/27/2015 03:41 PM, Alexander Graf wrote: > On 04/24/2015 05:19 PM, Eric Auger wrote: >> Allows sysbus devices to be instantiated from command line by >> using -device option. Machvirt creates a platform bus at init. >> The dynamic sysbus devices are attached to this platform bus device

Re: [PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-27 Thread Alexander Graf
On 04/24/2015 05:19 PM, Eric Auger wrote: Allows sysbus devices to be instantiated from command line by using -device option. Machvirt creates a platform bus at init. The dynamic sysbus devices are attached to this platform bus device. The platform bus device registers a machine init done notifi

[PATCH v12 3/4] hw/arm/virt: add dynamic sysbus device support

2015-04-24 Thread Eric Auger
Allows sysbus devices to be instantiated from command line by using -device option. Machvirt creates a platform bus at init. The dynamic sysbus devices are attached to this platform bus device. The platform bus device registers a machine init done notifier whose role will be to bind the dynamic sy