From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh8AK-000660-Bi for qemu-devel@nongnu.org; Thu, 14 Nov 2013 20:25:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vh8A8-00005x-5q for qemu-devel@nongnu.org; Thu, 14 Nov 2013 20:25:44 -0500 Received: from mail-yh0-f45.google.com ([209.85.213.45]:42701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vh8A8-00005h-1O for qemu-devel@nongnu.org; Thu, 14 Nov 2013 20:25:32 -0500 Received: by mail-yh0-f45.google.com with SMTP id i7so1494127yha.4 for ; Thu, 14 Nov 2013 17:25:30 -0800 (PST) Message-ID: <52857803.6040006@ozlabs.ru> Date: Fri, 15 Nov 2013 12:25:23 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <52845915.4030201@ozlabs.ru> <1384408904.3806.16.camel@pasglop> <528499F2.2060204@ozlabs.ru> <0EC3B49C-9DC8-4F7D-8BB3-D49DEFB8F510@suse.de> <1384460914.3806.25.camel@pasglop> <1FC02D0E-ED9E-4A75-A81A-295FB5324384@suse.de> <1384468340.3806.28.camel@pasglop> In-Reply-To: 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: Peter Maydell , Benjamin Herrenschmidt Cc: Nikunj A Dadhania , Alexander Graf , Li Zhang , "qemu-devel@nongnu.org" , "qemu-ppc@nongnu.org" , Avik Sil , Paul Mackerras On 11/15/2013 10:03 AM, Peter Maydell wrote: > On 14 November 2013 22:32, Benjamin Herrenschmidt > wrote: >> On Thu, 2013-11-14 at 17:23 -0500, Alexander Graf wrote: >>> Yes. But I think it's the correct thing to do in this case. X86 also >>> doesn't create a USB controller like we would have to. Our pseries >>> platform just doesn't have a legacy PC/AT keyboard controller. >> >> Sure, but that implies that -nodefaults -device VGA creates a working >> usable machine on x86 and not on pseries... > > Sounds plausible. Anything using -nodefaults has to have > knowledge of every QEMU machine type it wants to use > so it can know which devices need adding in order to get > various functionality. ('-device VGA' doesn't work at all on > some, for instance). If you ask for full manual control, you > get full manual control :-) That is ok and I asked our libvirt person to fix it (Hi Li :) ). What I still do not completely understand is the principle used about automatic device creation. Specifically, "-device VGA" creates only VGA (and that is understandable) but "-vga std" creates more devices, if if used together with "-nodefaults". Is it because "-device" must create only what it is told to create and others non-"-device" options (-usb? -vga? -machine ...? any!) can auto-create whatever they want (well, what seems reasonable to create for the specific arch)? -- Alexey