blob: ea5c0d8f5124b282ae2bc02c9bd33e3ce90a3084 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
virtual: 0.957
i386: 0.879
device: 0.873
graphic: 0.844
vnc: 0.827
peripherals: 0.757
files: 0.727
ppc: 0.707
PID: 0.610
semantic: 0.568
socket: 0.566
architecture: 0.564
risc-v: 0.552
network: 0.537
register: 0.518
mistranslation: 0.512
VMM: 0.455
permissions: 0.442
debug: 0.431
boot: 0.402
kernel: 0.399
hypervisor: 0.385
arm: 0.328
x86: 0.325
performance: 0.317
TCG: 0.306
KVM: 0.192
assembly: 0.138
user-level: 0.105
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
|