Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Andreas Färber <[email protected]>
- Loading branch information