sw64: kvm: enable binding_vcpu debug dynamically
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I5GFR5 -------------------------------- Add a bool debugfs file /sys/kernel/debug/sw_64/bind_vcpu, you can echo 1/Y to enable bind vcpu, or echo 0/N to disable it. Determin which node to bind the core according to the physical address assigned to the guest. Signed-off-by: NWang Yuanheng <wangyuanheng@wxiat.com> Signed-off-by: NGu Zitao <guzitao@wxiat.com>
Showing
arch/sw_64/kernel/bindvcpu.c
0 → 100644
想要评论请 注册 或 登录