[libvirt] [PATCH] qemu: adjust maxmem/maxvcpu computation