You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/hw/mem
Li Zhijian 1ce979e726 hw/cxl: Fix msix_notify: Assertion `vector < dev->msix_entries_nr`
This assertion always happens when we sanitize the CXL memory device.
$ echo 1 > /sys/bus/cxl/devices/mem0/security/sanitize

It is incorrect to register an MSIX number beyond the device's capability.

Increase the device's MSIX number to cover the mailbox msix number(9).

Fixes: 43efb0bfad ("hw/cxl/mbox: Wire up interrupts for background completion")
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
Message-Id: <20250115075834.167504-1-lizhijian@fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
6 days ago
..
Kconfig hw/cxl/device: Add a memory device (8.2.8.5) 3 years ago
cxl_type3.c hw/cxl: Fix msix_notify: Assertion `vector < dev->msix_entries_nr` 6 days ago
cxl_type3_stubs.c hw/cxl/events: Improve QMP interfaces and documentation for add/release dynamic capacity. 7 months ago
memory-device-stubs.c memory-device: move stubs out of stubs/ 9 months ago
memory-device.c include: Rename sysemu/ -> system/ 1 month ago
meson.build memory-device: move stubs out of stubs/ 9 months ago
npcm7xx_mc.c hw/*: Use type casting for SysBusDevice in NPCM7XX 4 years ago
nvdimm.c Accel & Exec patch queue 1 month ago
pc-dimm.c Accel & Exec patch queue 1 month ago
sparse-mem.c Accel & Exec patch queue 1 month ago
trace-events docs: fix references to docs/devel/tracing.rst 4 years ago
trace.h trace: switch position of headers to what Meson requires 4 years ago