Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5970661ybv; Wed, 12 Feb 2020 03:43:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxTRM9kPbjNapEQsY5KD/888BQsQb1to9p/YwfeUvP4hROfHu+YU/lJztpBzwxeqPCVxYXh X-Received: by 2002:a05:6830:1498:: with SMTP id s24mr9405778otq.79.1581507822306; Wed, 12 Feb 2020 03:43:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581507822; cv=none; d=google.com; s=arc-20160816; b=xxmyiuobJlOF1eyNTQg1Pvjb0LDARBl+g//5TPCappBTf8sCtJUeH8dxhlRmmHIH1L f6fpPB0eHlLXHNyEz09fG+ps/Fv06hM6qeW/1W+pc94ab3EarlYStozdhpaVxAre/olO 2ew3tG+Ge0QhC0NPWzBWs3iv+nyThjT/L7aBqr7AzeaXN80aXLngk4pu+hSNZyvI67fv eYlcoOJ+t2VxrH6UwjYn3MWB+prqdFtNpZqSXZTPzNBoh8b32Ajf4WL8NY/ZZzp22JIn TF86HjnDUSZRJEdj2r0YAgf8AejaJV6lAwhL1q0DnGw0IdyzCkGtfpIOogwb57rHo4eb rSxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=IEsa1BUq0bWPEOZUtW+wdRfon7IBIMbGMK3y3jxH0WI=; b=JU0sbx6Bo+l7rst4cMZK0Xa9cA2MK1Kjn0bPiPMwhbPB6OIe2+zJAhVQIwLtHRTdSG 1ApZBGj+dnU4MQLs66A7ssh4oWFFEiddYiWG98dh4AXwPGWSPhHawFtQLHx8FYBVbO1A IW7VDzdj2yU3jwch3wkCesfMBkCFoNqT9+aZdjmpETTGAjf1y8AqSlpL3fl9KdNRMckr s8d2wS55aZwMBRQRXxM7OtfpXuyQPhEpT+58BxF0Ao/GoDgp7IvgcmIZ+WEiCPSooNv1 VpwzYYA23D72TvE3hvewU0sXeaggObNLAj0hJiCRoY7nkvSXgxptMFbLC/RlJ1pMfIaT mMUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XgqXDyTc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z18si72841oti.219.2020.02.12.03.43.29; Wed, 12 Feb 2020 03:43:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XgqXDyTc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728185AbgBLLnO (ORCPT + 99 others); Wed, 12 Feb 2020 06:43:14 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:28180 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728147AbgBLLnO (ORCPT ); Wed, 12 Feb 2020 06:43:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581507793; 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; bh=IEsa1BUq0bWPEOZUtW+wdRfon7IBIMbGMK3y3jxH0WI=; b=XgqXDyTci9kc+rOUxebQ3foyNSJg5XWv6WzUhLjx7aMnxOrJhRSm7kkN3GTnYNT8C9wPE/ vrO1BrQ2atawpUuQY+f1q0r9gvTdIwt5dEZNpZ9kXI0gxOoYLSnQpraiGOjllOA3VD0069 TJdO7x9SIFBg9kb9kzrKqZAiE0SO8WE= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-95-r6i-q6JRP8KvGRX-35u-cg-1; Wed, 12 Feb 2020 06:43:11 -0500 X-MC-Unique: r6i-q6JRP8KvGRX-35u-cg-1 Received: by mail-wr1-f71.google.com with SMTP id u8so705805wrp.10 for ; Wed, 12 Feb 2020 03:43:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IEsa1BUq0bWPEOZUtW+wdRfon7IBIMbGMK3y3jxH0WI=; b=iEQp0hZEctv5Xo1K7ZPRkuNlXW9JwRKzyl+Ercz7Yh+VrFquV9twukubBkeWE/sye7 9AmTRoUd9fBGwYdg3PKb9fAOpDfWHYcUTJkH0B8iOya1DeOE57eYH/1T22K7iTeZG0Bi ueGWkgLyH6rS0Dxy1Af9zj4F5nItfeHAT47HrKOWBH9JGaKKNt/TcMHlTG6kudNSUHgE aBkdEpKfEiq1GRzItS+0/QEMM0E9cE0JEE61Mq7PPIAtsXS/nUFYWuHIlS0qP7uqaNCt NzHvEmYfIoeiNZwfcvcw8zKJMDhTK+D/YIdWzaxSNQoQijArTUjTjz990R7b6QRLxCRW R+CA== X-Gm-Message-State: APjAAAV8YWEauKzYKv9Tac0P5/V4Juzrb5a6Jrzdujpl7phrTOq4WNzK Lsr0w0SVNo5VjwpC7joQF8milkuxscCkhAA5ictpCrUdGuyd5uO2hoeuRMdyzDGhPzA14fuBD6+ TTRpCvnqagJyGTaDiaAtbH1IX X-Received: by 2002:a7b:c0c7:: with SMTP id s7mr13029513wmh.129.1581507790624; Wed, 12 Feb 2020 03:43:10 -0800 (PST) X-Received: by 2002:a7b:c0c7:: with SMTP id s7mr13029498wmh.129.1581507790434; Wed, 12 Feb 2020 03:43:10 -0800 (PST) Received: from ?IPv6:2001:b07:6468:f312:652c:29a6:517b:66d9? ([2001:b07:6468:f312:652c:29a6:517b:66d9]) by smtp.gmail.com with ESMTPSA id n3sm389509wmc.27.2020.02.12.03.43.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 12 Feb 2020 03:43:08 -0800 (PST) Subject: Re: [PATCH v4 3/3] selftests: KVM: SVM: Add vmcall test To: Auger Eric , Wei Huang Cc: eric.auger.pro@gmail.com, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, vkuznets@redhat.com, thuth@redhat.com, drjones@redhat.com References: <20200206104710.16077-1-eric.auger@redhat.com> <20200206104710.16077-4-eric.auger@redhat.com> <20200206173931.GC2465308@weiserver.amd.com> <130c32bc-7533-1b4e-b913-d9596ed4e94d@redhat.com> From: Paolo Bonzini Message-ID: <7f9c89b5-c1df-011f-917d-89d2e880049d@redhat.com> Date: Wed, 12 Feb 2020 12:43:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 In-Reply-To: <130c32bc-7533-1b4e-b913-d9596ed4e94d@redhat.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/02/20 11:15, Auger Eric wrote: >> Probably rename the file to svm_nested_vmcall_test.c. This matches with >> the naming convention of VMX's nested tests. Otherwise people might not know >> it is a nested one. > From what I understand, all the vmx_* (including vmx_tsc_adjust_test for > instance) are related to nested. So I'd rather leave svm_ prefix for > nested SVM. That is not strictly necessary, as there could be tests for Intel or AMD-specific bugs or features. But in practice you are right, "vmx_" right now means it's testing nested. We can rename all of them to "nvmx_*" and "nsvm_*", but in the meanwhile your patch does not introduce any inconsistency. Queued, thanks! Paolo