diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2017-04-21 11:42:03 +0100 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2017-04-21 11:42:03 +0100 |
| commit | bfec359afba088aaacc7d316f43302f28c6e642a (patch) | |
| tree | 8ae2eb874ae39ecc9611f4be5db1039c8c87e022 /include/hw/qdev-core.h | |
| parent | 7cd37925a17768c0ddef62ffadcb93e9e590d406 (diff) | |
| parent | 08f00df4f4b8b4e38ad620477cc90cf5f73832d9 (diff) | |
| download | focaccia-qemu-bfec359afba088aaacc7d316f43302f28c6e642a.tar.gz focaccia-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/hw/qdev-core.h')
| -rw-r--r-- | include/hw/qdev-core.h | 13 |
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 */ |