summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/1892.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/1892.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/1892.toml41
1 files changed, 41 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/1892.toml b/gitlab/issues/target_missing/host_missing/accel_missing/1892.toml
new file mode 100644
index 00000000..0fc8b087
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/1892.toml
@@ -0,0 +1,41 @@
+id = 1892
+title = "docs/system/devices/cxl.rst suggests qemu-system-aarch64 command lines which fail with \"Property 'virt-8.2-machine.cxl' not found\""
+state = "closed"
+created_at = "2023-09-15T10:25:45.223Z"
+closed_at = "2023-09-21T15:14:07.307Z"
+labels = ["Documentation", "kind::Bug"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/1892"
+host-os = "ubuntu22.04"
+host-arch = "ARM64"
+qemu-version = "8.2"
+guest-os = "disk-image-23.04-server-arm64.img"
+guest-arch = "ARM"
+description = """When trying to run qemu-system-aarch64 with "-M virt,gic-version=3,cxl=on -m 4g,maxmem=8G,slots=8 -cpu max", get the following problem:
+"qemu-system-aarch64: Property 'virt-8.2-machine.cxl' not found". Do I need to compile the QEMU with specific option?"""
+reproduce = """1. Compile QEMU with "./config" "make -j6"
+2. Compile Linux
+```
+#!/bin/bash
+
+KERNEL_PATH=/users/LiuQun/linux/arch/arm64/boot/Image
+DISK_IMG=/users/LiuQun/ARM_img/disk-image-22.04-server-arm64.img
+
+./build/qemu-system-aarch64 \\
+-M virt,gic-version=3,cxl=on -m 4g,maxmem=8G,slots=8 -cpu max \\
+-bios /users/LiuQun/ARM_img/QEMU_EFI.fd \\
+-kernel $KERNEL_PATH \\
+-drive file=$DISK_IMG,format=raw,if=none,id=drive-sata0-0-0 \\
+-device virtio-blk-device,drive=drive-sata0-0-0 \\
+-append "console=ttyAMA0 root=/dev/vda1 rdinit=/init acpi=off" \\
+-object memory-backend-file,id=cxl-mem1,share=on,mem-path=cxl-window1,size=512M \\
+-object memory-backend-file,id=cxl-label1,share=on,mem-path=cxl-label1,size=1K \\
+-object memory-backend-file,id=cxl-label2,share=on,mem-path=cxl-label2,size=1K \\
+-device pxb-cxl,id=cxl.0,bus=pcie.0,bus_nr=52,uid=0,len-window-base=1,window-base[0]=0x4c00000000,memdev[0]=cxl-mem1 \\
+-device cxl-rp,id=rp0,bus=cxl.0,addr=0.0,chassis=0,slot=0,port=0 \\
+-device cxl-rp,id=rp1,bus=cxl.0,addr=1.0,chassis=0,slot=1,port=1 \\
+-device cxl-type3,bus=rp0,memdev=cxl-mem1,id=cxl-pmem0,size=256M,lsa=cxl-label1 \\
+-device cxl-type3,bus=rp1,memdev=cxl-mem1,id=cxl-pmem1,size=256M,lsa=cxl-label2 \\
+-nographic
+
+```"""
+additional = """The same problem happens with QEMU 8.1"""