[libvirt] [PATCH 25/35] qemu: Refactor qemuDomainSetMemoryStatsPeriod by reusing virDomainObjGetDefs