[Libguestfs] [PATCH 0/6] p2v: start making it independent

Pino Toscano ptoscano at redhat.com
Mon Jul 1 16:51:16 UTC 2019


As preliminary steps in splitting virt-p2v to an own repository,
start making p2v more independent within libguestfs.  This is
accomplished by the following changes:
- generate the p2v kernel config sources & docs at build time using a
  Perl script, rather than the generator (so no need for OCaml when
  building from git, and no generated sources in dist tarballs)
- create two local test images: instead of a phony Windows image there
  is a real Fedora guest, to avoid requiring hivex (for Windows) or more
  copied phony test data (for Fedora)
- create an own .gitignore for p2v

This is still not complete, although it does a number of important
changes, and it still makes p2v usable within libguestfs.

Pino Toscano (6):
  p2v: move kernel config to perl script
  p2v: move kernel config POD docs to perl script
  generator: remove p2v_config
  p2v: split gitignore
  p2v: tests: switch windows image with local fedora one
  p2v: tests: use a local blank-part disk image

 .gitignore                  |  37 --
 configure.ac                |   5 +
 docs/C_SOURCE_FILES         |   3 -
 generator/Makefile.am       |   3 -
 generator/main.ml           |   9 -
 generator/p2v_config.ml     | 835 --------------------------------
 generator/p2v_config.mli    |  22 -
 p2v/.gitignore              |  48 ++
 p2v/Makefile.am             |  36 +-
 p2v/generate-p2v-config.pl  | 915 ++++++++++++++++++++++++++++++++++++
 p2v/test-virt-p2v-nbdkit.sh |  18 +-
 p2v/test-virt-p2v-pxe.sh    |  16 +-
 p2v/test-virt-p2v.sh        |  18 +-
 13 files changed, 1014 insertions(+), 951 deletions(-)
 delete mode 100644 generator/p2v_config.ml
 delete mode 100644 generator/p2v_config.mli
 create mode 100644 p2v/.gitignore
 create mode 100755 p2v/generate-p2v-config.pl

-- 
2.21.0




More information about the Libguestfs mailing list