[Libguestfs] Re: factorization would be nice