From bcef63ed4306ac8cbfac5c68c828b10e129c3475 Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Wed, 1 Apr 2015 15:47:36 +0000 Subject: [PATCH] Update qemu package name for Ubuntu aarch64 The qemu-system package, and not qemu-kvm, should be installed on either trusty- or utopic-based ARMv8 (aarch64) Ubuntu releases. Additionally, libguestfs is not available so that is not installed. No changes are required for vivid. Change-Id: Id9dc1fc465bd7acab17c991c292fb531016758ad Signed-off-by: Andrew McDermott --- lib/nova_plugins/functions-libvirt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 lib/nova_plugins/functions-libvirt diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt old mode 100644 new mode 100755 index fa3666eff7..d4a07688cd --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -23,11 +23,15 @@ DEBUG_LIBVIRT=$(trueorfalse True DEBUG_LIBVIRT) # Installs required distro-specific libvirt packages. function install_libvirt { if is_ubuntu; then - install_package qemu-kvm + if is_arch "aarch64" && [[ ${DISTRO} =~ (trusty|utopic) ]]; then + install_package qemu-system + else + install_package qemu-kvm + install_package libguestfs0 + install_package python-guestfs + fi install_package libvirt-bin libvirt-dev pip_install libvirt-python - install_package libguestfs0 - install_package python-guestfs #pip_install elif is_fedora || is_suse; then install_package kvm