Skip to contentSkip to conversation

Handling CPU unplug failure

DISCUSSION Boris Ostrovsky 1 participant 1 message Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

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 <domid> 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