Re: [Qemu-devel] [PATCH 1/7] qom: add user_creatable_add & user_creatable_del methods

2015-12-22 Thread Eric Blake
On 12/22/2015 04:06 AM, Daniel P. Berrange wrote: > The QMP monitor code has two helper methods object_add > and qmp_object_del that are called from several places > in the code (QMP, HMP and main emulator startup). > > We soon need to use this code from qemu-img, qemu-io > and qemu-nbd too, but d

[Qemu-devel] [PATCH 1/7] qom: add user_creatable_add & user_creatable_del methods

2015-12-22 Thread Daniel P. Berrange
The QMP monitor code has two helper methods object_add and qmp_object_del that are called from several places in the code (QMP, HMP and main emulator startup). We soon need to use this code from qemu-img, qemu-io and qemu-nbd too, but don't want those to depend on the monitor. To avoid this, move