diff options
author | Shuo Liu <[email protected]> | 2021-02-21 21:43:39 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 09:16:09 +0100 |
commit | e54b78886949e16301e8ac3cc4b2b43969bfe5fa (patch) | |
tree | dc53ba030dc738e31f686c3338b0dd8f60b96e7d /lib/mpi/mpiutil.c | |
parent | 51f24030358bdeeb9e75a38618dd029c5a53beeb (diff) |
virt: acrn: Make remove_cpu sysfs invisible with !CONFIG_HOTPLUG_CPU
Without cpu hotplug support, vCPU cannot be removed from a Service VM.
Don't expose remove_cpu sysfs when CONFIG_HOTPLUG_CPU disabled.
Cc: Stephen Rothwell <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Qais Yousef <[email protected]>
Acked-by: Randy Dunlap <[email protected]> # build-tested
Signed-off-by: Shuo Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions