[libvirt] [PATCH] qemu: fix the error cover issue in SetMemoryParameters