summary refs log tree commit diff stats
path: root/linux-user/sparc/cpu_loop.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-03-25 15:33:08 +0000
committerPeter Maydell <peter.maydell@linaro.org>2021-04-06 11:49:14 +0100
commit0fb124dbfa135945fb892d0d2b7a427cdc59220d (patch)
treea15eeb324467b89df7b34a5a405076c04a0d6b78 /linux-user/sparc/cpu_loop.c
parent387c0e8b41ac30ea0791bbd12fefcfc7ea93a436 (diff)
downloadfocaccia-qemu-0fb124dbfa135945fb892d0d2b7a427cdc59220d.tar.gz
focaccia-qemu-0fb124dbfa135945fb892d0d2b7a427cdc59220d.zip
machine: Provide a function to check the dynamic sysbus allowlist
Provide a new function dynamic_sysbus_dev_allowed() which checks the
per-machine list of permitted dynamic sysbus devices and returns a
boolean result indicating whether the device is allowed.  We can use
this in the implementation of validate_sysbus_device(), but we will
also need it so that machine hotplug callbacks can validate devices
rather than assuming that any sysbus device might be hotpluggable
into the platform bus.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Message-id: 20210325153310.9131-3-peter.maydell@linaro.org
Diffstat (limited to 'linux-user/sparc/cpu_loop.c')
0 files changed, 0 insertions, 0 deletions