From patchwork Sun Apr 23 10:11:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Binbin Wu X-Patchwork-Id: 13221248 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 1BC8AC77B73 for ; Sun, 23 Apr 2023 10:11:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229780AbjDWKLX (ORCPT ); Sun, 23 Apr 2023 06:11:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229699AbjDWKLV (ORCPT ); Sun, 23 Apr 2023 06:11:21 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A34C19A6 for ; Sun, 23 Apr 2023 03:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682244680; x=1713780680; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=q4tWbhNjxVJsW7PDJrRblgq8sWOGQd0QywbAoGXyZb8=; b=AnR3O2EQp/hrPfph6qHxzLAVUgXsT8XRgtiDCD3jL/MOxwk/WWcLENma bbQrhnhkFYLsVYBj1+1065BmBIJ0v20nyF72RbKmeOOzq4bV0wKhCsvjC LceFY3roKaYm2YID9+faedcXL3QsBJo62M3e9YgOzJ3RthshHLH6V4zLQ TonM8baLuTBfM51tVia4WaMAjg/jarnOT8vz9VDnfBX1K0BJUp6c/CPAe T0qoCHuFi2/g1JrBWdYZJZsDXexl/mzk1F63+NxTgcPHkgJbsGk6ZPF1q 7l05YeoiETGKpFyYrP46LWqQ+LHpxhAhBbntJw7xLEE+rYr77ULIY5YMI A==; X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="348173932" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="348173932" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 03:11:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10688"; a="938974054" X-IronPort-AV: E=Sophos;i="5.99,220,1677571200"; d="scan'208";a="938974054" Received: from binbinwu-mobl.ccr.corp.intel.com ([10.254.214.112]) by fmsmga006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Apr 2023 03:11:18 -0700 From: Binbin Wu To: kvm@vger.kernel.org Cc: seanjc@google.com, pbonzini@redhat.com, binbin.wu@linux.intel.com Subject: [PATCH 1/2] KVM: Fix comments for KVM_ENABLE_CAP Date: Sun, 23 Apr 2023 18:11:11 +0800 Message-Id: <20230423101112.13803-2-binbin.wu@linux.intel.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230423101112.13803-1-binbin.wu@linux.intel.com> References: <20230423101112.13803-1-binbin.wu@linux.intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Signed-off-by: Binbin Wu --- include/uapi/linux/kvm.h | 2 +- tools/include/uapi/linux/kvm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/uapi/linux/kvm.h b/include/uapi/linux/kvm.h index 4003a166328c..1a5cc4c6b59b 100644 --- a/include/uapi/linux/kvm.h +++ b/include/uapi/linux/kvm.h @@ -1605,7 +1605,7 @@ struct kvm_s390_ucas_mapping { #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs) #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs) /* - * vcpu version available with KVM_ENABLE_CAP + * vcpu version available with KVM_CAP_ENABLE_CAP * vm version available with KVM_CAP_ENABLE_CAP_VM */ #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap) diff --git a/tools/include/uapi/linux/kvm.h b/tools/include/uapi/linux/kvm.h index 4003a166328c..1a5cc4c6b59b 100644 --- a/tools/include/uapi/linux/kvm.h +++ b/tools/include/uapi/linux/kvm.h @@ -1605,7 +1605,7 @@ struct kvm_s390_ucas_mapping { #define KVM_GET_DEBUGREGS _IOR(KVMIO, 0xa1, struct kvm_debugregs) #define KVM_SET_DEBUGREGS _IOW(KVMIO, 0xa2, struct kvm_debugregs) /* - * vcpu version available with KVM_ENABLE_CAP + * vcpu version available with KVM_CAP_ENABLE_CAP * vm version available with KVM_CAP_ENABLE_CAP_VM */ #define KVM_ENABLE_CAP _IOW(KVMIO, 0xa3, struct kvm_enable_cap)