[Libguestfs] [PATCH FOR DISCUSSION ONLY v2] v2v: Add -o kubevirt output mode.

Richard W.M. Jones rjones at redhat.com
Wed Mar 28 11:43:44 UTC 2018


On Wed, Mar 28, 2018 at 01:37:06PM +0200, Piotr Kliczewski wrote:
> On Wed, Mar 28, 2018 at 1:01 PM, Richard W.M. Jones <rjones at redhat.com>
> wrote:
> 
> > On Wed, Mar 28, 2018 at 12:33:56PM +0200, Piotr Kliczewski wrote:
> > > configure: error: Package requirements (jansson >= 2.7) were not met:
> >
> > You need to install jansson-devel.
> >
> 
> OK, In addition I had to install ocaml-hivex-devel (failed during make)

I see - are you doing this on RHEL 7?

It's unfortunate that the builddeps for RHEL 7.5 no longer match the
builddeps needed for upstream 1.38 (although it will synch up again in
RHEL 7.6).  So there may be a few missing things like this.  Those are
probably the only two.

Also if you're on RHEL 7 there are a few other changes.  Best thing is
to copy the attached files into the source directory and use
‘./localconfigure’ instead of ‘./configure’, which should deal with
everything I think.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v
-------------- next part --------------
. localenv

# Copy in some files we need for Windows testing.
cp /usr/lib64/guestfs/supermin.d/zz-winsupport.tar.gz appliance/supermin.d/

# --enable-gtk-doc is a temporary hack
./autogen.sh \
  --prefix /usr \
  --libdir /usr/lib64 \
  --disable-static \
  --with-default-backend=libvirt \
  --enable-gcc-warnings \
  --enable-gtk-doc \
  -C \
  "$@"

#  --enable-valgrind-daemon
#  --with-febootstrap-yum-config=$(pwd)/local.repo
#  --with-extra-packages="valgrind"
-------------- next part --------------
# NB: -*- Makefile -*- AND a shell script.

#export SUPERMIN=/home/rjones/d/supermin/src/supermin
export SUPERMIN=/usr/bin/supermin5

# Parallel test runs out of resources starting qemu, unclear why.
export SKIP_TEST_PARALLEL_MOUNT_LOCAL=1

# Skip vfs-minimum-size test which requires btrfs-progs >= 4.2
export SKIP_TEST_VFS_MINIMUM_SIZE_2=1

# This test fails if the available memory is ~ 4 GB, as it is
# on the test machine.
export SKIP_TEST_BIG_HEAP=1

# qemu-img: ./disk6.img: Could not preallocate data for the new file: Bad file descriptor
# https://bugzilla.redhat.com/1265196
export SKIP_TEST_DISK_CREATE_SH=1
export SKIP_TEST_V2V_OA_OPTION_SH=1

# Skip tests which fail because discard does not work on NFS.
export SKIP_TEST_BLKDISCARD_PL=1
export SKIP_TEST_FSTRIM_PL=1
export SKIP_TEST_DISCARD_PL=1
export SKIP_TEST_VIRT_SPARSIFY_IN_PLACE_SH=1

# libguestfs: error: mkfs_btrfs: /dev/sda1: Error: mixed metadata/data block groups require metadata blocksizes equal to the sectorsize
export SKIP_TEST_MKFS_BTRFS_0=1

# These fail on RHEL 7.
export SKIP_TEST_FILE_ARCHITECTURE_5=1
export SKIP_TEST_FILE_ARCHITECTURE_16=1
export SKIP_TEST_XFS_ADMIN_0=1
export SKIP_TEST_9P_SH=1


More information about the Libguestfs mailing list