diff options
| author | Igor Mammedov <imammedo@redhat.com> | 2023-03-02 17:15:40 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-07 12:39:00 -0500 |
| commit | 62dd55fcf736994958eb5706cee5806480acfe25 (patch) | |
| tree | c0453b62033c506d94c19dd2251d8055747b279e /scripts/qapi/parser.py | |
| parent | 419233b2b417eec65211b4a5160d94978546467b (diff) | |
| download | focaccia-qemu-62dd55fcf736994958eb5706cee5806480acfe25.tar.gz focaccia-qemu-62dd55fcf736994958eb5706cee5806480acfe25.zip | |
acpi: pci: move BSEL into build_append_pcihp_slots()
Generic PCI enumeration code doesn't really need access to BSEL value, it is only used as means to decide if hotplug enumerator should be called. Use stateless object_property_find() to do that, and move the rest of BSEL handling into build_append_pcihp_slots() where it belongs. This cleans up generic code a bit from hotplug stuff and follow up patch will remove remaining call to build_append_pcihp_slots() from generic code, making it possible to use without ACPI PCI hotplug dependencies. Signed-off-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20230302161543.286002-32-imammedo@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions