From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paolo Bonzini Subject: Re: [RFC v1 5/5] Call irqbypass update routine when updating irqfd Date: Fri, 10 Jul 2015 14:47:58 +0200 Message-ID: <559FBEFE.4000202@redhat.com> References: <1436497207-4786-1-git-send-email-feng.wu@intel.com> <1436497207-4786-6-git-send-email-feng.wu@intel.com> <1436498778.1391.246.camel@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" , "joro@8bytes.org" , "avi.kivity@gmail.com" , "eric.auger@linaro.org" To: "Wu, Feng" , Alex Williamson Return-path: Received: from mail-wi0-f170.google.com ([209.85.212.170]:36363 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932237AbbGJMy0 (ORCPT ); Fri, 10 Jul 2015 08:54:26 -0400 Received: by widjy10 with SMTP id jy10so14740173wid.1 for ; Fri, 10 Jul 2015 05:54:25 -0700 (PDT) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 10/07/2015 10:28, Wu, Feng wrote: > > Yes, you are right. All we need is the producer information which has been > > passed in the register routine. And we can easily make this update logic > > inside the consumer. Thanks for your comments! > > BTW, Paolo & Alex, in VFIO framework, how can we know a vCPU or a guest > has assigned devices to it? See here: http://article.gmane.org/gmane.comp.emulators.kvm.devel/137930/raw Paolo