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(a)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.
Thanks for your respond.
Yes, the vcpus in xml doesn't affect container internal vcpu count, I wrote these
functions because I
saw `virsh setmem/setmaxmem` has already been working on domain's xml although it
doesn't
affect container internal memory information.