[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=
From: |
Igor Mammedov |
Subject: |
Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on |
Date: |
Wed, 25 May 2022 09:05:06 +0200 |
On Tue, 24 May 2022 14:48:29 -0500
"Moger, Babu" <babu.moger@amd.com> wrote:
> On 5/24/22 10:19, Igor Mammedov wrote:
> > On Tue, 24 May 2022 11:10:18 -0400
> > Igor Mammedov <imammedo@redhat.com> wrote:
> >
> > CCing AMD folks as that might be of interest to them
>
> I am trying to recreate the bug on my AMD system here.. Seeing this message..
>
> qemu-system-x86_64: -numa node,nodeid=0,memdev=ram-node0: memdev=ram-node0
> is ambiguous
>
> Here is my command line..
>
> #qemu-system-x86_64 -name rhel8 -m 4096 -hda vdisk.qcow2 -enable-kvm -net
> nicĀ -nographic -machine q35,accel=kvm -cpu
> host,host-cache-info=on,l3-cache=off -smp
> 20,sockets=2,dies=1,cores=10,threads=1 -numa
> node,nodeid=0,memdev=ram-node0 -numa node,nodeid=1,memdev=ram-node1 -numa
> cpu,socket-id=0,node-id=0 -numa cpu,socket-id=1,node-id=1
>
> Am I missing something?
Yep, sorry I've omitted -object memory-backend-foo definitions for
ram-node0 and ram-node1
one can use any memory backend, it doesn't really matter in this case,
for example following should do:
-object memory-backend-ram,id=ram-node0,size=2G \
-object memory-backend-ram,id=ram-node1,size=2G
>
>
> >
> >> Igor Mammedov (2):
> >> x86: cpu: make sure number of addressable IDs for processor cores
> >> meets the spec
> >> x86: cpu: fixup number of addressable IDs for logical processors
> >> sharing cache
> >>
> >> target/i386/cpu.c | 20 ++++++++++++++++----
> >> 1 file changed, 16 insertions(+), 4 deletions(-)
> >>
- [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on, Igor Mammedov, 2022/05/24
- [PATCH 1/2] x86: cpu: make sure number of addressable IDs for processor cores meets the spec, Igor Mammedov, 2022/05/24
- [PATCH 2/2] x86: cpu: fixup number of addressable IDs for logical processors sharing cache, Igor Mammedov, 2022/05/24
- Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on, Igor Mammedov, 2022/05/24
- Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on,
Igor Mammedov <=
- Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on, Moger, Babu, 2022/05/25
Re: [PATCH 0/2] i386: fixup number of logical CPUs when host-cache-info=on, Igor Mammedov, 2022/05/31