summary refs log tree commit diff stats
path: root/rust/qemu-api/src/chardev.rs
diff options
context:
space:
mode:
authorEric Auger <eric.auger@redhat.com>2025-07-14 10:05:15 +0200
committerMichael S. Tsirkin <mst@redhat.com>2025-07-15 02:56:40 -0400
commitcfd4ace6e5faf3064defa559e1b5fd674109186f (patch)
tree2eb69c80221694a9457975a3aba68052e0f489f8 /rust/qemu-api/src/chardev.rs
parent1a102856652268cf2ec4cbd2cb9b229ef920c31d (diff)
downloadfocaccia-qemu-cfd4ace6e5faf3064defa559e1b5fd674109186f.tar.gz
focaccia-qemu-cfd4ace6e5faf3064defa559e1b5fd674109186f.zip
hw/arm/virt: Minor code reshuffling in create_acpi_ged
Use a local SysBusDevice handle. Also use the newly introduced
sysbus_mmio_map_name which brings better readability about the region
being mapped. GED device has regions which exist depending on some
external properties and it becomes difficult to guess the index of
a region. Better refer to a region by its name.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20250714080639.2525563-32-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/chardev.rs')
0 files changed, 0 insertions, 0 deletions