Re: [Qemu-devel] [PATCH v3 2/6] vmstate: add qom interface to get id

2019-09-17 Thread Daniel P . Berrangé
On Thu, Sep 12, 2019 at 04:25:10PM +0400, Marc-André Lureau wrote: > Add an interface to get the instance id, instead of depending on > Device and qdev_get_dev_path(). > > Signed-off-by: Marc-André Lureau > --- > hw/core/Makefile.objs| 1 + > hw/core/qdev.c | 14 ++

Re: [Qemu-devel] [PATCH v3 2/6] vmstate: add qom interface to get id

2019-09-16 Thread Dr. David Alan Gilbert
* Marc-André Lureau (marcandre.lur...@redhat.com) wrote: > Add an interface to get the instance id, instead of depending on > Device and qdev_get_dev_path(). > > Signed-off-by: Marc-André Lureau > --- > hw/core/Makefile.objs| 1 + > hw/core/qdev.c | 14 ++ > hw