Re: [Qemu-devel] [PATCH v2 2/4] qdev: add function qdev_set_id()

2016-11-18 Thread Stefano Stabellini
On Wed, 2 Nov 2016, Juergen Gross wrote: > In order to have an easy way to add a new qdev with a specific id > carve out the needed functionality from qdev_device_add() into a new > function qdev_set_id(). > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Stabellini > include/monitor/qde

[Qemu-devel] [PATCH v2 2/4] qdev: add function qdev_set_id()

2016-11-02 Thread Juergen Gross
In order to have an easy way to add a new qdev with a specific id carve out the needed functionality from qdev_device_add() into a new function qdev_set_id(). Signed-off-by: Juergen Gross --- include/monitor/qdev.h | 1 + qdev-monitor.c | 36 2 files