From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgtNP-0000Pu-Fg for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:38:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgtNC-0004HJ-DB for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:38:15 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:64271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgtNC-0004Gv-7b for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:38:02 -0500 Received: by mail-pa0-f47.google.com with SMTP id ld10so1802593pab.34 for ; Thu, 14 Nov 2013 01:38:01 -0800 (PST) Message-ID: <528499F2.2060204@ozlabs.ru> Date: Thu, 14 Nov 2013 20:37:54 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <52845915.4030201@ozlabs.ru> <1384408904.3806.16.camel@pasglop> In-Reply-To: <1384408904.3806.16.camel@pasglop> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] -vga std vs. -device VGA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt Cc: Nikunj A Dadhania , "qemu-devel@nongnu.org" , Alex Graf , Paul Mackerras , Avik Sil , "qemu-ppc@nongnu.org" On 11/14/2013 05:01 PM, Benjamin Herrenschmidt wrote: > On Thu, 2013-11-14 at 16:01 +1100, Alexey Kardashevskiy wrote: >> So the question is - is there any proper (i. e. qemu-upstreamable) way to >> detect a VGA device presence and create additional devices (OHCI, keyboard, >> mouse) as "-vga" does it now? The machine reset callback is too late for that. >> >> Or we should just print an error (in QEMU or SLOF) and do nothing and let >> the user configure all required devices in libvirt? > > My opinion is that we should always create a PAPR vty... > > libvirt creating VGA devices is stupid... I understand x86's get upset when > they don't have one but it's useless on power and adds its own problems. The RHEL6.5 test mode installer is pretty limited compared to the graphical version. And, with libvirt, it is not always easy to use VNC provided by the installer. Having VGA is quite nice option. > So libvirt should be fixed not to do that The user decided to use VGA, not libvirt (which does not create VGA by default). -- Alexey