From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbxSe-0005MW-OS for qemu-devel@nongnu.org; Tue, 15 Sep 2015 17:08:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbxSb-0001wV-I7 for qemu-devel@nongnu.org; Tue, 15 Sep 2015 17:08:20 -0400 Message-ID: <1442351290.3146.17.camel@kernel.crashing.org> From: Benjamin Herrenschmidt Date: Wed, 16 Sep 2015 07:08:10 +1000 In-Reply-To: <1442308746.2895.19.camel@redhat.com> References: <1442296289.3146.8.camel@kernel.crashing.org> <1442308746.2895.19.camel@redhat.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] ppc/spapr: Allow VIRTIO_VGA List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: qemu-ppc@nongnu.org, agraf@suse.de, qemu-devel@nongnu.org On Tue, 2015-09-15 at 11:19 +0200, Gerd Hoffmann wrote: > On Di, 2015-09-15 at 15:51 +1000, Benjamin Herrenschmidt wrote: > > It works fine with the Linux driver out of the box > > Do you actually want the vga compatibility bits on pseries? Yes, our firmware SLOF uses them (via MMIO BARs) for the early boot stuff (well, it will use them when the patches I sent are merged). > There also is virtio-gpu-pci (same thing as virtio-vga but without > vga compatibility), which should already be enabled on ppc64. > > Thel inux kvm driver certainly doesn't need vga compatibility. > > For slof support it might be useful though, the vga compatibility > bits > in virtio-vga are fully compatible to stdvga, so slof support should > be > as simple as adding a PCI ID ... Right. Well, I first had to update SLOF to use the MMIO BARs rather than the legacy IO crap, but yes, that's pretty much what I did. > cheers, > Gerd >