]> git.proxmox.com Git - mirror_qemu.git/commit
ssi: Add ssi_realize_and_unref()
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (16:59 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 3 Jul 2020 15:59:44 +0000 (16:59 +0100)
commit581e109d5836f5166d15a01c43e18632f93357c5
treeccb274d67d7ef4361d41b2d404bbf8e23106f7c8
parent40d9d2f7682c789404ed5b249012ac44f9e6ea8f
ssi: Add ssi_realize_and_unref()

Add an ssi_realize_and_unref(), for the benefit of callers
who want to be able to create an SSI device, set QOM properties
on it, and then do the realize-and-unref afterwards.

The API works on the same principle as the recently added
qdev_realize_and_undef(), sysbus_realize_and_undef(), etc.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20200628142429.17111-9-peter.maydell@linaro.org
hw/ssi/ssi.c
include/hw/ssi/ssi.h