Received: by 2002:a17:906:c8d8:b0:a3e:79c1:d636 with SMTP id gc24csp638299ejb; Mon, 19 Feb 2024 03:54:32 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXf/OLYyDFlwUz3S4vVDx8Z4ylLSBUrXNO0znCWXTJiumzsHwWKDC216TF8evUKEDOZi1eX0dEY5/004CJN9SJ4XR/j1/+I X-Google-Smtp-Source: AGHT+IE3fc6WDCMEFi5gWTp00LtS/Fx5Dc4o02iTf0pODtk+aLdpu5k6Yy7OSAh/kS26ckAm2sF2 X-Received: by 2002:a67:f4c9:0:b0:470:4671:2fbf with SMTP id s9-20020a67f4c9000000b0047046712fbfmr2610120vsn.23.1708343672425; Mon, 19 Feb 2024 03:54:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708343672; cv=none; d=google.com; s=arc-20160816; b=GtAp+wF/sXQKlA0tTtuIfM2HdyxmPR7GpbP/oVlcKc7XA/p4dRtf6Edx/PIiBaAVI4 a8yUDOJygMbMUw6XEZlUnSyYjgPeBFX0z76t7MK2MoHAW2I+9LjJkyCQDMk9d9rZo9AB dNZ/zILMr44UZVeRpPTdfqENRl8qnU3UneLbwuD3SYlh/2WStl76sjfPgJVMehsOSjRV GDSYW5dntt702HjsmaPeahxDmvP7BTWSQhABVNCnXO2mVcosyXDogHvQqqQGrhlY+Mok 3j7sMhj860IJD9sOeE6vMU1YyIBPm+ynvIQVOCJPezCfh9gU+RGohZSXySBUioz9jMfG 1JXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :content-language:in-reply-to:autocrypt:from:references:cc:to :subject:user-agent:mime-version:date:message-id:dkim-signature; bh=nJTlbNZGSu0rMY5oSLoI1s4ihtcUUXubZG3uqw8d3xs=; fh=k3GqVeJXd5bFbmrXeP1NGQqnaFVynbKb/8BuBCxhPcA=; b=sTD7iC1hOpBvmR90uhEG45tuxI1I6XLkwOQiaCZLUTh02ONSnXYkvh3rfRL3oahH+n qERantT+Y+LNFJzTjHSvogTzSeqiU56B1eusWxhpEryUqFFrt2deVTPr9D3mD+RsUQLs +FIPLo0hB/6ofCv4CVwRLZXu9mSqlkNIuOGMV/AGvttYH0KbTJnha7QllnPAz5uo3uWb mlCIJvrV1da0O5gYUFZDx47PxBFhKKkQxcFH4SP7jxamfLstzStnPPNbov3Tvo+4tPNv rNq73AAyeWBU8u92JSN2bEhj3TKebkrWXkr+rBW+CVPU76wpMsQTCFx9eRslrXYPrWG/ l55Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XqLCdw0v; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id y25-20020ac85259000000b0042de86f2bf8si5802209qtn.354.2024.02.19.03.54.32 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Feb 2024 03:54:32 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XqLCdw0v; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rc2Dm-0008Jb-3r; Mon, 19 Feb 2024 06:54:06 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rc2Dk-0008Hj-Vp for qemu-arm@nongnu.org; Mon, 19 Feb 2024 06:54:04 -0500 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rc2Dj-0004Lf-1r for qemu-arm@nongnu.org; Mon, 19 Feb 2024 06:54:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1708343642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=nJTlbNZGSu0rMY5oSLoI1s4ihtcUUXubZG3uqw8d3xs=; b=XqLCdw0vyqcNxWXP7Cn09zdVUwBMymbpBorbaUom//Lz+PJJewVvy6hCTXWFx1RXacu0F0 pVCaWpZQZpF03LBSD1YHcpHqfXcMpm+Aw8XmkSHLyR9O8W7Ii7eut8+LezyykHgRBVF83a lb8K+6oMMTfFi2cyIvzJnp+6EAWojY8= Received: from mail-qk1-f198.google.com (mail-qk1-f198.google.com [209.85.222.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-388-zd10gxwMPl6JuataS5OYhQ-1; Mon, 19 Feb 2024 06:54:00 -0500 X-MC-Unique: zd10gxwMPl6JuataS5OYhQ-1 Received: by mail-qk1-f198.google.com with SMTP id af79cd13be357-7872a742a9bso448438085a.2 for ; Mon, 19 Feb 2024 03:54:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708343640; x=1708948440; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nJTlbNZGSu0rMY5oSLoI1s4ihtcUUXubZG3uqw8d3xs=; b=aHPZ/tcmEYi9+TAAR5Wf3ZiF2eWtGrGslUfDivjKO/TtHInCdyMO3vZRErH2e8sL8s IV+3eawbakkPk9Xt5YeNtr6IZTatBRH7uz3L921kHjhvlU+BlXIvfEyYr2DPcMMMObhT LCuaX27QlGDdS5qoIg0RrPe3493sbTaCChPTBwX+d2tbkGPk0QgT9BTbXJfAnAJEaSou qby5R4KsESk70rsq2RxSYyt2kbxh9pHQgOlj/vtpBonIKgkU4khEkbgIlYBgiIycSBOs n37EErcbjTBxFRvfdqVoWyw7vuMuj/4WNPhXu3bSlgzjH5p2Tca1VbjSyfbST+JrNMIW iPKg== X-Forwarded-Encrypted: i=1; AJvYcCWoL4Nv0pfXrHL0fBddGL7AYssUPPLcNYUJaQGlWUPyW8hqFaqyKTGGySZNywzhetjEzsanMbVvVPL6VtK56vWhnB9h X-Gm-Message-State: AOJu0YxPDFpDI3t2vP10IKDo0Jg8L+8QVZWKKlimLSWS0UeBeqRmT2wk b0xyIsVdZlYHxlnUPUnI3LU5yb05J0/duRlNWi6P6vUPbBi4/AMWwBKr9DNkz7Uey+xyHo7+nDw Cqi+4w9e8O9vgDmkmxe+MJApz0wIvTM6464//hCbB2jQzHmWq4Q== X-Received: by 2002:ae9:e608:0:b0:787:1625:3312 with SMTP id z8-20020ae9e608000000b0078716253312mr13904866qkf.44.1708343640259; Mon, 19 Feb 2024 03:54:00 -0800 (PST) X-Received: by 2002:ae9:e608:0:b0:787:1625:3312 with SMTP id z8-20020ae9e608000000b0078716253312mr13904850qkf.44.1708343639934; Mon, 19 Feb 2024 03:53:59 -0800 (PST) Received: from [192.168.0.9] (ip-109-43-177-48.web.vodafone.de. [109.43.177.48]) by smtp.gmail.com with ESMTPSA id d26-20020a05620a159a00b007871de8ec59sm2376830qkk.129.2024.02.19.03.53.57 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 19 Feb 2024 03:53:59 -0800 (PST) Message-ID: <13862227-d782-46fe-b10f-94587c74745e@redhat.com> Date: Mon, 19 Feb 2024 12:53:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] tests/migration-test: Stick with gicv3 in aarch64 test To: peterx@redhat.com, qemu-devel@nongnu.org Cc: =?UTF-8?Q?Daniel_P_=2E_Berrang=C3=A9?= , Fabiano Rosas , Sebastian Ott , Peter Maydell , Eric Auger , qemu-arm References: <20240207005403.242235-1-peterx@redhat.com> <20240207005403.242235-2-peterx@redhat.com> From: Thomas Huth Autocrypt: addr=thuth@redhat.com; keydata= xsFNBFH7eUwBEACzyOXKU+5Pcs6wNpKzrlJwzRl3VGZt95VCdb+FgoU9g11m7FWcOafrVRwU yYkTm9+7zBUc0sW5AuPGR/dp3pSLX/yFWsA/UB4nJsHqgDvDU7BImSeiTrnpMOTXb7Arw2a2 4CflIyFqjCpfDM4MuTmzTjXq4Uov1giGE9X6viNo1pxyEpd7PanlKNnf4PqEQp06X4IgUacW tSGj6Gcns1bCuHV8OPWLkf4hkRnu8hdL6i60Yxz4E6TqlrpxsfYwLXgEeswPHOA6Mn4Cso9O 0lewVYfFfsmokfAVMKWzOl1Sr0KGI5T9CpmRfAiSHpthhHWnECcJFwl72NTi6kUcUzG4se81 O6n9d/kTj7pzTmBdfwuOZ0YUSqcqs0W+l1NcASSYZQaDoD3/SLk+nqVeCBB4OnYOGhgmIHNW 0CwMRO/GK+20alxzk//V9GmIM2ACElbfF8+Uug3pqiHkVnKqM7W9/S1NH2qmxB6zMiJUHlTH gnVeZX0dgH27mzstcF786uPcdEqS0KJuxh2kk5IvUSL3Qn3ZgmgdxBMyCPciD/1cb7/Ahazr 3ThHQXS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TqSzaTFBBmqD oiT+z+/E59qj/EKfyce3sbC9XLjXv3mHMrq1tKX4G7IJGnS989E/fg6crv6NHae9Ckm7+lSs IQu4bBP2GxiRQ+NV3iV/KU3ebMRzqIC//DCOxzQNFNJAKldPe/bKZMCxEqtVoRkuJtNdp/5a yXFZ6TfE1hGKrDBYAm4vrnZ4CXFSBDllL59cFFOJCkn4Xboj/aVxxJxF30bn In-Reply-To: <20240207005403.242235-2-peterx@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=170.10.133.124; envelope-from=thuth@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.077, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: w5EJypZ5yu5Y On 07/02/2024 01.54, peterx@redhat.com wrote: > From: Peter Xu > > Recently we introduced cross-binary migration test. It's always wanted > that migration-test uses stable guest ABI for both QEMU binaries in this > case, so that both QEMU binaries will be compatible on the migration > stream with the cmdline specified. > > Switch to a static gic version "3" rather than using version "max", so that > GIC should be stable now across any future QEMU binaries for migration-test. > > Here the version can actually be anything as long as the ABI is stable. We > choose "3" because it's the majority of what we already use in QEMU while > still new enough: "git grep gic-version=3" shows 6 hit, while version 4 has > no direct user yet besides "max". > > Note that even with this change, aarch64 won't be able to work yet with > migration cross binary test, but then the only missing piece will be the > stable CPU model. > > Reviewed-by: Daniel P. Berrangé > Signed-off-by: Peter Xu > --- > tests/qtest/migration-test.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/qtest/migration-test.c b/tests/qtest/migration-test.c > index 7675519cfa..8a5bb1752e 100644 > --- a/tests/qtest/migration-test.c > +++ b/tests/qtest/migration-test.c > @@ -819,7 +819,7 @@ static int test_migrate_start(QTestState **from, QTestState **to, > } else if (strcmp(arch, "aarch64") == 0) { > memory_size = "150M"; > machine_alias = "virt"; > - machine_opts = "gic-version=max"; > + machine_opts = "gic-version=3"; > arch_opts = g_strdup_printf("-cpu max -kernel %s", bootpath); > start_address = ARM_TEST_MEM_START; > end_address = ARM_TEST_MEM_END; Looks like the migration test now fails on aarch64 when "configure" has been run with "--without-default-devices", since that disables the gicv3 in the binary ... is there a way to check whether the gicv3 is available, and use "=max" instead if it is not? Thomas