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

Re: [Xen-devel] [PATCH] libxl: Use -vcpu_avail with qemu-xen.



On 03/06/13 09:37, Ian Campbell wrote:
> On Fri, 2013-05-31 at 17:39 +0100, Anthony PERARD wrote:
>> > This require the series CPU hotplug for qemu-xen.
>> > 
>> > Note: this patch is valid only for 4.3 as the -vcpu_avail will
>> > probably not be upstream to Qemu.
> Ugh. So how are we going to handle this in the future? libxl ideally
> needs to work with upstream qemu or our qemu seamlessly, which would
> mean needed to know whether to use -vcpu_avail vs. whatever upstream
> has. I'd much prefer to make our qemu export the same interface and use
> that...

It could maybe be removed all together. QEMU already know how many
initial CPUs there is. The only difference is the bitmap. -vcpu_avail is
giving to QEMU a bitmap of the running CPUs.

But I don't know if it useful to have a bitmap, or if a number is enough.

With QEMU upstream, we could actually pass the bitmap through several
QMP command "cpu-add CPUx", if a number is not enough.

-- 
Anthony PERARD

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.