Messages in this thread | | | From | Paolo Bonzini <> | Date | Tue, 12 Dec 2023 14:38:02 +0100 | Subject | Re: [PATCH v2 1/2] KVM: Use syscore_ops instead of reboot_notifier to hook restart/shutdown |
| |
On Tue, Dec 12, 2023 at 9:51 AM Gowans, James <jgowans@amazon.com> wrote: > 1. Does hardware_disable_nolock actually need to be done on *every* CPU > or would the offlined ones be fine to ignore because they will be reset > and the VMXE bit will be cleared that way? With cooperative CPU handover > we probably do indeed want to do this on every CPU and not depend on > resetting.
Offlined and onlined CPUs are handled via the CPU hotplug state machine, which calls into kvm_online_cpu and kvm_offline_cpu.
Paolo
| |