From patchwork Tue May 12 19:33:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Foley X-Patchwork-Id: 186567 Delivered-To: patch@linaro.org Received: by 2002:a92:5b0a:0:0:0:0:0 with SMTP id p10csp238611ilb; Tue, 12 May 2020 12:34:36 -0700 (PDT) X-Google-Smtp-Source: APiQypKMH0CsxvYVs63OdDqVoNShlPNgApNM4/wRahtBMiH3FuSSmI6G1JavxpNqUzFrsYQX2/cS X-Received: by 2002:ac8:6f25:: with SMTP id i5mr23504833qtv.240.1589312076641; Tue, 12 May 2020 12:34:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589312076; cv=none; d=google.com; s=arc-20160816; b=ug79bh1Ch+4q7WvnAz+2IElH8gBAh/YyxbCLGuPK6WjJ7Yv3rMim8f8pBW1BlQRb7g X0vXXJZ5kWG/RlSeWLbPelXwgyfMPnKVRGvyIEc4hxyGcFQ32IERp/ANEsYNtsZRlcHI QNj2YP2peROqqFPjF4+3fuKUrOcDKhgX0c5cnvz85JasjBynl8DBcBM5j5ttNkTXUiyR hgXnt20u4yobUlakFy6NhFDaqfVMnWge+rUsVDpbXprnxWL/Gfl375+naBzbxedOpkXW GeHSBELE0cQmhoXobg6ZwcLlnYGUqozlIiv7ffhvb2d/ofv+5B3Fz3ixGNTQa5eiLSo8 RH9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=7CaZpTWka1C8MJsj1GeNh6KCoNtsbN5Y01Jpprc1T4w=; b=KmsZnGM1jr7q3AiWOqC0u1Hd148JnmR8iv04Zh3szc0i49mXXa3IOAs9Mwed57H1Mx jyj4r7mi3JFvWaFUns+nr0k2KFrR32e8rjnmj0wPbd/R1pwnUBElyz/2Pcu2FUYZMWzT xqqeNEfTEkAAIrv5w8JeUxQAQa6zdT63929B7W2R6rGVrXHiXPYtdbGTLOEtFBLN27+K ILR2hh3tmjuJ2nClIAhPFnRUR3oFEoDMJe8dJxIM4aDeXSUyZjL+B6UdF1hMGkVNjoAV 6bKj9BJRRmyqKkBTnvE3K6DbuP5CZFhH7YbwylERnQFJfWTTLa0/I5LDyuJndGCqVMkK ErIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=S0rwvBar; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id i24si1512675qkl.131.2020.05.12.12.34.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 May 2020 12:34:36 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=S0rwvBar; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:37860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jYafk-0000AF-45 for patch@linaro.org; Tue, 12 May 2020 15:34:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jYaeU-00008m-EJ for qemu-devel@nongnu.org; Tue, 12 May 2020 15:33:18 -0400 Received: from mail-qv1-xf42.google.com ([2607:f8b0:4864:20::f42]:45332) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jYaeT-0001lh-5Q for qemu-devel@nongnu.org; Tue, 12 May 2020 15:33:17 -0400 Received: by mail-qv1-xf42.google.com with SMTP id z9so4914356qvi.12 for ; Tue, 12 May 2020 12:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7CaZpTWka1C8MJsj1GeNh6KCoNtsbN5Y01Jpprc1T4w=; b=S0rwvBarPnNDzRix+kua2HM1NFKmJhogx0BjZTo5SqKTmJQUgaM15fx+SY67/6loDF nWyw0kdjwrAmfE+HVDGEpt7caxC2F8SkuJriPfoWjcqxkY9YuZ8e+fgsgT2M9OOUuBJr SbgnkChqhk1grRgtOh1I8vfGBeX5p0KaG21BvvF/oiI8xtVY8BX+DRpke2JJGoJllrb9 G5XMAU2IZ1GbebnRu9PUN7arhdXCg31Zn9w6RZRCB1pV0LE2KTeQn3Cibsa++vx5M1mY HqyDNrhIuuKyBzv9KqmDYNiZ/j/MuH44+X89XtjVy9GRl9+U72dUVh5sfL5ZxBxB504k t8Vg== 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:mime-version :content-transfer-encoding; bh=7CaZpTWka1C8MJsj1GeNh6KCoNtsbN5Y01Jpprc1T4w=; b=PEPgzhS8rCUlZK9PyaqFu815WfvgeMt58RgopZPlHQCayOrRwN8KBwD8e4Qm0MsRMw trN7hJgNL4Ysy695FPvMthd+hJfRVquWsU6xObV5E4hx8LHhTZ/OqOcM9V4luUbw15wE LKE2P0LUjz20lpegTjMeQoAQsg8bZ/9dPdk0KHtOy+GmvxV8jPuUEcPcla8eV8Iy971x 8IllyEPQR1UGdARCZ0FHfscX1TnGXnSMeXBMKlpEqYXw0y1sviOe0ucof6l67QMP38+y FtOMJlow6RgZfIATblFrkiqqHGbmXruNuW5k+LEFO7UwAw5ag6D2IrYfF1xj0nG/vwvq K5cQ== X-Gm-Message-State: AGi0Pubp79SSJ5ox8ND8ZTIq582EP4zp9dFeTbVqbpDal0fXHUthCJA8 t9+824shshpTJ/PkA57zgo3RaKAQ4Y89hg== X-Received: by 2002:a0c:ef05:: with SMTP id t5mr21451189qvr.113.1589311995399; Tue, 12 May 2020 12:33:15 -0700 (PDT) Received: from Rfoley-MA01.hsd1.ma.comcast.net ([2601:199:4480:60c0:d31:9f53:b3eb:9b53]) by smtp.gmail.com with ESMTPSA id j45sm2100998qtk.14.2020.05.12.12.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 May 2020 12:33:14 -0700 (PDT) From: Robert Foley To: qemu-devel@nongnu.org Subject: [PATCH v6 0/9] tests/vm: Add support for aarch64 VMs Date: Tue, 12 May 2020 15:33:31 -0400 Message-Id: <20200512193340.265-1-robert.foley@linaro.org> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::f42; envelope-from=robert.foley@linaro.org; helo=mail-qv1-xf42.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: philmd@redhat.com, alex.bennee@linaro.org, robert.foley@linaro.org, peter.puhov@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is version 6 of the patch series to add support for aarch64 VMs in the vm-build infrastructure. - Ubuntu 18.04 aarch64 VM - CentOS 8 aarch64 VM v5: https://lists.gnu.org/archive/html/qemu-devel/2020-04/msg05692.html Changes in v6 - Removed the use of the BOOT_CONSOLE option. We were thinking about moving this under the DEBUG=1 option, but decided to remove this since we already have support for logging to a file, which can be used instead. - Went back to Ubuntu 18.04. Still working on 20.04 issues and will plan on a later patch to enable 20.04. Robert Foley (9): tests/vm: Add configuration to basevm.py tests/vm: Added configuration file support tests/vm: Pass --debug through for vm-boot-ssh. tests/vm: Add ability to select QEMU from current build. tests/vm: allow wait_ssh() to specify command tests/vm: Added a new script for ubuntu.aarch64. tests/vm: Added a new script for centos.aarch64. tests/vm: change scripts to use self._config tests/vm: Add workaround to consume console configure | 25 +++ python/qemu/console_socket.py | 162 ++++++++++++++++++ python/qemu/machine.py | 23 ++- tests/vm/Makefile.include | 24 +++ tests/vm/aarch64vm.py | 105 ++++++++++++ tests/vm/basevm.py | 276 ++++++++++++++++++++++++------ tests/vm/centos-8-aarch64.ks | 51 ++++++ tests/vm/centos.aarch64 | 227 ++++++++++++++++++++++++ tests/vm/conf_example_aarch64.yml | 51 ++++++ tests/vm/conf_example_x86.yml | 50 ++++++ tests/vm/fedora | 17 +- tests/vm/freebsd | 16 +- tests/vm/netbsd | 19 +- tests/vm/openbsd | 17 +- tests/vm/ubuntu.aarch64 | 117 +++++++++++++ 15 files changed, 1089 insertions(+), 91 deletions(-) create mode 100644 python/qemu/console_socket.py create mode 100644 tests/vm/aarch64vm.py create mode 100644 tests/vm/centos-8-aarch64.ks create mode 100755 tests/vm/centos.aarch64 create mode 100644 tests/vm/conf_example_aarch64.yml create mode 100644 tests/vm/conf_example_x86.yml create mode 100755 tests/vm/ubuntu.aarch64 -- 2.17.1