Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp123755ybv; Tue, 4 Feb 2020 17:44:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyi4ISEdD0XKvL3z3IMcyVmdAizxwVx1VQDLFK2zox9Tn216fZUOXTZI/VuzhzG1oedgbzu X-Received: by 2002:a9d:222f:: with SMTP id o44mr24285794ota.51.1580867047284; Tue, 04 Feb 2020 17:44:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580867047; cv=none; d=google.com; s=arc-20160816; b=V7pYQhDR4UTwC08wgWOdqdnN4iwj2LfSkzzBsaKSMEr7XcXh4t3eivgPmSoKCoYK5M B1xtsJ/YNKlyjFV5hSSmpBFSNRwrRzvuSKLxltgnscslOdV/VUhn3FRPYenSwuaoJviz Ek6fnmSiRHfSId8WDFvcYthsvR47MCXxM3u2Zfs1RJxZOfPdMSQm8nfiXfoQG65q974A uBepZ5LJRIl0y4Bn2fTuO5kru4M64iaAKPoZDW+GwLd0X5JLfWH+P0EDKwFgNBQJGz47 /V8SKzXTgLU4SbSehJ6dYjlxl7khNCZ6TvIQsIoZB5D1T9v1ymo72sIg06c0ozVD4Uha P3ag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from; bh=Fu4d5NlAkY3ObkiMb9MLgCTUGh8fmWZx+Q/pc7GLM3w=; b=tG/9ebPbPvfeauIBwz1nXdb1nRi0Ti35cUrDSMetsNPUom1n+MxSBi8Pp+s4vx/Mxh NHA8OWbEARooelVOBPlM4DP5cMskRa7tMa5q3pfF5Gw8d6ZHKuzXjavF276P+GCEB03e 5cGmODg4s5lnw49THlVdWrRa/E8NiHttSaNgDi55Q/sHARtvAKy0b+V5dxKwG4WsNG3l dobTejV2UYQfWY3JZtnt3SkPbL/B10n5cF2gd+2aDa/S1iM1qEBV7wDeNkizb0pmsJ/g 7N/86JjMgQXARJQw0C5H30cpbE6kRLvNvGq4trfT/iyuAVg+iI1vZi6j9Yr3FKEKa1Sk vLsQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r21si12117969otd.135.2020.02.04.17.43.40; Tue, 04 Feb 2020 17:44:07 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727836AbgBEBlX convert rfc822-to-8bit (ORCPT + 99 others); Tue, 4 Feb 2020 20:41:23 -0500 Received: from szxga01-in.huawei.com ([45.249.212.187]:2938 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726653AbgBEBlW (ORCPT ); Tue, 4 Feb 2020 20:41:22 -0500 Received: from DGGEMM401-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id DBBB9D97AE31E2D920E4; Wed, 5 Feb 2020 09:41:19 +0800 (CST) Received: from dggeme716-chm.china.huawei.com (10.1.199.112) by DGGEMM401-HUB.china.huawei.com (10.3.20.209) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 5 Feb 2020 09:41:19 +0800 Received: from dggeme763-chm.china.huawei.com (10.3.19.109) by dggeme716-chm.china.huawei.com (10.1.199.112) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1713.5; Wed, 5 Feb 2020 09:41:19 +0800 Received: from dggeme763-chm.china.huawei.com ([10.6.66.36]) by dggeme763-chm.china.huawei.com ([10.6.66.36]) with mapi id 15.01.1713.004; Wed, 5 Feb 2020 09:41:19 +0800 From: linmiaohe To: Eric Auger CC: "thuth@redhat.com" , "drjones@redhat.com" , "wei.huang2@amd.com" , "eric.auger.pro@gmail.com" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "pbonzini@redhat.com" , "vkuznets@redhat.com" Subject: Re: [PATCH v3 1/3] selftests: KVM: Replace get_gdt/idt_base() by get_gdt/idt() Thread-Topic: [PATCH v3 1/3] selftests: KVM: Replace get_gdt/idt_base() by get_gdt/idt() Thread-Index: AdXbxSnc8TQ+7K53fkOGc15JYLEBpQ== Date: Wed, 5 Feb 2020 01:41:19 +0000 Message-ID: Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.173.221.158] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric Auger writes: > get_gdt_base() and get_idt_base() only return the base address of the descriptor tables. Soon we will need to get the size as well. > Change the prototype of those functions so that they return the whole desc_ptr struct instead of the address field. > > Signed-off-by: Eric Auger Looks good for me. Thanks. Reviewed-by: Miaohe Lin