OSDN Git Service

hw/i386/acpi-build: Resolve north rather than south bridges
authorBernhard Beschow <shentey@gmail.com>
Fri, 28 Oct 2022 10:34:19 +0000 (12:34 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 19:08:17 +0000 (14:08 -0500)
commitb496a17d45406e3ba943c8949784091cf01e4a6d
tree343447d60a19e6cc2b108be1c094933a5b6a9d03
parentbbaa5c41fad29e9f6b4f1975103d530dc1391772
hw/i386/acpi-build: Resolve north rather than south bridges

The code currently assumes Q35 iff ICH9 and i440fx iff PIIX. Now that more
AML generation has been moved into the south bridges and since the
machines define themselves primarily through their north bridges, let's
switch to resolving the north bridges for AML generation instead. This
also allows for easier experimentation with different south bridges in
the "pc" machine, e.g. with PIIX4 and VT82xx.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20221028103419.93398-4-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c