From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47252) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMzaJ-0007az-0U for qemu-devel@nongnu.org; Mon, 10 Mar 2014 08:45:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WMzaA-0007zD-FX for qemu-devel@nongnu.org; Mon, 10 Mar 2014 08:45:34 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]:52933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WMzaA-0007yM-8t for qemu-devel@nongnu.org; Mon, 10 Mar 2014 08:45:26 -0400 Received: by mail-pa0-f50.google.com with SMTP id kq14so7244993pab.9 for ; Mon, 10 Mar 2014 05:45:25 -0700 (PDT) Message-ID: <531DB3DE.4010104@ozlabs.ru> Date: Mon, 10 Mar 2014 23:45:18 +1100 From: Alexey Kardashevskiy MIME-Version: 1.0 References: <1394185045-24868-1-git-send-email-wudxw@linux.vnet.ibm.com> <1394185045-24868-2-git-send-email-wudxw@linux.vnet.ibm.com> <531994DF.4000503@redhat.com> <531B1A95.4030603@ozlabs.ru> <531CADCE.1080802@redhat.com> <531DAEA5.50208@ozlabs.ru> <531DAF5A.8090204@redhat.com> In-Reply-To: <531DAF5A.8090204@redhat.com> Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH v2 2/2] Fix return value of vga initlization on ppc List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Mark Wu , qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: afaerber@suse.de, aliguori@amazon.com, Alex Graf On 03/10/2014 11:26 PM, Paolo Bonzini wrote: > Il 10/03/2014 13:23, Alexey Kardashevskiy ha scritto: >> On 03/10/2014 05:07 AM, Paolo Bonzini wrote: >>> Il 08/03/2014 14:26, Alexey Kardashevskiy ha scritto: >>>>>> I think that after this patch, "-nodefaults -device VGA" will get a USB >>>>>> controller that it didn't get before. >>>> >>>> I suspect what was meant by "the machine not aware of the graphics device" >>>> is that the guest won't work with VGA and without keyboard (default >>>> console will be vga + keyboard and not serial) which is USB and this is >>>> why >>>> the patch is trying to add USB. >>> >>> But with -nodefaults QEMU should never be adding USB. >> >> As I was told in this list before, even with -nodefaults, QEMU should not >> create a machine which is known for not working or not being supported. >> Having VGA and not having any input device is kind of such a config, no? > > -nodefaults is exactly the opposite of that: no magic whatsoever. No VGA, > no serial, nothing. qemu-system-x86_64 -enable-kvm -nographic -nodefaults -monitor stdio "info qtree" shows a whole bunch of devices like "i440FX-pcihost", "isa-fdc", "piix3-ide", "vmmouse", "vmport" (what are the last two?). I was told here that 8042 is to emulate A20, ok, but others - I do not really understand. "q35" is bit different than "pc" but not smaller. The point was made that there is no point in emulating a machine which does not exist in the real world. Has it changed recently? > And especially, with -nodefaults adding a VGA means just that: adding a VGA. Usual issue - libvirt expects keyboard with VGA and x86 provides this as it always has keyboard. PPC does not have such default. -- Alexey