[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/9] hw/sysbus/platform-bus: Introduce TYPE_DYNAMIC_SYS_BUS_D
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 0/9] hw/sysbus/platform-bus: Introduce TYPE_DYNAMIC_SYS_BUS_DEVICE |
Date: |
Tue, 28 Jan 2025 11:41:19 +0100 |
On Sat, Jan 25, 2025 at 07:13:34PM +0100, 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).
Do we have some sane way to have user-pluggable sysbus devices on arm?
I've played around with that a bit, with the uefi variable service I'm
working on. Specifically I'd prefer to *not* have a patch wiring things
up in machine type code like this ...
20250107153353.1144978-20-kraxel@redhat.com/">https://lore.kernel.org/qemu-devel/20250107153353.1144978-20-kraxel@redhat.com/
... and just use 'qemu -device uefi-vars-sysbus' instead.
Something like AcpiDevAmlIfClass but for device tree seems to not exist
though. Also apparently AcpiDevAmlIfClass is not used.
take care,
Gerd
- Re: [PATCH 7/9] hw/net: Have eTSEC device inherit from DYNAMIC_SYS_BUS_DEVICE, (continued)