blob: 021eab3fa1b2da9b5b81afe4f6c6cc71c995ac79 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
device: 0.873
graphic: 0.844
vnc: 0.827
instruction: 0.777
semantic: 0.568
socket: 0.566
network: 0.537
mistranslation: 0.512
boot: 0.402
other: 0.370
KVM: 0.192
assembly: 0.138
Duplicate ACPI _SUN
Description of problem:
ACPI _SUN is `the slot-unique ID number for a slot`, but qemu uses `PCI_SLOT()` which is definitely not unique
https://gitlab.com/qemu-project/qemu/-/blob/407f9a4b121eb65166375c410e14d7b704bc1106/hw/i386/acpi-build.c#L524
Steps to reproduce:
1. Create a linux VM with 2 virtio NICs
2. Look at the ACPI _SUN of the virtio-pci devices (firmware_node/sun)
Both virtio-pci devices have _SUN == 0
```
#
Additional information:
In systemd we recently introduced code to use firmware_node/sun information for NIC naming
https://github.com/systemd/systemd/commit/0a4ecc54cb9f2d3418b970c51bfadb69c34ae9eb
but having duplicate _SUN is of course problematic
https://github.com/systemd/systemd/issues/34082
|