qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] docs: add cpu-hotplug.txt


From: Dou Liyang
Subject: Re: [Qemu-devel] [PATCH v2] docs: add cpu-hotplug.txt
Date: Mon, 15 Aug 2016 11:48:59 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

Hi drew,

在 2016年08月12日 23:44, Andrew Jones 写道:

Hi Dou,

I'm catching up on mail after vacation so I reviewed the wrong
version of this patch first... Darn. I'll try again with this
version. Please still check my comments in that old version though,
as I'm going faster through this one and may miss things that are
here too (although not all comments are still applicable)

Yes, I will.


+For example, the following command-line:
+
+ qemu [...] -smp 3,maxcpus=10,sockets=2,cores=2,threads=2

Same as my v0 comments. sockets*cores*threads must be exactly maxcpus

I see. I will modify the example.

However, when I executed the example in current QEMU, I can hotplug an
CPU device in the location(socket-id=2,core-id=0,thread-id=1) which was
not in the CPU topology successfully.

1: If we need a judgment: "maxcpus==sockets*cores*threads" when parsing the command line.

2: If replacing the maxcpus by the sockets*cores*threads in QEMU when a
complete topology is given.

Thanks,

Dou





reply via email to

[Prev in Thread] Current Thread [Next in Thread]