From patchwork Fri Feb 24 14:11:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Matwey V. Kornilov" X-Patchwork-Id: 94506 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp885180qgi; Fri, 24 Feb 2017 13:49:46 -0800 (PST) X-Received: by 10.223.163.213 with SMTP id m21mr4840442wrb.66.1487972986619; Fri, 24 Feb 2017 13:49:46 -0800 (PST) Return-Path: Received: from mx5-phx2.redhat.com (mx5-phx2.redhat.com. [209.132.183.37]) by mx.google.com with ESMTPS id z65si3873022wme.157.2017.02.24.13.49.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 13:49:46 -0800 (PST) Received-SPF: pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.37 as permitted sender) client-ip=209.132.183.37; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; spf=pass (google.com: domain of libvir-list-bounces@redhat.com designates 209.132.183.37 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by mx5-phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1OLkx2P011161; Fri, 24 Feb 2017 16:46:59 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id v1OEC5T7009251 for ; Fri, 24 Feb 2017 09:12:05 -0500 Received: from mx1.redhat.com (ext-mx05.extmail.prod.ext.phx2.redhat.com [10.5.110.29]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1OEC41m015897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 24 Feb 2017 09:12:04 -0500 Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B96453A76BB for ; Fri, 24 Feb 2017 14:12:03 +0000 (UTC) Received: by mail-lf0-f68.google.com with SMTP id x142so677265lfd.1 for ; Fri, 24 Feb 2017 06:12:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GhpuBM53K3ifalO04buuk1H0vxtr4gsg+Vwd5MNgHg0=; b=bgLicKBU0X+WYJwR5AHMstQvoe7VU8YdMySqkjzPLc5N6fTXVVxOdbDad9zrxRx2T7 Vt9h8jG77ULAURNQRgeVulC8uKHcuqHrsYJUx7BCz5Y7lmNdNnihU/Lu0KlBRrN/A30U ZwNJKIaPSdySiKNuZ4eVo96AjeJnCTugbkqkaG0/c6oumg05VmGs3DqhMDHn3ZJ6v9yN wvSUdDKIRa4CpKVI97mEpDizFzFdXMi46VeytjWgf4VDlEM+scVb9YhV11MYPELLaxbd dwQixisBu6tG/H2TjDhAlfU956T9XfsGGXzfnM12xu1487OHEbchjGkLHAhs5gFc5pIg y2mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GhpuBM53K3ifalO04buuk1H0vxtr4gsg+Vwd5MNgHg0=; b=aTUgFg3Sga3ZoS9UB7E5ZQ8uAlqQcsrWd5eQXqhzCPx9DkP4JB5bVxfQaOC9kvebaQ tW5cc2+3KjhdlHbPz210oec8DPKS+WSibb/7PcgBkRkxZIfYGeIPhWdzsmTPzjPRLTYZ QIwuZPK7zd28qz4xUA2sKIfPunN188/AOZ+5iPp43s54CLkAkr1H76WmevDdsoSdnLvQ O3DKkBibXcm399heuFKqs5JEw0l4PhdzTuQqz0+HJAvU1QPXDvFCL6lcSoFYo2/dCneJ LkaYWkD4SWJH7UO/+GkMNkHIM11UvUgEn2pWTd8/3v6JEGJbvQsCFsp7URyGxoFmCt79 HedQ== X-Gm-Message-State: AMke39nswywVWzqY0ekYk6iBn2KNXrz4uH8zF8NxlSvkuNK8CBYkTq7uqC2dWxK2BaN34g== X-Received: by 10.46.33.158 with SMTP id h30mr807160lji.53.1487945520938; Fri, 24 Feb 2017 06:12:00 -0800 (PST) Received: from oak.local ([92.243.181.209]) by smtp.gmail.com with ESMTPSA id r8sm1150901ljd.47.2017.02.24.06.11.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Feb 2017 06:12:00 -0800 (PST) From: "Matwey V. Kornilov" To: libvir-list@redhat.com Date: Fri, 24 Feb 2017 17:11:52 +0300 Message-Id: <1487945512-5495-2-git-send-email-matwey.kornilov@gmail.com> In-Reply-To: <1487945512-5495-1-git-send-email-matwey.kornilov@gmail.com> References: <1487945512-5495-1-git-send-email-matwey.kornilov@gmail.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 24 Feb 2017 14:12:03 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Fri, 24 Feb 2017 14:12:03 +0000 (UTC) for IP:'209.85.215.68' DOMAIN:'mail-lf0-f68.google.com' HELO:'mail-lf0-f68.google.com' FROM:'matwey.kornilov@gmail.com' RCPT:'' X-RedHat-Spam-Score: 1.18 * (BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_SPAM, SPF_PASS) 209.85.215.68 mail-lf0-f68.google.com 209.85.215.68 mail-lf0-f68.google.com X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Scanned-By: MIMEDefang 2.78 on 10.5.110.29 X-loop: libvir-list@redhat.com X-Mailman-Approved-At: Fri, 24 Feb 2017 16:46:05 -0500 Cc: "Matwey V. Kornilov" Subject: [libvirt] [PATCH] Add aarch64 to virArch X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com Signed-off-by: Matwey V. Kornilov --- src/lxc/lxc_container.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.1.4 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list diff --git a/src/lxc/lxc_container.c b/src/lxc/lxc_container.c index 99bd7e9..95c0cfc 100644 --- a/src/lxc/lxc_container.c +++ b/src/lxc/lxc_container.c @@ -2285,6 +2285,8 @@ virArch lxcContainerGetAlt32bitArch(virArch arch) return VIR_ARCH_MIPS; if (arch == VIR_ARCH_MIPS64EL) return VIR_ARCH_MIPSEL; + if (arch == VIR_ARCH_AARCH64) + return VIR_ARCH_ARMV7L; return VIR_ARCH_NONE; }