From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51598 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHGBq-000179-Ob for qemu-devel@nongnu.org; Wed, 26 May 2010 08:58:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHGBp-0007RB-KH for qemu-devel@nongnu.org; Wed, 26 May 2010 08:58:30 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60756) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OHGBp-0007Qu-DL for qemu-devel@nongnu.org; Wed, 26 May 2010 08:58:29 -0400 Message-ID: <4BFD1AEB.1080908@redhat.com> Date: Wed, 26 May 2010 14:58:19 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] all vga: refuse hotplugging. References: <1274863397-15005-1-git-send-email-kraxel@redhat.com> <4BFD0479.90609@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefano Stabellini Cc: "qemu-devel@nongnu.org" Hi, >> Yes. Assuming the virtual hardware in question can actually act as >> secondary, i.e. is fully programmable without the legacy vga ports. The >> standard vga can't. The cirrus looks doable, at least you can access >> the vga ports using the mmio bar. > > I see, good point. > > I guess the right fix here would be to return -1 in the stdvga case but > continue in the cirrus case and avoid registering the vga ioports when > used as secondary adapter. Except that this most likely is a non-trivial effort as we have to find and test sane ways to handle multiple guest displays. I think having two gfx screens mapped to two qemu consoles, then be able to switch between them via Ctrl-Alt- (like you switch today to text consoles) could be doable without too much effort. Question is how useful this would be as you can't see your two screens at the same time. With qxl+spice the spice client will open a new window for the secondary display. With vnc+sdl you'll see the primary display only. cheers, Gerd