[libvirt] [PATCHv2] qemu: fix unsuitable error report when get memory stats