From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Make virtio devices multi-function Date: Tue, 22 Apr 2008 17:51:51 +0300 Message-ID: <480DFB87.6090608@qumranet.com> References: <1208873728-10194-1-git-send-email-aliguori@us.ibm.com> <480DF70D.8010609@qumranet.com> <480DFA3B.2000401@codemonkey.ws> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel@lists.sourceforge.net, Chris Wright To: Anthony Liguori Return-path: In-Reply-To: <480DFA3B.2000401@codemonkey.ws> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces@lists.sourceforge.net Errors-To: kvm-devel-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org Anthony Liguori wrote: > Avi Kivity wrote: >> Anthony Liguori wrote: >> >>> This patch changes virtio devices to be multi-function devices whenever >>> possible. This increases the number of virtio devices we can >>> support now by >>> a factor of 8. >>> >>> With this patch, I've been able to launch a guest with either 220 >>> disks or 220 >>> network adapters. >>> >>> >> >> Does this play well with hotplug? Perhaps we need to allocate a new >> device on hotplug. >> > > Probably not. I imagine you can only hotplug devices, not individual > functions? > It sounds reasonable to expect so. ACPI has objects for devices, not functions (IIRC). Maybe require explicit device/function assignment on the command line? It will be managed anyway. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone