On Wed, Nov 19, 2025 at 06:14:48PM +0530, Shrikanth Hegde wrote:
This is a debug patch which could be used to set the range of CPUs as
paravirt.
One could make use of this for quick testing of this infra instead of writing
arch specific code. This allows checking some corner cases by providing custom
cpumasks which isn't possible with arch method.
echo 100-200,600-700 > /sys/devices/system/cpu/paravirt
cat /sys/devices/system/cpu/paravirt
100-200,600-700
echo > /sys/devices/system/cpu/paravirt
cat /sys/devices/system/cpu/paravirt
Signed-off-by: Shrikanth Hegde <sshegde@linux.ibm.com>
---
This is currently not meant be merged, since paravirt sysfs file is meant
to be Read-Only. Hence the documentation hasn't changed. If this method is
really helpful, then can consider including it depending on the
discussion.
As you added this to this series, if it is picked up, it WILL be merged
:(
Please try a "Nacked-by:" or something else to keep patches from being
applied. Or better yet, send them as a totally separate series.
thanks,
greg k-h