From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43863) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgq0O-00061g-Vp for qemu-devel@nongnu.org; Thu, 14 Nov 2013 01:02:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgq0J-0000ge-0Q for qemu-devel@nongnu.org; Thu, 14 Nov 2013 01:02:16 -0500 Message-ID: <1384408904.3806.16.camel@pasglop> From: Benjamin Herrenschmidt Date: Thu, 14 Nov 2013 17:01:44 +1100 In-Reply-To: <52845915.4030201@ozlabs.ru> References: <52845915.4030201@ozlabs.ru> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 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: Alexey Kardashevskiy Cc: Nikunj A Dadhania , "qemu-devel@nongnu.org" , Alex Graf , Paul Mackerras , Avik Sil , "qemu-ppc@nongnu.org" 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. So libvirt should be fixed not to do that Cheers, Ben.