qemu/include/qom
Igor Mammedov 3a4641054e monitor: reuse user_creatable_add_opts() instead of user_creatable_add()
Simplify code by dropping ~57LOC by merging user_creatable_add()
into user_creatable_add_opts() and using the later from monitor.
Along with it allocate opts_visitor_new() once in user_creatable_add_opts().

As result we have one less API func and a more readable/simple
user_creatable_add_opts() vs user_creatable_add().

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-Id: <1484052795-158195-3-git-send-email-imammedo@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2017-01-12 15:34:47 -02:00
..
cpu.h *_run_on_cpu: introduce run_on_cpu_data type 2016-10-31 15:00:25 +01:00
object_interfaces.h monitor: reuse user_creatable_add_opts() instead of user_creatable_add() 2017-01-12 15:34:47 -02:00
object.h qom: Fix comment typo 2016-07-06 09:19:35 +02:00
qom-qobject.h