I am using the python bindings for Libvirt. How can I add or remove VCPU and memory for domains in Xen with libvirt?
In command line I am using:
Vcpu:
xm vcpu-set [domain-id] [count in #cores]
Memory:
Memory: xm mem-set [domain-id] [count in MB]
How can I run these commands in python with the libvirt bindings? Without using the subprocess.