From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm guest balloon driver Date: Tue, 08 Jan 2008 18:18:13 +0200 Message-ID: <4783A245.90002@qumranet.com> References: <20080108153356.GA21726@dmt> <478399D5.9030707@codemonkey.ws> <20080108161005.GA22168@dmt> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel , virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Marcelo Tosatti Return-path: In-Reply-To: <20080108161005.GA22168@dmt> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Marcelo Tosatti wrote: >> Why is it taking over the irq? This is very, very wrong. A virtio >> device cannot be dependent on being used on top of the virtio-pci backend. >> > > A notification is necessary whenever the host changes the target value > in the config space. So right now this notification is sharing the > same IRQ as the main PCI device. > > Do you have any suggestion on how to retrieve the IRQ of the virtio > device, or some other notification mechanism? > One way would be to send a "look at config" queue message, but it seems that it is a fairly generic operation. Maybe virtio can add support for it, with a new callback. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace