[libvirt] [PATCH 1/6] Add missing checks for QEMU domain state in memory parameter code