Skip to content

Commit eac779a

Browse files
Zhenzhong Duanbostrovs
authored andcommitted
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 <[email protected]> Reviewed-by: Boris Ostrovsky <[email protected]> Signed-off-by: Boris Ostrovsky <[email protected]>
1 parent 0d805ee commit eac779a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/xen/enlighten.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,11 @@ int xen_cpuhp_setup(int (*cpu_up_prepare_cb)(unsigned int),
9393
int rc;
9494

9595
rc = cpuhp_setup_state_nocalls(CPUHP_XEN_PREPARE,
96-
"x86/xen/hvm_guest:prepare",
96+
"x86/xen/guest:prepare",
9797
cpu_up_prepare_cb, cpu_dead_cb);
9898
if (rc >= 0) {
9999
rc = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN,
100-
"x86/xen/hvm_guest:online",
100+
"x86/xen/guest:online",
101101
xen_cpu_up_online, NULL);
102102
if (rc < 0)
103103
cpuhp_remove_state_nocalls(CPUHP_XEN_PREPARE);

0 commit comments

Comments
 (0)