[Libguestfs] [PATCH 0/3] inspection: tweak limits of package manager files

Pino Toscano ptoscano at redhat.com
Fri Nov 30 12:07:46 UTC 2018


I got a recent report of virt-v2v (via virt-p2v) failing to migrate a
Fedora guest.  The issue was that its /var/lib/rpm/Packages was bigger
than our current limit (~410M vs 300M), hence the inspection failed.

I took the liberty to refactor the limits of the these files, bumping
the problematic one, and reducing the ones of the others (as they are
supposed to be way smaller than the limit).

Pino Toscano (3):
  lib: move MAX_PKG_DB_SIZE to inspect-apps
  lib: inspect: split limits of package manager files
  lib: inspect: tweak limits of package manager files

 lib/guestfs-internal.h |  9 ---------
 lib/inspect-apps.c     | 23 +++++++++++++++++++----
 2 files changed, 19 insertions(+), 13 deletions(-)

-- 
2.17.2




More information about the Libguestfs mailing list