[libvirt] [PATCH v2 7/9] vircgroupmock: rewrite cgroup fopen mocking