summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPeter Maydell2017-04-21 12:42:03 +0200
committerPeter Maydell2017-04-21 12:42:03 +0200
commitbfec359afba088aaacc7d316f43302f28c6e642a (patch)
tree8ae2eb874ae39ecc9611f4be5db1039c8c87e022 /include
parentMerge remote-tracking branch 'remotes/ehabkost/tags/machine-pull-request' int... (diff)
parentqdev: remove cannot_destroy_with_object_finalize_yet (diff)
downloadqemu-bfec359afba088aaacc7d316f43302f28c6e642a.tar.gz
qemu-bfec359afba088aaacc7d316f43302f28c6e642a.tar.xz
qemu-bfec359afba088aaacc7d316f43302f28c6e642a.zip
Merge remote-tracking branch 'remotes/armbru/tags/pull-qdev-2017-04-21' into staging
qdev patches for 2017-04-21 # gpg: Signature made Fri 21 Apr 2017 06:37:19 BST # gpg: using RSA key 0x3870B400EB918653 # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" # gpg: aka "Markus Armbruster <armbru@pond.sub.org>" # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867 4E5F 3870 B400 EB91 8653 * remotes/armbru/tags/pull-qdev-2017-04-21: qdev: remove cannot_destroy_with_object_finalize_yet versatile: remove cannot_destroy_with_object_finalize_yet ppc: remove cannot_destroy_with_object_finalize_yet arm: remove remaining cannot_destroy_with_object_finalize_yet Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/qdev-core.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h
index b44b476765..ac682a6818 100644
--- a/include/hw/qdev-core.h
+++ b/include/hw/qdev-core.h
@@ -113,19 +113,6 @@ typedef struct DeviceClass {
* TODO remove once we're there
*/
bool cannot_instantiate_with_device_add_yet;
- /*
- * Does this device model survive object_unref(object_new(TNAME))?
- * All device models should, and this flag shouldn't exist. Some
- * devices crash in object_new(), some crash or hang in
- * object_unref(). Makes introspecting properties with
- * qmp_device_list_properties() dangerous. Bad, because it's used
- * by -device FOO,help. This flag serves to protect that code.
- * It should never be set without a comment explaining why it is
- * set.
- * TODO remove once we're there
- */
- bool cannot_destroy_with_object_finalize_yet;
-
bool hotpluggable;
/* callbacks */