Re: [PATCH v4 4/5] lxc: Implement virtual /proc/cpuinfo via LXC fuse

2020-02-25 Thread Daniel P . Berrangé
On Mon, Feb 24, 2020 at 11:24:28AM -0300, Julio Faracco wrote: > This commit tries to fix lots of issues related to LXC VCPUs. One of > them is related to /proc/cpuinfo content. If only 1 VCPU is set, LXC > containers will show all CPUs available for host. The second one is > related to CPU share,

[PATCH v4 4/5] lxc: Implement virtual /proc/cpuinfo via LXC fuse

2020-02-24 Thread Julio Faracco
This commit tries to fix lots of issues related to LXC VCPUs. One of them is related to /proc/cpuinfo content. If only 1 VCPU is set, LXC containers will show all CPUs available for host. The second one is related to CPU share, if an user set only 1 VCPU, the container/process will use all