I saw you have update maxvcpus() in virsh.py, return a CmdResult object.so here need a small modification :)