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

RE: [Xen-devel] dom0 vcpu set problem

Yes, acpi hotplug is for hvm vcpu hotplug.

To get more xenstore refer, you can access

Attached is the tool to dump xenstore, with it, you can get info for dom0 vcpu 
add/remove, like:
xm vcpu-set 0 1

xm vcpu-set 0 2

pv vcpu hotplug code is as what Jan said.


Jan Beulich wrote:
>>>> Dietmar Hahn <dietmar.hahn@xxxxxxxxxxxxxx> 11.05.10 08:19 >>>
>> Can anybody point me where in the code the acpi cpu hotplug gets
>> triggered to add the vcpu again to the dom0 kernel after setting the
>> xenstore! 
> No, ACPI hotplug code is not involved in pv domains' vCPU adding or
> removal. Instead, the pv kernels create a xenstore watch on their
> domain's "cpu" node, reading cpu/<id>/availability when the watch
> fires. See drivers/xen/core/cpu_hotplug.c (for the forward ported
> kernels) or drivers/xen/cpu_hotplug.c (for the pv-ops ones).
> Jan
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Attachment: dumpxenstore.sh
Description: dumpxenstore.sh

Xen-devel mailing list



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