From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: Jack <s108062518@m108.nthu.edu.tw>,
qemu-discuss@nongnu.org, Igor Mammedov <imammedo@redhat.com>,
Eduardo Habkost <ehabkost@redhat.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: Property '.hmat' not found
Date: Mon, 16 Nov 2020 13:51:37 +0100 [thread overview]
Message-ID: <1547b1c8-36e2-179e-8406-4faf0324f4f2@redhat.com> (raw)
In-Reply-To: <69ce94c221fc90c6963c3529ddc46e66@m108.nthu.edu.tw>
Cc'ing Igor & Eduardo.
On 11/13/20 10:17 AM, Jack wrote:
> 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
>
next parent reply other threads:[~2020-11-16 12:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <69ce94c221fc90c6963c3529ddc46e66@m108.nthu.edu.tw>
2020-11-16 12:51 ` Philippe Mathieu-Daudé [this message]
2020-11-16 19:02 ` Property '.hmat' not found Eduardo Habkost
2020-11-17 3:49 ` 郭俊甫 (Jack Kuo)
2020-11-17 15:09 ` Eduardo Habkost
2020-11-18 10:16 ` 郭俊甫 (Jack Kuo)
2020-11-18 12:31 ` Eduardo Habkost
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1547b1c8-36e2-179e-8406-4faf0324f4f2@redhat.com \
--to=philmd@redhat.com \
--cc=ehabkost@redhat.com \
--cc=imammedo@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-discuss@nongnu.org \
--cc=s108062518@m108.nthu.edu.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).