Igor Mammedov 4fd7da4c03 pci: acpi: ensure that acpi-index is unique
it helps to avoid device naming conflicts when guest OS is
configured to use acpi-index for naming.
Spec ialso says so:

PCI Firmware Specification Revision 3.2
4.6.7.  _DSM for Naming a PCI or PCI Express Device Under Operating Systems
"
Instance number must be unique under \_SB scope. This instance number does not have to
be sequential in a given system configuration.
"

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20210315180102.3008391-4-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2021-03-22 18:58:19 -04:00
..
2020-12-10 12:15:18 -05:00
2021-03-18 19:00:50 +00:00
2021-03-10 13:57:31 +00:00
2021-03-18 09:22:55 +00:00
2021-03-19 18:01:17 +00:00
2021-01-08 15:13:38 +00:00
2021-03-15 21:03:06 +01:00
2020-12-10 12:15:08 -05:00
2020-08-21 06:30:25 -04:00
2020-08-27 14:04:55 -04:00
2021-03-18 09:22:55 +00:00
2021-03-18 09:22:55 +00:00
2021-02-21 12:12:18 +00:00
2020-12-10 12:15:08 -05:00
2021-03-18 09:22:55 +00:00
2020-08-21 06:30:33 -04:00
2021-03-15 17:01:17 +01:00
2021-02-05 08:52:58 -05:00
2020-08-21 06:30:33 -04:00