vl: Clean up user-creatable objects when exiting
commit9d5139e543e8579aacd324193680c64fd1463d89
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 24 Aug 2017 19:23:13 +0000 (24 16:23 -0300)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 19 Sep 2017 12:09:23 +0000 (19 09:09 -0300)
tree4f4964e485ea4e1de4a12ca057de4f422ba6a407
parenta9158a5cba955b79d580a252cc58ff44d154e370
vl: Clean up user-creatable objects when exiting

Delete all user-creatable objects in /objects when exiting QEMU, so they
can perform cleanup actions.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20170824192315.5897-2-ehabkost@redhat.com>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Zack Cornelius <zack.cornelius@kove.net>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
include/qom/object_interfaces.h
qom/object_interfaces.c
vl.c