diff options
author | Igor Mammedov <imammedo@redhat.com> | 2022-07-01 09:35:15 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-10-09 16:38:46 -0400 |
commit | 3216ab2acb08b47d4ff83e709406690d37e44aff (patch) | |
tree | c39d6d8815a621fb478b92dc4697c737e940889a /monitor | |
parent | 1ccd2220948c8d577ec8a3473a15f52ce2841800 (diff) | |
download | qemu-3216ab2acb08b47d4ff83e709406690d37e44aff.zip qemu-3216ab2acb08b47d4ff83e709406690d37e44aff.tar.gz qemu-3216ab2acb08b47d4ff83e709406690d37e44aff.tar.bz2 |
x86: pci: acpi: consolidate PCI slots creation
No functional changes nor AML bytecode changes.
Consolidate code that generates empty and populated slot
descriptors. Besides eliminating duplication,
it helps consolidate conditions for generating
parts of Device{} desriptor in one place, which makes
code more compact and easier to read.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20220701133515.137890-18-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'monitor')
0 files changed, 0 insertions, 0 deletions