[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Property '.hmat' not found
From: |
Jack |
Subject: |
Property '.hmat' not found |
Date: |
Fri, 13 Nov 2020 17:17:16 +0800 |
User-agent: |
Roundcube Webmail/1.4.2 |
Hi all,
As I follow the document[1] to enable hmat, it fails and shows the
message:
qemu-system-x86_64: Property '.hmat' not found
My QEMU version is 5.1.90
Does anyone know why?
Here is my command:
```
$ sudo qemu-system-x86_64 \
-machine hmat=on \
-m 2G \
-object memory-backend-ram,size=1G,id=m0 \
-object memory-backend-ram,size=1G,id=m1 \
-smp 2 \
-numa node,nodeid=0,memdev=m0 \
-numa node,nodeid=1,memdev=m1,initiator=0 \
-numa cpu,node-id=0,socket-id=0 \
-numa cpu,node-id=0,socket-id=1 \
-numa
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-latency,latency=5
\
-numa
hmat-lb,initiator=0,target=0,hierarchy=memory,data-type=access-bandwidth,bandwidth=200M
\
-numa
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-latency,latency=10
\
-numa
hmat-lb,initiator=0,target=1,hierarchy=memory,data-type=access-bandwidth,bandwidth=100M
\
-numa
hmat-cache,node-id=0,size=10K,level=1,associativity=direct,policy=write-back,line=8
\
-numa
hmat-cache,node-id=1,size=10K,level=1,associativity=direct,policy=write-back,line=8
\
-cpu host \
-m 4g -vga virtio -hda ubuntu20.04.qcow2 \
-nic user,model=virtio \
-nic tap,model=e1000 \
-nic tap,model=e1000 \
-accel kvm
```
Thanks.
[1]
https://www.qemu.org/docs/master/system/qemu-manpage.html?highlight=numa
Sincerely,
Jack
- Property '.hmat' not found,
Jack <=