[Libguestfs] libguestfs on PPC64

Richard W.M. Jones rjones at redhat.com
Tue Sep 10 21:47:09 UTC 2013


On Mon, Sep 09, 2013 at 11:37:52PM +0100, Richard W.M. Jones wrote:
>  - run the full test suite and fix any problems (in progress)

This is now largely working.  The most obvious issues:

 - hivex had some endianness bugs which affected libguestfs, and
   libguestfs had a similar endianness bug:

   https://github.com/libguestfs/libguestfs/commit/aee6fc4863c170d08e572dbdcfcb6f328edfc013
   https://github.com/libguestfs/hivex/commit/30c130df972756d651b33a2e0adf8f35052843c6
   https://github.com/libguestfs/hivex/commit/90ad0ca20e3dfddeb5e78008eb1909a27c581e8e
   https://github.com/libguestfs/hivex/commit/8e31fd84cb1c7edcd897ddaaea407774de459b2e

 - libguestfs had a number of issues related to ppc:

   https://github.com/libguestfs/libguestfs/commit/74938b895c1ad05378a74f0384dfe90cca70471f
   https://github.com/libguestfs/libguestfs/commit/7f90aa099847563114cbcca9893b1f3f8cb4430a

 - PowerPC's larger page size (64K vs 4K) requires more appliance memory:

   https://github.com/libguestfs/libguestfs/commit/aee17de30a5379f5160616805c90299b17fc3823

 - Btrfs is fairly broken, also seems to be related to larger page
   size.  I would suggest disabling it in libguestfs/ppc64 builds:

   libguestfs: error: btrfs_subvolume_create: /test1: ERROR: cannot create subvolume - No space left on device
   FAIL: test_btrfs_filesystem_sync_0
   libguestfs: error: btrfs_subvolume_create: /test1: ERROR: cannot create subvolume - No space left on device
   FAIL: test_btrfs_subvolume_delete_0
   libguestfs: error: mkfs_btrfs: /dev/sda1: Illegal leafsize (or nodesize) 4096 (smaller than 65536)
   FAIL: test_mkfs_btrfs_0

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list