From patchwork Mon Aug 22 13:41:08 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Avi Kivity X-Patchwork-Id: 1085322 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p7MDfLnP025205 for ; Mon, 22 Aug 2011 13:41:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721Ab1HVNlQ (ORCPT ); Mon, 22 Aug 2011 09:41:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9956 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752635Ab1HVNlO (ORCPT ); Mon, 22 Aug 2011 09:41:14 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p7MDfDLi029601 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 22 Aug 2011 09:41:13 -0400 Received: from cleopatra.tlv.redhat.com (cleopatra.tlv.redhat.com [10.35.255.11]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p7MDfCkd010160 for ; Mon, 22 Aug 2011 09:41:12 -0400 Received: from s01.tlv.redhat.com (s01.tlv.redhat.com [10.35.255.8]) by cleopatra.tlv.redhat.com (Postfix) with ESMTP id F0040250B4D; Mon, 22 Aug 2011 16:41:11 +0300 (IDT) From: Avi Kivity To: Marcelo Tosatti , lmr@redhat.com Cc: kvm@vger.kernel.org Subject: [PATCH 2/3] KVM: x86 emulator: export main interface Date: Mon, 22 Aug 2011 16:41:08 +0300 Message-Id: <1314020469-30882-3-git-send-email-avi@redhat.com> In-Reply-To: <1314020469-30882-1-git-send-email-avi@redhat.com> References: <1314020469-30882-1-git-send-email-avi@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 22 Aug 2011 13:41:21 +0000 (UTC) Signed-off-by: Avi Kivity --- arch/x86/kvm/emulate.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 0453c07..aea313b 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -3685,6 +3685,7 @@ done: return (rc != X86EMUL_CONTINUE) ? EMULATION_FAILED : EMULATION_OK; } +EXPORT_SYMBOL_GPL(x86_decode_insn); static bool string_insn_completed(struct x86_emulate_ctxt *ctxt) { @@ -4249,3 +4250,4 @@ twobyte_insn: cannot_emulate: return EMULATION_FAILED; } +EXPORT_SYMBOL_GPL(x86_emulate_insn);