From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHGAo-0002o1-Tz for qemu-devel@nongnu.org; Mon, 20 Jul 2015 14:52:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZHGAk-0003r5-RD for qemu-devel@nongnu.org; Mon, 20 Jul 2015 14:52:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZHGAk-0003qz-Ly for qemu-devel@nongnu.org; Mon, 20 Jul 2015 14:52:18 -0400 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id E02608F23E for ; Mon, 20 Jul 2015 18:52:17 +0000 (UTC) References: <55A158AF.8050907@redhat.com> <1436772752.26533.2.camel@redhat.com> <55A38FBD.4000203@redhat.com> <1436787942.26533.21.camel@redhat.com> <55A3A5C8.2060201@redhat.com> From: Laszlo Ersek Message-ID: <55AD435F.8040808@redhat.com> Date: Mon, 20 Jul 2015 20:52:15 +0200 MIME-Version: 1.0 In-Reply-To: <55A3A5C8.2060201@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] selecting VIRTIO_INPUT and VIRTIO_VGA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini , Gerd Hoffmann Cc: qemu-devel On 07/13/15 13:49, Paolo Bonzini wrote: > > > On 13/07/2015 13:45, Gerd Hoffmann wrote: >>>>>>>> and virtio-vga is only compiled on 64-bit Intel? >>>>>> >>>>>> There is virtio-gpu-pci ... >>>>>> >>>>>> Any specific reason why we need vga compatibility on !x86? >>>> >>>> I was actually thinking about 32-bit x86. :) I agree that !x86 is not >>>> necessary. >> Yea, setting it for i386 makes sense indeed. Just went out of my focus, >> last time I used qemu-system-i386 was a few years back ... >> >> Any reason why one would use qemu-system-i386 instead of >> qemu-system-x86_64 btw? I suspect a 32bit host machine is the only one? > > Yes, I think so. > > Well, for TCG there is a difference of course. Laszlo was using > qemu-system-i386 because OVMF doesn't support our x86_64 layout for the > SMM state save area. Right, for 64-bit processors, there's one definition from AMD and another from Intel. They are incompatible. qemu-system-i386, with TCG, exposes the 32-bit SMM save state area that the 32-bit SMM drivers -- open sourced by Intel, and being ported to OVMF by yours truly -- are compatible with. qemu-system-x86_64, with TCG, exposes the AMD flavor of the 64-bit area. The code open sourced by Intel thus far is absolutely incompatible with it. (In the code there are traces of support for the Intel flavor.) With KVM support now existing (thanks Paolo), this might not be that important any longer. (Paolo taught me that -lm can disable long mode under KVM with qemu-system-x86_64, determining the save state aera layout too.) Thanks Laszlo