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

2016-09-09 Thread Eduardo Habkost
On Wed, Sep 07, 2016 at 09:52:59AM +0800, Dou Liyang wrote: [...] > > > > The option: > > -smp MODEL,+FOO,+BAR > > I guess you may mean "-cpu", not "-smp" Oops, yes. Thanks. :) > > > is internally translated to: > > -global MODEL.FOO=on > > -global MODEL.BAR=on > > in addition to setting

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

2016-09-06 Thread Dou Liyang
Hi, Eduardo At 09/07/2016 04:05 AM, Eduardo Habkost wrote: On Tue, Aug 23, 2016 at 01:17:01PM +0800, Dou Liyang wrote: Hi Alexandre, At 08/22/2016 04:56 PM, Alexandre DERUMIER wrote: Hello, I'm looking to implement cpu hotplug, and I have a question about cpu flags currently I have somethi

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

2016-09-06 Thread Eduardo Habkost
On Tue, Aug 23, 2016 at 01:17:01PM +0800, Dou Liyang wrote: > Hi Alexandre, > > At 08/22/2016 04:56 PM, Alexandre DERUMIER wrote: > > Hello, > > > > I'm looking to implement cpu hotplug, > > > > and I have a question about cpu flags > > > > currently I have something like > > > > -cpu qemu64,+

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

2016-08-22 Thread Dou Liyang
Hi Alexandre, At 08/22/2016 04:56 PM, Alexandre DERUMIER wrote: Hello, I'm looking to implement cpu hotplug, and I have a question about cpu flags currently I have something like -cpu qemu64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -smp 4,sockets=2,cores=2,maxcpus=4 Does I need to

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

2016-08-22 Thread Alexandre DERUMIER
Hello, I'm looking to implement cpu hotplug, and I have a question about cpu flags currently I have something like -cpu qemu64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -smp 4,sockets=2,cores=2,maxcpus=4 Does I need to define flags like: -smp 2,sockets=2,cores=2,maxcpus=4 -device qem