[Note I'm not bothering with 32 bit ppc any more since it is effectively obsolete.] Libguestfs now works on ppc64 using the 'direct' backend. You will need: - libguestfs 1.23.21 + 7f90aa0998 - supermin 4.1.x (only tested with supermin-4.1.5-2.fc21.ppc64, but earlier versions should work) - qemu-system-ppc64 compiled from git (qemu 1.4 & 1.6 known to be broken) - kernel-3.10.10-200.fc19.ppc64, earlier versions should work - real ppc64 hardware There are multiple bugs which stop you installing Fedora/ppc64 on qemu-system-ppc64 running on x86-64. Since Fedora 19 has dropped support for PR KVM, and since the Apple G5 I use for testing does not support real HV KVM, I could not test this using KVM, only using TCG. Next steps are: - run the full test suite and fix any problems (in progress) - get it working with the libvirt backend All features should be fully supported except the UML backend won't work (limitation of UML). Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
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
On Tue, Sep 10, 2013 at 10:08:21PM -0400, Britt Dodd wrote:> Hypothetically speaking, could libguestfs be tweaked to run on ppc32 as > well?[Let's keep the replies on list] Theoretically yes, although I've not tried it. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming blog: http://rwmj.wordpress.com Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
As soon as I get a ppc32 machine up and running (install F17, Update to F19, compile the prerequisites, etc) I'll try this out on ppc32. I'm hoping there's other ppc32 users out there who would like to see stable distributions of linux other than me. On Wed, Sep 11, 2013 at 5:31 AM, Richard W.M. Jones <rjones@redhat.com>wrote:> On Tue, Sep 10, 2013 at 10:08:21PM -0400, Britt Dodd wrote: > > Hypothetically speaking, could libguestfs be tweaked to run on ppc32 as > > well? > > [Let's keep the replies on list] > > Theoretically yes, although I've not tried it. > > Rich. > > -- > Richard Jones, Virtualization Group, Red Hat > http://people.redhat.com/~rjones > Read my programming blog: http://rwmj.wordpress.com > Fedora now supports 80 OCaml packages (the OPEN alternative to F#) >