Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp255499lqd; Wed, 24 Apr 2024 00:50:54 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXH/Jj+FtWGewnDbDn6chkDnRFdgZCW/Nz/CSZiXYqPGx3jo8c7aqbgD5/xjVNZSJs5LjtaxYjbTAMKcbp2E6pBkvRMnWDaDTFOCnl0dA== X-Google-Smtp-Source: AGHT+IF4RyRTjlmlvzaU5X3zWMyf23BuaedbRqnVuT/DhqpZsuwrMDo/jc5YAPJFMnNH5rA2tNKh X-Received: by 2002:a50:d505:0:b0:570:3bb:e099 with SMTP id u5-20020a50d505000000b0057003bbe099mr1350110edi.1.1713945054388; Wed, 24 Apr 2024 00:50:54 -0700 (PDT) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a13-20020a50e70d000000b005721ceff6d7si2176770edn.56.2024.04.24.00.50.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 00:50:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156504-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@ventanamicro.com header.s=google header.b=Hptc5V2+; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-156504-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156504-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 8432F1F2396B for ; Wed, 24 Apr 2024 07:50:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 662E81586C6; Wed, 24 Apr 2024 07:50:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="Hptc5V2+" Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3CF11157E8B for ; Wed, 24 Apr 2024 07:50:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713945032; cv=none; b=DYIUd+CrVGcl0PgAXOUJNUbbMXVRy+mQceHvz6OeSGLWPQwehpQdl+s0nsRXzqPMOqwu6kveI+B1s3ORvq/qK8z1areSacaWcQpalSL9VP8PqBsaHQ2x96VfXyfKUdZ3isZLVNmZy5OE9peFAlKxvlLIf06oYIyEC5i6jIy1RX8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713945032; c=relaxed/simple; bh=g/Er6GYXVGaNH7JDBFXh3LSSvzcGk3gWsJG0AOM4CTw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QfrNygCd0ZH/C9V1uc5wNVRlYofp+IAXHVvGbL7RTY8k6eIsULmh+J5z4mJEKrLrRuqI50iY7puVs4D20ZT4usXckCHx7vSL3cxp8Zg3SkDPZL3QSGC1O4Emi7mzZtOQEfY/z/bpuCwlBvvnts6FK197a+LSN4k4TKhV/VUtPAs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=Hptc5V2+; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2db2f6cb312so112273901fa.2 for ; Wed, 24 Apr 2024 00:50:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1713945029; x=1714549829; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=g/Er6GYXVGaNH7JDBFXh3LSSvzcGk3gWsJG0AOM4CTw=; b=Hptc5V2+rnXXJTqWm5x2+cw4imBiLFVePvUqflhfHQ8cZF1sfv395V+XBa/xs7y3kg v+7r8jKZXa/hoyWrRl+ROXH9O6LWDyCtWBnKlIBSVJ0gv4VxlPuxf/g/xHoUXOEgX3iT y2wqeV74cy0r/R8GD5JSO4qHrwoIMWsYv032SHQwkahIXm9mMf9aoFcvzmXI6QmglkZP EHTsTrQnqxKFdbXj3AJmv2kboJUQlPkb6t5c5GHQ7OgZsb1d45HdAlLcjRVMVhiZqvgl NK1sJTr/yYf6K0Xn+GpyY/07ebCkkurUSMkF5GQd38vS8FPC/oUzOCQFuTPaza+Qto+v znOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713945029; x=1714549829; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g/Er6GYXVGaNH7JDBFXh3LSSvzcGk3gWsJG0AOM4CTw=; b=bboo8lAR24JOC68kEhHefHqLN5EfoMmaJy/7hwCMpchMv0CS2QwGTwXsVDxJqnKfB6 Da/t384HZ5/SkWR4RUSN2lq0OOu9d1LzqikEIdh3YTvoFPUqe4g47f37BKsKCAa7/+Vt dTJAtPAek3AV80tkBCioIK2++yffDIeDn+SmWikV8iJGKOIyCZcU/hBGvXWMDsEoyEUI AATt5b+Pn7Y4aV6CiKb+rD0shPjmnapWfcOdxL0pBU9Jzf53L8yBACCbmzJe9MaMP2KV 7rB77E+UpuLs3LDT1DQIfGC9Vql53F+m7FdNQgx9jQzIjyLhXc9aa1zi3kRSufkxtPqP 7k+w== X-Forwarded-Encrypted: i=1; AJvYcCWcvaAr781eh3h2cFEt8xmmTMjtTmq4sas90pGySU4EH29wGyEsZKNRMk56qNcwtCAP8Vbr0IbrQXDKOjWEeaY+Lsin8pW1CHTEcxT6 X-Gm-Message-State: AOJu0Yx3E+Q1XZUF3u4s2/g3iyxBdDyLPP2d/ZsJu81pRox1zrmLW2PY bgp1LvJnRt0CRLCzU2wO9FWO1pWwdDiHc1zCZAPraF8scBq16UgEgOaEiKJFpN4= X-Received: by 2002:a19:7413:0:b0:516:d09b:cbe4 with SMTP id v19-20020a197413000000b00516d09bcbe4mr1517679lfe.53.1713945029369; Wed, 24 Apr 2024 00:50:29 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id q26-20020a1709066b1a00b00a53c746b499sm7957520ejr.137.2024.04.24.00.50.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 00:50:28 -0700 (PDT) Date: Wed, 24 Apr 2024 09:50:28 +0200 From: Andrew Jones To: Sean Christopherson Cc: Markus Elfring , Kunwu Chan , linux-kselftest@vger.kernel.org, kvm@vger.kernel.org, kernel-janitors@vger.kernel.org, Muhammad Usama Anjum , Paolo Bonzini , Shuah Khan , LKML , Kunwu Chan , Anup Patel , Thomas Huth , Oliver Upton Subject: Re: [PATCH] KVM: selftests: Add 'malloc' failure check in test_vmx_nested_state Message-ID: <20240424-e31c64bda7872b0be52e4c16@orel> References: <20240423073952.2001989-1-chentao@kylinos.cn> <878bf83c-cd5b-48d0-8b4e-77223f1806dc@web.de> <20240423-0db9024011213dcffe815c5c@orel> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Apr 23, 2024 at 12:15:47PM -0700, Sean Christopherson wrote: .. > I almost wonder if we should just pick a prefix that's less obviously connected > to KVM and/or selftests, but unique and short. > How about kvmsft_ ? It's based on the ksft_ prefix of kselftest.h. Maybe it's too close to ksft though and would be confusing when using both in the same test? I'm not a huge fan of capital letters, but we could also do something like MALLOC()/CALLOC(). Eh, I don't know. Naming is hard. Thanks, drew