Re: [PATCH v3 10/33] serial: add "instance-id" property

2019-11-20 Thread Marc-André Lureau
Hi On Wed, Oct 23, 2019 at 9:33 PM Marc-André Lureau wrote: > > This property will be used to move common vmstate registration to > device realize in following patch. > > Signed-off-by: Marc-André Lureau I realize adding a "instance-id" property instead of calling qdev_set_legacy_instance_id()

Re: [PATCH v3 10/33] serial: add "instance-id" property

2019-11-19 Thread Marc-André Lureau
Hi On Mon, Nov 18, 2019 at 6:30 PM Peter Maydell wrote: > > On Wed, 23 Oct 2019 at 18:33, Marc-André Lureau > wrote: > > > > This property will be used to move common vmstate registration to > > device realize in following patch. > > > > Signed-off-by: Marc-André Lureau > > --- > >

Re: [PATCH v3 10/33] serial: add "instance-id" property

2019-11-18 Thread Peter Maydell
On Wed, 23 Oct 2019 at 18:33, Marc-André Lureau wrote: > > This property will be used to move common vmstate registration to > device realize in following patch. > > Signed-off-by: Marc-André Lureau > --- > hw/char/serial.c | 3 +++ > include/hw/char/serial.h | 1 + > 2 files changed, 4

[PATCH v3 10/33] serial: add "instance-id" property

2019-10-23 Thread Marc-André Lureau
This property will be used to move common vmstate registration to device realize in following patch. Signed-off-by: Marc-André Lureau --- hw/char/serial.c | 3 +++ include/hw/char/serial.h | 1 + 2 files changed, 4 insertions(+) diff --git a/hw/char/serial.c b/hw/char/serial.c index