Message ID | 1436780855-3617-13-git-send-email-feng.wu@intel.com |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRZJ7NVSYPBBE4ZR2WQKGQEXS24GDQ@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 98036218E9 for <linaro@patches.linaro.org>; Mon, 13 Jul 2015 10:01:56 +0000 (UTC) Received: by wgfk9 with SMTP id k9sf102223074wgf.1 for <linaro@patches.linaro.org>; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=wJkacZN7joLsRuhTAXEC+/XADj48K5Ne0uJs7b2fSFU=; b=B+O9ykGJF7MMGoRe/NipHDCGERyjGolAZetu3L64FZUGYGO/TitY3hlPuoZjErPrPw DBSlx82PBnbU18kI4fTwl85eA0qQV0F0VnKTWKE7yEoWX/Qd7d/2jilEKBMumHGSvjHT b7fTulOzLich/9oR/TM08St/fwVdS1lbnvsudaRr7KNcyUQ8T/EA669+pXIJ8wYJ4btG l16c28rkTsJCAvSMccKCliTYlKLNzM7NoPB4Gviouqp34DPEzNg6dtG+CBuB4hmJCNi4 w+WXJYt9wRWtYI/9W3hUykAuOLfnFOjRT+A0kZMDNOjJsUCYzgpgPXFfE4PXVCumglgU q60w== X-Gm-Message-State: ALoCoQmBJvCAOgeLvla36pFMqwcipTlg9fuR9o9mORO2XtcJ1md6WfBHHYnZstNMjOdSLOrcoa4I X-Received: by 10.194.93.198 with SMTP id cw6mr18213084wjb.3.1436781715890; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.9 with SMTP id ku9ls1368321lac.37.gmail; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) X-Received: by 10.112.166.106 with SMTP id zf10mr31466392lbb.36.1436781715687; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) Received: from mail-la0-f41.google.com (mail-la0-f41.google.com. [209.85.215.41]) by mx.google.com with ESMTPS id s10si14515729laj.84.2015.07.13.03.01.55 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2015 03:01:55 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) client-ip=209.85.215.41; Received: by laem6 with SMTP id m6so6069325lae.0 for <patchwork-forward@linaro.org>; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) X-Received: by 10.152.36.102 with SMTP id p6mr31584635laj.19.1436781715599; Mon, 13 Jul 2015 03:01:55 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1619264lbb; Mon, 13 Jul 2015 03:01:54 -0700 (PDT) X-Received: by 10.70.37.144 with SMTP id y16mr67788004pdj.86.1436781713120; Mon, 13 Jul 2015 03:01:53 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ri10si27611291pdb.167.2015.07.13.03.01.51; Mon, 13 Jul 2015 03:01:53 -0700 (PDT) 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; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751718AbbGMKBu (ORCPT <rfc822;matthew.hart@linaro.org> + 28 others); Mon, 13 Jul 2015 06:01:50 -0400 Received: from mga03.intel.com ([134.134.136.65]:34120 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752667AbbGMJ65 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 13 Jul 2015 05:58:57 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga103.jf.intel.com with ESMTP; 13 Jul 2015 02:58:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,462,1432623600"; d="scan'208";a="761364887" Received: from feng-bdw-de-pi.bj.intel.com ([10.238.154.75]) by fmsmga002.fm.intel.com with ESMTP; 13 Jul 2015 02:58:55 -0700 From: Feng Wu <feng.wu@intel.com> To: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: pbonzini@redhat.com, alex.williamson@redhat.com, joro@8bytes.org, eric.auger@linaro.org, feng.wu@intel.com Subject: [v5 12/19] KVM: eventfd: add irq bypass information in irqfd Date: Mon, 13 Jul 2015 17:47:28 +0800 Message-Id: <1436780855-3617-13-git-send-email-feng.wu@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1436780855-3617-1-git-send-email-feng.wu@intel.com> References: <1436780855-3617-1-git-send-email-feng.wu@intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: feng.wu@intel.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.41 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/include/linux/kvm_irqfd.h b/include/linux/kvm_irqfd.h index f926b39..cf9aad4 100644 --- a/include/linux/kvm_irqfd.h +++ b/include/linux/kvm_irqfd.h @@ -17,6 +17,7 @@ #include <linux/kvm_host.h> #include <linux/poll.h> +#include <linux/irqbypass.h> /* * Resampling irqfds are a special variety of irqfds used to emulate @@ -64,6 +65,8 @@ struct kvm_kernel_irqfd { struct list_head list; poll_table pt; struct work_struct shutdown; + struct irq_bypass_consumer consumer; + struct irq_bypass_producer *producer; }; #endif /* __LINUX_KVM_IRQFD_H */