|
From: | Alexander Graf |
Subject: | Re: [PATCH 0/9] hw/sysbus/platform-bus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE |
Date: | Sun, 26 Jan 2025 16:29:29 -0800 |
User-agent: | Mozilla Thunderbird |
On 25.01.25 10:13, Philippe Mathieu-Daudé wrote:
Some SysBus devices can optionally be dynamically plugged onto the sysbus-platform-bus (then virtual guests are aware of mmio mapping and IRQs via device tree / ACPI rules). This series makes these devices explicit by having them implement the DYNAMIC_SYS_BUS_DEVICE class, which only sets 'user_creatable' flag to %true but makes the codebase a bit clearer (IMHO, at least now we can grep for DYNAMIC_SYS_BUS_DEVICE).
I love it. Thank you! This is clearly much more readable than the magical hint swizzling I did :).
Reviewed-by: Alexander Graf <graf@amazon.com> Alex
[Prev in Thread] | Current Thread | [Next in Thread] |