diff options
author | Andreas Färber <afaerber@suse.de> | 2013-10-07 16:42:34 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-11-05 18:06:51 +0100 |
commit | 852e2c5008563692a8868260480e76b95bb9018c (patch) | |
tree | f76a31581ccaf1dec4287c71e9dfd27c8ced3f9a /fsdev | |
parent | 2bcb0c62f620a7033e9e25c5b645d50bf9e6a8f2 (diff) | |
download | hqemu-852e2c5008563692a8868260480e76b95bb9018c.zip hqemu-852e2c5008563692a8868260480e76b95bb9018c.tar.gz |
qdev-monitor: Inline qdev_init() for device_add
For historic reasons, qdev_init() unparents the device on failure.
Inline this to make the error paths clearer and consistent.
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions