[PATCH] hw/i386/pc: Avoid overlap between CXL window and PCI 64bit BARs in QEMU

2025-07-18 Thread peng guo via
-device cxl-type3,bus=root_port13,volatile-memdev=vmem0,id=cxl-vmem0,sn=0x123456789 \ -M cxl-fmw.0.targets.0=cxl.1,cxl-fmw.0.size=4G Tested in a QEMU setup with a CXL Type 3 device and a 9pnet virtio device. Signed-off-by: peng guo --- hw/i386/pc.c | 2 +- 1 file changed, 1 inser

[PATCH v3] hw/cxl: fix physical address field in get scan media results output

2024-08-25 Thread peng guo
cn/ Signed-off-by: peng guo --- v2 -> v3: -- Resend +CC qemu-devel list and Michael Tsirkin. v1 -> v2: -- Add module name to title. --- hw/cxl/cxl-mailbox-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c in

[PATCH] hw/cxl: fixed the determination of illegal physical addresses

2024-08-14 Thread peng guo
scan media capabilities cmd support") Signed-off-by: peng guo --- hw/cxl/cxl-mailbox-utils.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hw/cxl/cxl-mailbox-utils.c b/hw/cxl/cxl-mailbox-utils.c index 3ebbd32e10..b23c6b9b0b 100644 --- a/hw/cxl/cxl-mailbox-utils.