[libvirt] [PATCH] libvirt: lxc: Add Get/Set vcpus for lxc
Wang Rui
moon.wangrui at huawei.com
Mon Aug 25 08:36:30 UTC 2014
On 2014/8/22 17:50, Li Yang wrote:
> 1.Add function to get vcpu count for lxc(vcpucount)
> 2.Add function to set vcpu count for lxc(setvcpus)
>
> Signed-off-by: Li Yang <liyang.fnst at cn.fujitsu.com>
> ---
> src/lxc/lxc_driver.c | 159 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 159 insertions(+), 0 deletions(-)
Does def->vcpus affect anything?
No matter how much vcpus I set in xml , it seems that the vcpu
count in container is equal to the host pcpu count.
More information about the libvir-list
mailing list