]> www.infradead.org Git - users/dwmw2/qemu.git/commit
hw/qdev: Introduce qdev_hotplug_unplug_allowed_common()
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sun, 18 Feb 2024 06:57:11 +0000 (15:57 +0900)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 13 Jan 2025 16:16:03 +0000 (17:16 +0100)
commitf2694f1b1a1a38c586ee6f00e88b729828012d3a
tree3024c33ef52b147596979c1e6783e464d73bffe0
parent206d602e9b73d9079449b44899d572624d57390a
hw/qdev: Introduce qdev_hotplug_unplug_allowed_common()

Introduce qdev_hotplug_unplug_allowed_common() to hold
common code between checking hot-plug/unplug is allowed.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
[PMD: Split from bigger patch, part 3/6]
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20250110091908.64454-4-philmd@linaro.org>
hw/core/qdev-hotplug.c