Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xen/vcpu: Use a unified name about cpu hotplug state for pv and pvhvm

As xen_cpuhp_setup is called by PV and PVHVM, the name of "x86/xen/hvm_guest"
is confusing.

Signed-off-by: Zhenzhong Duan <zhenzhong.duan@oracle.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

authored by

Zhenzhong Duan and committed by
Boris Ostrovsky
eac779aa 0d805ee7

+2 -2
+2 -2
arch/x86/xen/enlighten.c
··· 93 93 int rc; 94 94 95 95 rc = cpuhp_setup_state_nocalls(CPUHP_XEN_PREPARE, 96 - "x86/xen/hvm_guest:prepare", 96 + "x86/xen/guest:prepare", 97 97 cpu_up_prepare_cb, cpu_dead_cb); 98 98 if (rc >= 0) { 99 99 rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, 100 - "x86/xen/hvm_guest:online", 100 + "x86/xen/guest:online", 101 101 xen_cpu_up_online, NULL); 102 102 if (rc < 0) 103 103 cpuhp_remove_state_nocalls(CPUHP_XEN_PREPARE);