From patchwork Tue Nov 22 16:11:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Levitsky X-Patchwork-Id: 13052546 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 C2F5BC433FE for ; Tue, 22 Nov 2022 16:15:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234269AbiKVQPh (ORCPT ); Tue, 22 Nov 2022 11:15:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234240AbiKVQO7 (ORCPT ); Tue, 22 Nov 2022 11:14:59 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B538960EAB for ; Tue, 22 Nov 2022 08:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669133550; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D7XgtHuC7oyB7G03qNmhSuClB2SsBkuZaDnSdxT1EVk=; b=eiYoWumh05f7fRNRxVcBE6uhcmVoU5Wx/V+U8HEE0SCScbjJLUvTj+WK9fwKhNc34KXSxn tG1RKoj2p9w2yCHfmY2Ve3r3aKsIMtfGwyllORAED3IMMPOiqMWf8Y/86Q1TMhzTRGtyLq Q6ighI4HKJtk2wEwJHxNr0Z/bP2cGM4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-70-O45YczCTNGuRSSFhtTGWHw-1; Tue, 22 Nov 2022 11:12:26 -0500 X-MC-Unique: O45YczCTNGuRSSFhtTGWHw-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8127A8039A6; Tue, 22 Nov 2022 16:12:25 +0000 (UTC) Received: from amdlaptop.tlv.redhat.com (dhcp-4-238.tlv.redhat.com [10.35.4.238]) by smtp.corp.redhat.com (Postfix) with ESMTP id 858E0112132D; Tue, 22 Nov 2022 16:12:23 +0000 (UTC) From: Maxim Levitsky To: kvm@vger.kernel.org Cc: Andrew Jones , Alexandru Elisei , Maxim Levitsky , Paolo Bonzini , Claudio Imbrenda , Thomas Huth , =?utf-8?q?Alex_Benn=C3=A9e?= , Nico Boehr , Cathy Avery , Janosch Frank Subject: [kvm-unit-tests PATCH v3 13/27] svm: remove get_npt_pte extern Date: Tue, 22 Nov 2022 18:11:38 +0200 Message-Id: <20221122161152.293072-14-mlevitsk@redhat.com> In-Reply-To: <20221122161152.293072-1-mlevitsk@redhat.com> References: <20221122161152.293072-1-mlevitsk@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org get_npt_pte is unused Signed-off-by: Maxim Levitsky Reviewed-by: Emanuele Giuseppe Esposito --- x86/svm.h | 1 - 1 file changed, 1 deletion(-) diff --git a/x86/svm.h b/x86/svm.h index 766ff7e3..1ad85ba4 100644 --- a/x86/svm.h +++ b/x86/svm.h @@ -429,7 +429,6 @@ int __svm_vmrun(u64 rip); void __svm_bare_vmrun(void); int svm_vmrun(void); void test_set_guest(test_guest_func func); -u64* get_npt_pte(u64 *pml4, u64 guest_addr, int level); extern struct vmcb *vmcb;