diff options
| author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2014-09-25 22:19:52 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-10-23 16:41:25 +0200 |
| commit | 8faa2f8571e399ba486bad00e25b6c9b22b6fd9a (patch) | |
| tree | d1141cca524db9e0f39dc0a802d88ea7a13e07cd /include/hw/qdev-core.h | |
| parent | d3c4931647c16c2ffc09a2c7c80d71c73cd026c6 (diff) | |
| download | focaccia-qemu-8faa2f8571e399ba486bad00e25b6c9b22b6fd9a.tar.gz focaccia-qemu-8faa2f8571e399ba486bad00e25b6c9b22b6fd9a.zip | |
qom: Demote already-has-a-parent to a regular error
Rather than an abort(). This allows callers to decide whether parenting an already-parented object is a fatal error condition. Useful for providing a default value for an object's parent in the case where you want to set one iff it doesn't already have one. Reviewed-by: Alexander Graf <agraf@suse.de> Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
0 files changed, 0 insertions, 0 deletions