Received: from eggs.gnu.org ([140.186.70.92]:44676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLslg-0007cY-Sl for qemu-devel@nongnu.org; Mon, 16 May 2011 04:03:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QLslg-000091-0L for qemu-devel@nongnu.org; Mon, 16 May 2011 04:03:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QLslf-00008o-Pm for qemu-devel@nongnu.org; Mon, 16 May 2011 04:03:07 -0400 From: Markus Armbruster References: Date: Mon, 16 May 2011 10:03:02 +0200 In-Reply-To: (Blue Swirl's message of "Fri, 13 May 2011 23:28:47 +0300") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] Why is qdev vga-isa no_user? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel@nongnu.org Blue Swirl writes: > On Fri, May 13, 2011 at 4:36 PM, Markus Armbruster wrote: >> Blue, you did the conversion (commit 7435b791), care to explain? > > Because I/O ports of VGA are fixed, so there can be only zero (which > is handled by -vga none) or one devices. Reason I'm asking: the other VGA devices can be configured with "-device NAME", like any other user-configurable device. I want that for isa-vga, too. Of any device with fixed resources, there can be at most one. If you configure more than one, you get an error. Same as for inter-device resource clashes. Our reporting of resource clashes isn't exactly user friendly, and should be improved. no_user is strictly for devices that aren't user-configurable at all. I'll post a patch to bring isa-vga in line with the other VGA devices.