Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Luiz Capitulino
On Fri, 11 Jan 2013 16:44:49 +0100 Wolfgang Mauerer wrote: > On 11/01/13 16:23, Andreas Färber wrote: > > Am 11.01.2013 16:00, schrieb Peter Maydell: > >> On 11 January 2013 13:42, Wolfgang Mauerer > >> wrote: > >>> The configuration register for the onboard LEDs is > >>> emulated, but the stat

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Wolfgang Mauerer
Hello, On 11/01/13 15:58, Andreas Färber wrote: >> @@ -386,6 +406,10 @@ static int arm_sysctl_init(SysBusDevice *dev) >> > { >> > arm_sysctl_state *s = FROM_SYSBUS(arm_sysctl_state, dev); >> > >> > +s->display = qemu_chr_new("leds0", "chardev:leds", NULL); >> > +if (s->display) { >

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Wolfgang Mauerer
On 11/01/13 16:23, Andreas Färber wrote: > Am 11.01.2013 16:00, schrieb Peter Maydell: >> On 11 January 2013 13:42, Wolfgang Mauerer >> wrote: >>> The configuration register for the onboard LEDs is >>> emulated, but the state is not exported, which makes >>> the feature not particularly useful. C

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Andreas Färber
Am 11.01.2013 16:00, schrieb Peter Maydell: > On 11 January 2013 13:42, Wolfgang Mauerer > wrote: >> The configuration register for the onboard LEDs is >> emulated, but the state is not exported, which makes >> the feature not particularly useful. Create a character >> device to make status chang

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Peter Maydell
On 11 January 2013 13:42, Wolfgang Mauerer wrote: > The configuration register for the onboard LEDs is > emulated, but the state is not exported, which makes > the feature not particularly useful. Create a character > device to make status changes accessible to the host. > > For example, use the c

Re: [Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Andreas Färber
Hello, Am 11.01.2013 14:42, schrieb Wolfgang Mauerer: > The configuration register for the onboard LEDs is > emulated, but the state is not exported, which makes > the feature not particularly useful. Create a character > device to make status changes accessible to the host. > > For example, use

[Qemu-devel] [PATCH] Realview/Versatile: Export LED state

2013-01-11 Thread Wolfgang Mauerer
The configuration register for the onboard LEDs is emulated, but the state is not exported, which makes the feature not particularly useful. Create a character device to make status changes accessible to the host. For example, use the command line argument -chardev socket,id=leds,host=localhost,p