summary refs log tree commit diff stats
path: root/results/classifier/accel-gemma3:12b/vmm/2530
blob: 954cdf0a616608f08266987b02208732e9e5a0d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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