system emulator, but also in tools that support --object. Move it into a
separate function in qom/object_interfaces.c to make the code accessible
for tools.
Signed-off-by: Kevin Wolf <address@hidden>
---
include/qom/object_interfaces.h | 12 +++++++
qom/object_interfaces.c | 61 +++++++++++++++++++++++++++++++++
vl.c | 52 +---------------------------
3 files changed, 74 insertions(+), 51 deletions(-)
diff --git a/include/qom/object_interfaces.h b/include/qom/object_interfaces.h
index 682ba1d9b0..3e4e1d928b 100644
--- a/include/qom/object_interfaces.h