From patchwork Sun Aug 15 21:47:00 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mohammed Gamal X-Patchwork-Id: 119643 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7FLlWUL011052 for ; Sun, 15 Aug 2010 21:47:32 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751056Ab0HOVr2 (ORCPT ); Sun, 15 Aug 2010 17:47:28 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:33009 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750980Ab0HOVrT (ORCPT ); Sun, 15 Aug 2010 17:47:19 -0400 Received: by mail-wy0-f174.google.com with SMTP id 32so4945688wyb.19 for ; Sun, 15 Aug 2010 14:47:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references; bh=kZcQ8qAc2RL7M1mU2ZPcbsMT8Zkr5R7SvjxDt/ZIqSo=; b=HrQC550V/wqgAmX5eyjjhuWJEKmi1iZjHAO1zjfac5A8LH/x2HdWCuCP46M3JpcA7/ E+k1VGqqZvd1E3+cvAr+l+c/zyqGeL1nQ0GfT59BDGId/R9gMIkoIkqdkA2B0Dz+K8oF jp/LFBwMX0fSwZBPFMiwD3lRGBn10Guw3FBw0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=SOPY2xoOvjotx1YbZeQ5r2faK8TXJO/Zmg1OenCmEA1vA0++wx5KHpGZfHzGVUPTEU EN1T9ACBdRozkjaE3OsUsGacxKg1n0XFk5AX8pTkA0aoTnv05N68BPP6/TVoZlsGghAt wdl0AEH01PwmtpDRB+9KV2lIF06BfgoDqe58s= Received: by 10.216.176.83 with SMTP id a61mr3696791wem.47.1281908838347; Sun, 15 Aug 2010 14:47:18 -0700 (PDT) Received: from localhost.localdomain ([188.48.31.6]) by mx.google.com with ESMTPS id p52sm2891831weq.44.2010.08.15.14.47.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 15 Aug 2010 14:47:17 -0700 (PDT) From: Mohammed Gamal To: avi@redhat.com Cc: kvm@vger.kernel.org, mtosatti@redhat.com, Mohammed Gamal Subject: [RFC PATCH v3 1/4] x86 emulator: Expose emulate_int_real() Date: Mon, 16 Aug 2010 00:47:00 +0300 Message-Id: <1281908823-4505-2-git-send-email-m.gamal005@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1281908823-4505-1-git-send-email-m.gamal005@gmail.com> References: <1281908823-4505-1-git-send-email-m.gamal005@gmail.com> 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.3 (demeter.kernel.org [140.211.167.41]); Sun, 15 Aug 2010 21:47:32 +0000 (UTC) diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h index f22e5da..6a7cce0 100644 --- a/arch/x86/include/asm/kvm_emulate.h +++ b/arch/x86/include/asm/kvm_emulate.h @@ -255,5 +255,6 @@ int x86_emulate_insn(struct x86_emulate_ctxt *ctxt); int emulator_task_switch(struct x86_emulate_ctxt *ctxt, u16 tss_selector, int reason, bool has_error_code, u32 error_code); - +int emulate_int_real(struct x86_emulate_ctxt *ctxt, + struct x86_emulate_ops *ops, int irq); #endif /* _ASM_X86_KVM_X86_EMULATE_H */