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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
graphic: 0.751
peripherals: 0.482
device: 0.473
architecture: 0.444
PID: 0.373
ppc: 0.364
boot: 0.319
register: 0.309
kernel: 0.299
socket: 0.262
performance: 0.262
debug: 0.257
user-level: 0.242
risc-v: 0.239
VMM: 0.235
files: 0.221
semantic: 0.209
vnc: 0.186
mistranslation: 0.180
arm: 0.179
x86: 0.172
assembly: 0.170
TCG: 0.146
permissions: 0.145
network: 0.123
virtual: 0.112
i386: 0.100
hypervisor: 0.071
KVM: 0.055
docs/system/devices/cxl.rst suggests qemu-system-aarch64 command lines which fail with "Property 'virt-8.2-machine.cxl' not found"
Description of problem:
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?
Steps to 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 information:
The same problem happens with QEMU 8.1
|