Skip to content
Commit db912f96 authored by Avi Kivity's avatar Avi Kivity
Browse files

HOTPLUG: Add CPU_DYING notifier



KVM wants a notification when a cpu is about to die, so it can disable
hardware extensions, but at a time when user processes cannot be scheduled
on the cpu, so it doesn't try to use virtualization extensions after they
have been disabled.

This adds a CPU_DYING notification.  The notification is called in atomic
context on the doomed cpu.

Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent e495606d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment