[Libguestfs] [PATCH v2 07/17] v2v: factor out determing the guest firmware