From patchwork Wed Apr 6 06:37:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Like Xu X-Patchwork-Id: 12803084 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5B0DC433F5 for ; Wed, 6 Apr 2022 10:14:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357310AbiDFKQj (ORCPT ); Wed, 6 Apr 2022 06:16:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350735AbiDFKHd (ORCPT ); Wed, 6 Apr 2022 06:07:33 -0400 Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 548BA11D; Tue, 5 Apr 2022 23:37:23 -0700 (PDT) Received: by mail-pf1-x42b.google.com with SMTP id j17so149742pfi.9; Tue, 05 Apr 2022 23:37:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FQQt7+yobA+b0Z1BhiU8usjPaq4hXnJ7fnVB/29gryw=; b=W6d70wd7S/Bv79cRQA8+RDhX9uuxwccal05yNA2C/njdkP6kIVCxmn1DErmU9BnQMM DQsXLsSfLgXDKMc8NKB+RjZdAfo29DJ/+Q5BpuxmHPzqi12Nx5vTDpntyqgpbFt9gn1m canTOV00Ivf1Z3XlTUKYEOrTj9ypDdqkHngEPZI/6QcksQYQEDzbBFF2kAtnHjySn9m5 /PAOfgdIUM99ghaZ65eUSAurY+oj1YGqgGkIEHcg6t+kArRq2Pty1SeLEKJZcprrAegq z5kTQh+N9u+DKM4/TsH/xcgJSW+YR7W3s4DqGOA4A+hTjoVM99joxyF5nwPVoa5AKrjU LWBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FQQt7+yobA+b0Z1BhiU8usjPaq4hXnJ7fnVB/29gryw=; b=fNxQx6h91W0tUsn5IspfPXQhmd35dcsxgJzA+c7tWMWssxG0cXUkk+zcNGHCbtUIAH 1FL9+/10uLmY2gCbloCPZUQes7ebHvi0yLG61LQoHxv8l7funyLN/B2eegog8VsTk47I EViGgvMYkuoA7gezr1JR2JXKkm5LnuuWlTUJ3r5PIbtyFf5qbghO5nmbNC5Ui6Q2P3b1 v6QlEhlxO73TCnFeXWXGM1Mjyjj9t/ZSHBl7SvwrtI/qdA4M2UjJn8jdJ9FO+QhqoWu1 jVBV7S+5SyEm+unxY572cAFehfqqw2rkQZf83K2aResjpPYcKpLz2o1A9W7hyBpLPfdy 0QOA== X-Gm-Message-State: AOAM530FfeTj2bDdNpqjI3WB/ckq17uXQ4CFRFeEupQb9Z0aNmDEID+c Lw9WVRrcvyQw7a0vWUjJI6I= X-Google-Smtp-Source: ABdhPJwXdf/ennUM/lzhinl+XP81CRe1e/sjNoZtpFl9HWmQamnh2LX+gQEXs7wnys4JzkrTwIpSwQ== X-Received: by 2002:a05:6a00:1a12:b0:4fd:a5b4:b4c0 with SMTP id g18-20020a056a001a1200b004fda5b4b4c0mr7287467pfv.16.1649227042913; Tue, 05 Apr 2022 23:37:22 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.111]) by smtp.gmail.com with ESMTPSA id bt18-20020a056a00439200b004faad3ae59esm17286650pfb.95.2022.04.05.23.37.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 23:37:22 -0700 (PDT) From: Like Xu X-Google-Original-From: Like Xu To: Paolo Bonzini Cc: kvm@vger.kernel.org, Sean Christopherson , Wanpeng Li , Jim Mattson , Vitaly Kuznetsov , Joerg Roedel , linux-kernel@vger.kernel.org Subject: [PATCH 1/4] KVM: x86/xen: Remove the redundantly included header file lapic.h Date: Wed, 6 Apr 2022 14:37:12 +0800 Message-Id: <20220406063715.55625-2-likexu@tencent.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406063715.55625-1-likexu@tencent.com> References: <20220406063715.55625-1-likexu@tencent.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The header lapic.h is included more than once, remove one of them. Signed-off-by: Like Xu --- Note: repeated as https://lore.kernel.org/kvm/20220401001442.100637-1-yang.lee@linux.alibaba.com/ arch/x86/kvm/xen.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c index 7e7c8a5bff52..610beba35907 100644 --- a/arch/x86/kvm/xen.c +++ b/arch/x86/kvm/xen.c @@ -8,7 +8,6 @@ #include "x86.h" #include "xen.h" -#include "lapic.h" #include "hyperv.h" #include "lapic.h" From patchwork Wed Apr 6 06:37:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Like Xu X-Patchwork-Id: 12803067 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 63DCAC433EF for ; Wed, 6 Apr 2022 10:06:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238699AbiDFKIg (ORCPT ); Wed, 6 Apr 2022 06:08:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45880 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352098AbiDFKHq (ORCPT ); Wed, 6 Apr 2022 06:07:46 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B75E2B8A; Tue, 5 Apr 2022 23:37:25 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 125so1389391pgc.11; Tue, 05 Apr 2022 23:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UCjltPZbiAVZx3cBLhNLkq6ISdWaFOqpYWbyIpmYIY8=; b=aYmJMX4+yVCOhVjcnIMSqHKgW59WQ62MfrixNQoxDox5zX3fv+nOnR75SgTwSmdOgZ Cfw4fVFaL1K6oiUkTykDw68Se9nh8a5vbady465TGooBc6RowGIKFWOrTYhO0lF1GO8/ 7BH2O8G2XW0t5/U8h7WkF+vziF8PZqgJApB0MD3w87/Vqq90N3+JeTdEKZ/LEAQnqa03 6J0vjZJ36tA46ZnODRk3q1ArRRuWu3dkEyt949DjARplPDz4cHb0OOHoQngZQ6szDcES P6KjjfEWZHXFAENwxz3AETvKOaV3P1NFVWcsb8K53PWlE2TA7kpsPmIibs6ZrxlhDJcK GKAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UCjltPZbiAVZx3cBLhNLkq6ISdWaFOqpYWbyIpmYIY8=; b=GY7lOgB1kvDWoAXKw0GUMZXS+K9uLMOqT36LbA+9D/wOxe0sBeNNGzLMOWsungLpUf JxC8cJ8NSQPQotnJ4HJdLYiKKzAPtTv4YeG2SrB3gKgUcugObFf4CFRLwbCjaRToLUzv c0v+8Px4sQBTUojqujVLHAKMvOeRywMzcXS2XtLS694Z6u31vPlP4a3eCmEifQhSvrOj 7jdhyLKBWUShQv9ryly8+SCXfnj7ceJQL4GF8aQLgO23Oyy7NiELpQXeYmEO2KH+9NGy I5koAA6YbVB/Fjm7ocg9yreohlxZOn3KNJoeHdwRnQ65F47YlWyNxXLjz8r+TLhTEyKt 3VDg== X-Gm-Message-State: AOAM530Pcpj29QNn6HYcFyNrgaSUABTx0576GmeNarZBzbpFwoFV9k06 xCfB/OcqYmWvfJr9iGLnaJc= X-Google-Smtp-Source: ABdhPJxZqB+AkbQtszf+J1qKq+zgWjVnz9Fawp6JWeB9Hnqiv6G4pUYgjaMq8kSbsS8uFuvFCkhM+g== X-Received: by 2002:a63:6d4c:0:b0:398:7c40:c160 with SMTP id i73-20020a636d4c000000b003987c40c160mr5913318pgc.109.1649227045337; Tue, 05 Apr 2022 23:37:25 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.111]) by smtp.gmail.com with ESMTPSA id bt18-20020a056a00439200b004faad3ae59esm17286650pfb.95.2022.04.05.23.37.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 23:37:25 -0700 (PDT) From: Like Xu X-Google-Original-From: Like Xu To: Paolo Bonzini Cc: kvm@vger.kernel.org, Sean Christopherson , Wanpeng Li , Jim Mattson , Vitaly Kuznetsov , Joerg Roedel , linux-kernel@vger.kernel.org Subject: [PATCH 2/4] selftests: kvm: add tsc_scaling_sync to .gitignore Date: Wed, 6 Apr 2022 14:37:13 +0800 Message-Id: <20220406063715.55625-3-likexu@tencent.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406063715.55625-1-likexu@tencent.com> References: <20220406063715.55625-1-likexu@tencent.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org The tsc_scaling_sync's binary should be present in the .gitignore file for the git to ignore it. Signed-off-by: Like Xu --- Note: hyperv_svm_test has been added in the upstream commit 946ad0499d98. tools/testing/selftests/kvm/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/kvm/.gitignore b/tools/testing/selftests/kvm/.gitignore index 1f1b6c978bf7..84d5bcf93f8b 100644 --- a/tools/testing/selftests/kvm/.gitignore +++ b/tools/testing/selftests/kvm/.gitignore @@ -33,6 +33,7 @@ /x86_64/state_test /x86_64/svm_vmcall_test /x86_64/svm_int_ctl_test +/x86_64/tsc_scaling_sync /x86_64/sync_regs_test /x86_64/tsc_msrs_test /x86_64/userspace_io_test From patchwork Wed Apr 6 06:37:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Like Xu X-Patchwork-Id: 12803069 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B75E7C433EF for ; Wed, 6 Apr 2022 10:06:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1354801AbiDFKIv (ORCPT ); Wed, 6 Apr 2022 06:08:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353520AbiDFKIA (ORCPT ); Wed, 6 Apr 2022 06:08:00 -0400 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3833D10DB; Tue, 5 Apr 2022 23:37:28 -0700 (PDT) Received: by mail-pl1-x62b.google.com with SMTP id i11so1121004plg.12; Tue, 05 Apr 2022 23:37:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9h7cNl4OV6dWhSGgkfELugf4Gfp2Bajmd0kV8a3QGTU=; b=C4DawLXtXk+rbfCbIFt3NucikB71x43F7DrvMn0qUSBlrwT4xDhU/0qd1oSzSL240R 31/Cr9C3aHZPiTPqMsghgNRAsmjxPJk0fGU9pbJLJ0awDX1vcMbFZp3K5niBYcsJ2W0b R0HnSkwF7FRVYojuj+nVUYVQFvdl6c8+q6v+bOvB6+uHpKJ0woAvyTqWZmk7eNkz4alR /z7WOU9q/UpoRQgqv7tPro3nC8Uq3+KIC8gaWKLE8mw7El4AhmP9uoJ7xoqbh9d9aCjT N2tt5QXigus2k/sBnx3fY4WEXVdFJy/cEC96hF6ORXCa4ZudFaLzYATxQuS+TAf9LmRF MGTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9h7cNl4OV6dWhSGgkfELugf4Gfp2Bajmd0kV8a3QGTU=; b=p4i25TeCWfbUbon7GzVFtyH3OnpvQMFCMe2F3CbBNCfEOJVoURRuocU7+8K2F2w50e jekcp1o7y/5NGLbnAAAxo9it+uH6htQIWd6exqlEh3Stf7AYkhH65dWkkUfuBUKvR5gl MJa37Wtrbks59kkSLTa1RaPypd3n9ossaM7k/nu/shMItORNg84Vi9SA0nCEV+ng4ctH bd0rJT6oDN8dQnqMYeXnBM2FZ4flrUkm9AUDblWzJ1KwTwg+W6nLsGYtuf8s9O4+gO0W r8diVXoFQ3ISssIh4tibK3FTGLKwTnfQ/7xwcilYZcMcW+PXlDp98RadY39npuqaRIxG JG8w== X-Gm-Message-State: AOAM531Wd7rzyIUi/3dzXp2h9Y0JzSnG/Sz8+JNIdxkSWIpf31qDlu9h wRX0egz508GOilokYxcu8vM= X-Google-Smtp-Source: ABdhPJwrTO2KH9oUuLhDamqRuJXyZOqUzpzCZeW3brJG+JSapGjT6GsplV0VRM3CR8DorVxwtKPhgg== X-Received: by 2002:a17:902:ced0:b0:153:f78e:c43f with SMTP id d16-20020a170902ced000b00153f78ec43fmr7139450plg.64.1649227047778; Tue, 05 Apr 2022 23:37:27 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.111]) by smtp.gmail.com with ESMTPSA id bt18-20020a056a00439200b004faad3ae59esm17286650pfb.95.2022.04.05.23.37.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 23:37:27 -0700 (PDT) From: Like Xu X-Google-Original-From: Like Xu To: Paolo Bonzini Cc: kvm@vger.kernel.org, Sean Christopherson , Wanpeng Li , Jim Mattson , Vitaly Kuznetsov , Joerg Roedel , linux-kernel@vger.kernel.org Subject: [PATCH 3/4] selftests: kvm/x86/xen: Replace a comma in the xen_shinfo_test with semicolon Date: Wed, 6 Apr 2022 14:37:14 +0800 Message-Id: <20220406063715.55625-4-likexu@tencent.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406063715.55625-1-likexu@tencent.com> References: <20220406063715.55625-1-likexu@tencent.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org +WARNING: Possible comma where semicolon could be used +#397: FILE: tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c:700: ++ tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER, ++ vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr); Fixes: 25eaeebe710c ("KVM: x86/xen: Add self tests for KVM_XEN_HVM_CONFIG_EVTCHN_SEND") Signed-off-by: Like Xu --- tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c index d9d9d1deec45..5e6f40633ea6 100644 --- a/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c +++ b/tools/testing/selftests/kvm/x86_64/xen_shinfo_test.c @@ -702,7 +702,7 @@ int main(int argc, char *argv[]) case 14: memset(&tmr, 0, sizeof(tmr)); - tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER, + tmr.type = KVM_XEN_VCPU_ATTR_TYPE_TIMER; vcpu_ioctl(vm, VCPU_ID, KVM_XEN_VCPU_GET_ATTR, &tmr); TEST_ASSERT(tmr.u.timer.port == EVTCHN_TIMER, "Timer port not returned"); From patchwork Wed Apr 6 06:37:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Like Xu X-Patchwork-Id: 12803068 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 14D31C433FE for ; Wed, 6 Apr 2022 10:06:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237406AbiDFKIq (ORCPT ); Wed, 6 Apr 2022 06:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353593AbiDFKIA (ORCPT ); Wed, 6 Apr 2022 06:08:00 -0400 Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7FB025C2; Tue, 5 Apr 2022 23:37:30 -0700 (PDT) Received: by mail-pj1-x102c.google.com with SMTP id h23-20020a17090a051700b001c9c1dd3acbso1762665pjh.3; Tue, 05 Apr 2022 23:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=UZeLkKh0aUB6JqoXfJ+RJuRvJk7Nq61/8MlGpbtCQWo=; b=Tgsc9Ntr4BZA7ImDsg/TiwDVFtdoAEDnTavUL8t/jenMLIk/W7z+jWG1NJ9gHcCyaf cF//24L02nJYZbSfIaBfkO6QY5Xvoirii5XWUpIZcat6JcmxSDn2Wu8iEPWzNvaaSiUz NE5ToGY/v2MMoPq6WB+cB3MIzlX91E287XywRpQX5I2E6qIN+wexexYGDan77ptKMXEZ l5u2wlZjpq+i9++O551umtspKUHuDIoYM4T9bSFPP+7L5vb8A2V44ZF86l/HgQXR1y7X 0LRPqz3NWeL5ynp7ZxuN+BWj/OC/aFAI1gmaW/gIcCpaSFMN2/HP1GalyHTGDdkKt/8A FTHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=UZeLkKh0aUB6JqoXfJ+RJuRvJk7Nq61/8MlGpbtCQWo=; b=wSEv6xQwjW1HfcNBbE4cj4DE+xgIawtMk2fgznio+M1xbc2ZPqaJoEisyjuZKb8JXf TV3Ve8Bg4NadCOA8bzJuNudDGZOfm0pOI6hqUV1DJsCiH90Vy8tvZrzS5N281sykXpEq BDZL8Ax7r6nlGeO1rs6WuU+9JALjyQVHs49G1r/oHnLbLFJ2everi9/eaj/QFvRAq6sP Mb9QzX57nIOzxm9aR229Qf6atewqBt8FBqln2gCBPSFWlkvzZ8xOCveyQCmZLMJAcUco zcE11iR8PYXrJ8L1Xiwh2rGaWrNwMsd6OodplgR31YQ+2D9fsC7O+Gcfk4LG2g99ldT+ tKTA== X-Gm-Message-State: AOAM533bShCvoLlfuakcZz8BUOnI9Cpv/3jqD9oWSyYXWTF5j1EJezW8 JvRigbXzkCw4tcF+kML26AQ= X-Google-Smtp-Source: ABdhPJwFboUw+VKJ4gTk2U2oPXZLQF0fhBc6cBSW+nDsF4UNTKcZVSq9pd6M9zu5DXQF7SGygNu/7Q== X-Received: by 2002:a17:902:c94c:b0:154:58e4:6f5a with SMTP id i12-20020a170902c94c00b0015458e46f5amr7410058pla.142.1649227050179; Tue, 05 Apr 2022 23:37:30 -0700 (PDT) Received: from localhost.localdomain ([203.205.141.111]) by smtp.gmail.com with ESMTPSA id bt18-20020a056a00439200b004faad3ae59esm17286650pfb.95.2022.04.05.23.37.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 23:37:29 -0700 (PDT) From: Like Xu X-Google-Original-From: Like Xu To: Paolo Bonzini Cc: kvm@vger.kernel.org, Sean Christopherson , Wanpeng Li , Jim Mattson , Vitaly Kuznetsov , Joerg Roedel , linux-kernel@vger.kernel.org Subject: [PATCH 4/4] Documentation: KVM: Add SPDX-License-Identifier tag Date: Wed, 6 Apr 2022 14:37:15 +0800 Message-Id: <20220406063715.55625-5-likexu@tencent.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220406063715.55625-1-likexu@tencent.com> References: <20220406063715.55625-1-likexu@tencent.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org +new file mode 100644 +WARNING: Missing or malformed SPDX-License-Identifier tag in line 1 +#27: FILE: Documentation/virt/kvm/x86/errata.rst:1: Opportunistically update all other non-added KVM documents and remove a new extra blank line at EOF for x86/errata.rst. Signed-off-by: Like Xu --- Documentation/virt/kvm/vcpu-requests.rst | 2 ++ Documentation/virt/kvm/x86/amd-memory-encryption.rst | 2 ++ Documentation/virt/kvm/x86/errata.rst | 2 +- Documentation/virt/kvm/x86/running-nested-guests.rst | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/virt/kvm/vcpu-requests.rst b/Documentation/virt/kvm/vcpu-requests.rst index db43ee571f5a..31f62b64e07b 100644 --- a/Documentation/virt/kvm/vcpu-requests.rst +++ b/Documentation/virt/kvm/vcpu-requests.rst @@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ================= KVM VCPU Requests ================= diff --git a/Documentation/virt/kvm/x86/amd-memory-encryption.rst b/Documentation/virt/kvm/x86/amd-memory-encryption.rst index 1c6847fff304..2d307811978c 100644 --- a/Documentation/virt/kvm/x86/amd-memory-encryption.rst +++ b/Documentation/virt/kvm/x86/amd-memory-encryption.rst @@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ====================================== Secure Encrypted Virtualization (SEV) ====================================== diff --git a/Documentation/virt/kvm/x86/errata.rst b/Documentation/virt/kvm/x86/errata.rst index 806f049b6975..410e0aa63493 100644 --- a/Documentation/virt/kvm/x86/errata.rst +++ b/Documentation/virt/kvm/x86/errata.rst @@ -1,3 +1,4 @@ +.. SPDX-License-Identifier: GPL-2.0 ======================================= Known limitations of CPU virtualization @@ -36,4 +37,3 @@ Nested virtualization features ------------------------------ TBD - diff --git a/Documentation/virt/kvm/x86/running-nested-guests.rst b/Documentation/virt/kvm/x86/running-nested-guests.rst index bd70c69468ae..a27e6768d900 100644 --- a/Documentation/virt/kvm/x86/running-nested-guests.rst +++ b/Documentation/virt/kvm/x86/running-nested-guests.rst @@ -1,3 +1,5 @@ +.. SPDX-License-Identifier: GPL-2.0 + ============================== Running nested guests with KVM ==============================