On Tue, May 01, 2012 at 11:05:50PM +0000, Peter Robinson wrote:
> commit a19c5d6fa5531041bca6888242dda8698ac30838
> Author: Peter Robinson <pbrobinson(a)gmail.com>
> Date: Wed May 2 00:05:39 2012 +0100
>
> Update supported filesystems for ARM
>
> libguestfs.spec | 17 ++++++++++++++++-
> 1 files changed, 16 insertions(+), 1 deletions(-)
> ---
> diff --git a/libguestfs.spec b/libguestfs.spec
> index 3de7021..f983ac9 100644
> --- a/libguestfs.spec
> +++ b/libguestfs.spec
> @@ -22,7 +22,7 @@ Summary: Access and modify virtual machine disk images
> Name: libguestfs
> Epoch: 1
> Version: 1.17.38
> -Release: 1%{?dist}
> +Release: 2%{?dist}
> License: LGPLv2+
> Group: Development/Libraries
> URL: http://libguestfs.org/
> @@ -95,7 +95,10 @@ BuildRequires: grep
> #BuildRequires: grub
> #%endif
> BuildRequires: gzip
> +# hfsplus-tools has issues on ARM due to issues with clang
> +%ifnarch %{arm}
> BuildRequires: hfsplus-tools
> +%endif
> BuildRequires: iproute
> BuildRequires: iputils
> %if !0%{?rhel}
> @@ -130,9 +133,12 @@ BuildRequires: vim-minimal
> BuildRequires: xfsprogs
> BuildRequires: xz
> BuildRequires: zerofree
> +# Not supported on ARM http://zfs-fuse.net/issues/94
> +%ifnarch %{arm}
> %if !0%{?rhel}
> BuildRequires: zfs-fuse
> %endif
> +%endif
>
> # Must match the above set of BuildRequires exactly!
> Requires: acl
> @@ -157,7 +163,10 @@ Requires: grep
> #Requires: grub
> #%endif
> Requires: gzip
> +# hfsplus-tools has issues on ARM due to issues with clang
> +%ifnarch %{arm}
> Requires: hfsplus-tools
> +%endif
> Requires: iproute
> Requires: iputils
> %if !0%{?rhel}
> @@ -192,9 +201,12 @@ Requires: vim-minimal
> Requires: xfsprogs
> Requires: xz
> Requires: zerofree
> +# Not supported on ARM http://zfs-fuse.net/issues/94
> +%ifnarch %{arm}
> %if !0%{?rhel}
> Requires: zfs-fuse
> %endif
> +%endif
>
> # These are only required if you want to build the bindings for
> # different languages:
> @@ -1065,6 +1077,9 @@ rm -rf $RPM_BUILD_ROOT
>
>
> %changelog
> +* Tue May 1 2012 Peter Robinson <pbrobinson(a)fedoraproject.org> - 1:1.17.38-2
> +- Update supported filesystems for ARM
> +
> * Tue May 01 2012 Richard W.M. Jones <rjones(a)redhat.com> - 1:1.17.38-1
> - New upstream version 1.17.38.
I've been slowly working through the deps of libguestfs, libvirt and
qemu, trying to get everything to work. The main issue right now is
qemu doesn't work at all on arm, so although libguestfs/libvirt might
be able to compile, they don't do anything useful.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGWhttp://www.annexia.org/fedora_mingw
On Thu, Mar 22, 2012 at 02:02:26PM -0600, Orion Poplawski wrote:
> On 03/22/2012 01:30 PM, Brendan Conoboy wrote:
> >On 03/22/2012 11:10 AM, Orion Poplawski wrote:
> >>I started looking at:
> >>
> >>http://fedoraproject.org/wiki/Architectures/ARM/HowToQemu
> >>
> >>VM starts okay in F16 with setsebool -P virt_use_execmem=on
> >>
> >>But the image is a Fedora 12 system. Any updated images out there?
> >
> >You should be able to use the F17 alpha 1 image. The pointer is it:
> >
> >http://fedoraproject.org/wiki/Architectures/ARM
> >
> >We'll have the document updated for this soon. I've set reply-to to the arm
> >list since the responsible parties are all there.
> >
>
> Sorry, still very green with vm wrangling. How do I take the rootfs
> tarball and make a qemu image I can use with libvirt?
I've not actually tried it for this situation, but virt-make-fs can
turn a tarball into a disk image.
http://libguestfs.org/virt-make-fs.1.html
Probably something like this:
virt-make-fs -s 1G -t ext3 -F raw --partition=mbr rootfs.tar disk.img
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
In general pretty good - they work well. However there are a few
problems I encountered:
(1) There's no source for the boot scripts. I think you should put
the source along side the binaries, in /boot/uboot. I ended up using
'strings' and reconstructing them.
(2) The sda boot script works fine, however the mmc boot script fails.
'fatload mmc 0:1 ...' should be 'fatload mmc 1:1 ...' (in both places).
(3) If you have both images installed, then it boots one of them at
random, because it boots from 'root=LABEL=rootfs' which picks one of
the labelled root devices at random.
This is not a completely stupid configuration: you need to do this if
you're booting from a USB key and copying the mmc image to the
internal drive. At some point you'll have a trimslice with both the
sda image and the mmc image. Probably better to use UUIDs, or to have
different labels.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
New in Fedora 11: Fedora Windows cross-compiler. Compile Windows
programs, test, and build Windows installers. Over 70 libraries supprt'd
http://fedoraproject.org/wiki/MinGWhttp://www.annexia.org/fedora_mingw