From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwBkV-0002K8-Gj for qemu-devel@nongnu.org; Mon, 08 Jul 2013 09:45:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UwBkT-0007sW-CH for qemu-devel@nongnu.org; Mon, 08 Jul 2013 09:45:03 -0400 Received: from mail-lb0-f174.google.com ([209.85.217.174]:39558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UwBQP-0001d8-AB for qemu-devel@nongnu.org; Mon, 08 Jul 2013 09:24:17 -0400 Received: by mail-lb0-f174.google.com with SMTP id x10so3755154lbi.33 for ; Mon, 08 Jul 2013 06:24:16 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <83A07262-ED9A-4E5A-BC11-5B357F5B4996@suse.de> References: <1372338255-3934-1-git-send-email-peter.maydell@linaro.org> <39E5AB85-E7DD-4B9F-9F6F-F80CA6FCAC11@suse.de> <83A07262-ED9A-4E5A-BC11-5B357F5B4996@suse.de> From: Peter Maydell Date: Mon, 8 Jul 2013 14:23:56 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 0/8] Add virtio-mmio and use it in vexpress List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Anthony Liguori , patches@linaro.org, qemu-devel@nongnu.org, David Gibson , kvmarm@lists.cs.columbia.edu, KONRAD Frederic On 8 July 2013 14:16, Alexander Graf wrote: > > On 08.07.2013, at 15:08, Peter Maydell wrote: > >> On 8 July 2013 13:59, Alexander Graf wrote: >>> On 08.07.2013, at 14:57, Alexander Graf wrote: >>>> On 27.06.2013, at 15:04, Peter Maydell wrote: >>>>> The basic idea is that the board instantiates some transports, >>>> >>>> I really dislike that idea. Couldn't you also create a new >>>> bus for your vexpress platform and add a virtio-mmio-vexpress >>>> device that automatically allocates an interrupt from the main >>>> PIC on instantiation? That way you could create transports >>>> using -device. >> >> This doesn't seem to gain anything except that the user has >> to use -device twice rather than once. > > Yes, it does. You can have other devices than just virtio ones > on those IRQ lines. Assigned devices for example. Now I'm completely confused. Why would assigned devices have anything to do with this? Can you explain in more detail, because I don't really see what you're suggesting? >> As far as I know there's no way to find out at board >> construction how many virtio devices you might want. > > Hence you shouldn't create them :). You've got to create them sometime... -- PMM