[libvirt] How to build libvirt installation environment on ARM64?

Hi all, The libvirt can be used for ARM64? If it can be used for ARM64, what resources are needed for setup ? How to build libvirt installation environment on ARM64? I got some resource as follow: 1.ARM64 hardware is based Cortex-A57 fastmodel 2.Host and Guest kernel is linux 3.13.0 3.ARM64 filesystem from linaro releases (http://releases.linaro.org/latest/openembedded/aarch64/) 4.Qemu 1.6.50 5.Libvirt-1.2.0 My configure shell as follow: export PKG_CONFIG=/usr/local/bin/pkg-config export PKG_CONFIG_SYSROOT_DIR=/home/aarch64 export PKG_CONFIG_PATH=/home/aarch64/usr/lib/pkgconfig ./configure --target=aarch64 \ --prefix=/home/chenq/libvirt/install \ --host=aarch64-linux-gnu \ --libdir=/home/aarch64 CC=aarch64-linux-gnu-gcc \ LIBXML_CFLAGS="/home/aarch64/usr/lib" CFLAGS="/home/aarch64/usr/include/libfdt" LDFLAGS="/home/aarch64/lib" Then configure error as follow: … checking for DEVMAPPER... no checking for dm_task_run in -ldevmapper... no checking libdevmapper.h usability... no checking libdevmapper.h presence... no checking for libdevmapper.h... no configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt I think this only one error is found. The libvirt depends on a lot of other libs,it will be find more similar errors. So, how to create a friendly environment to compile and install libvirt on ARM64 ? Thanks, --Kuhn

On Thu, Mar 13, 2014 at 09:16:55AM +0000, Chenqun (kuhn) wrote:
Hi all,
The libvirt can be used for ARM64? If it can be used for ARM64, what resources are needed for setup ? How to build libvirt installation environment on ARM64?
I got some resource as follow:
3.ARM64 filesystem from linaro releases (http://releases.linaro.org/latest/openembedded/aarch64/)
configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt
I think this only one error is found. The libvirt depends on a lot of other libs,it will be find more similar errors. So, how to create a friendly environment to compile and install libvirt on ARM64 ?
Using the sample filesystems from Linaro isn't really going to be a viable strategy. While they're ok for people working on enablement / testing of the basic hardware / low level OS, they're not going to be complete enough for building non-trivial applications like libvirt. You're going to need a full OS like Fedora, but that's still only in POC stage for AArch64 Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

Hi Daniel
I think this only one error is found. The libvirt depends on a lot of other libs,it will be find more similar errors. So, how to create a friendly environment to compile and install libvirt on ARM64 ?
Using the sample filesystems from Linaro isn't really going to be a viable strategy. While they're ok for people working on enablement / testing of the basic hardware / low level OS, they're not going to be complete enough for building non-trivial applications like libvirt. You're going to need a full OS like Fedora, but that's still only in POC stage for AArch64
Thank you for your reply! But I don't find any full OS for AArch64, they all seem to be X86. Could you give some paths to download it? Thanks, --Kuhn

On Thu, Mar 13, 2014 at 12:45:11PM +0000, Chenqun (kuhn) wrote:
Hi Daniel
I think this only one error is found. The libvirt depends on a lot of other libs,it will be find more similar errors. So, how to create a friendly environment to compile and install libvirt on ARM64 ?
Using the sample filesystems from Linaro isn't really going to be a viable strategy. While they're ok for people working on enablement / testing of the basic hardware / low level OS, they're not going to be complete enough for building non-trivial applications like libvirt. You're going to need a full OS like Fedora, but that's still only in POC stage for AArch64
Thank you for your reply! But I don't find any full OS for AArch64, they all seem to be X86. Could you give some paths to download it?
AFAIK, no one is shipping any AArch64 OS yet - they're all still just doing proof of concept prep work, since the hardware isn't even widely available yet. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (2)
-
Chenqun (kuhn)
-
Daniel P. Berrange