Skip to contentSkip to conversation

xl vcpu-set in HVM domU fails change cpu online count

DISCUSSION Olaf Hering 1 participant 1 message Feb 13, 2018

lore
Share & tools
lore
#0 lore raw

xl vcpu-set with a HVM domU sends an ACPI event to do hot-add of cpus. But if the vcpu count is decreased the domU does not offline any cpu. So far the only way to enforce offlining is to process the output of 'xenstore-watch cpu'.

Why is HVM excluded in drivers/xen/cpu_hotplug.c:setup_vcpu_hotplug_event()? I think that would be the place to receive notifications from xenstore about cpus being offlined/onlined.

Olaf

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel