From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [RFC][PATCH 28/45] qemu-kvm: msix: Drop tracking of used vectors Date: Tue, 18 Oct 2011 17:58:09 +0200 Message-ID: <4E9DA211.2030502@siemens.com> References: <20111018123305.GK28776@redhat.com> <4E9D734C.2060504@siemens.com> <20111018124818.GO28776@redhat.com> <4E9D786D.4060802@siemens.com> <20111018133719.GS28776@redhat.com> <4E9D831E.100@siemens.com> <20111018140156.GA4980@redhat.com> <4E9D886E.3090201@siemens.com> <20111018150834.GA6103@redhat.com> <4E9D99BE.2030600@siemens.com> <20111018155638.GA6362@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Avi Kivity , Marcelo Tosatti , "kvm@vger.kernel.org" , Alex Williamson , "qemu-devel@nongnu.org" To: "Michael S. Tsirkin" Return-path: Received: from david.siemens.de ([192.35.17.14]:19344 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756001Ab1JRP6O (ORCPT ); Tue, 18 Oct 2011 11:58:14 -0400 In-Reply-To: <20111018155638.GA6362@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 2011-10-18 17:56, Michael S. Tsirkin wrote: >> What would probably help us long-term out of your concerns regarding >> lazy routing is to bypass that redundant GSI translation for dynamic >> messages, i.e. those that are not associated with an irqfd number or an >> assigned device irq. Something like a KVM_DELIVER_MSI IOCTL that accepts >> address and data directly. >> >> Jan > > You are trying to work around the problem by not requiring > any resources per MSI vector. This just might work for some > uses (ioctl) but isn't a generic solution (e.g. won't work for irqfd). irqfd is not affected anymore in that model as it cannot participate in lazy routing anyway. Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux