<div dir="ltr">Hi,guys! I've been using LXC to do my CS homework recently. I want to develop a manage system like virtManager to manage my LXCs with libvirt APIs(python binding).But the problem existed in vCPU controlling. When I run the command:<div>
jack@jack:~$ virsh -c lxc:/// vcpuinfo lxc1</div><div>error: this function is not supported by the connection driver: virDomainGetVcpus</div><div><br></div><div>jack@jack:~$ virsh -c lxc:/// vcpupin lxc1</div><div>error: this function is not supported by the connection driver: virDomainGetVcpuPinInfo</div>
<div><br></div><div>jack@jack:~$ virsh -c lxc:/// vcpucount lxc1</div><div>error: Failed to retrieve maximum vcpu count</div><div>error: Failed to retrieve current vcpu count</div><div><br></div><div>I wonder is there any other way to change the vCPU amount.</div>
<div>(LXC1.0.0 and libvirt1.1.1 are used in the test)</div><div><br></div><div>Thank you!</div><div><br></div><div> </div></div>