From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Handling CPU unplug failure Date: Thu, 4 Feb 2016 11:59:54 -0500 Message-ID: <56B3838A.5060203@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org While playing with CPU hotplug I noticed that if a guest fails to unplug a VCPU the toolstack will mark VCPU's availability in xenstore as "offline" even though that VCPU is still running in the guest. It's easy to see this by doing 'xl vcpu-set 0', which is presumably not a realistic scenario but we can get into the same situation if, for example, the guest is configured without hotplug support or some operations during unplug fail. Should we at least document this behavior (that 'availability' entry in xenstore is unreliable) somewhere? -boris