Received: from eggs.gnu.org ([140.186.70.92]:55323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuvVl-00017D-7P for qemu-devel@nongnu.org; Tue, 07 Feb 2012 19:35:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RuvVd-0004CG-Fz for qemu-devel@nongnu.org; Tue, 07 Feb 2012 19:35:45 -0500 Received: from mail-qy0-f173.google.com ([209.85.216.173]:43533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RuvVc-00049h-7p for qemu-devel@nongnu.org; Tue, 07 Feb 2012 19:35:40 -0500 Received: by qcsc20 with SMTP id c20so6073qcs.4 for ; Tue, 07 Feb 2012 16:35:38 -0800 (PST) Date: Tue, 7 Feb 2012 19:35:34 -0500 From: Kevin O'Connor Message-ID: <20120208003534.GA8786@morn.localdomain> References: <1328212740-15799-1-git-send-email-mdroth@linux.vnet.ibm.com> <20120203121803.6963d24f@doriath.home> <4F2C0D45.1020701@linux.vnet.ibm.com> <20120203144535.1be8a569@doriath.home> <4F2C17F9.9030103@linux.vnet.ibm.com> <20120203171627.531a42d4@doriath.home> <20120204153432.GA31653@morn.localdomain> <20120206134342.605af344@doriath.home> <20120207000942.GA23819@morn.localdomain> <20120207084439.GA23536@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120207084439.GA23536@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 0/8] qemu-ga: add support for Windows List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gleb Natapov Cc: ghammer@redhat.com, aliguori@us.ibm.com, qemu-devel@nongnu.org, Michael Roth , Luiz Capitulino On Tue, Feb 07, 2012 at 10:44:39AM +0200, Gleb Natapov wrote: > On Mon, Feb 06, 2012 at 07:09:42PM -0500, Kevin O'Connor wrote: > > Perhaps a semantic distinction, but I don't consider that to be a > > seabios defect. > > > Non optimal default. The default didn't change BTW, but it was config > parameter before and we changed it for RHEL. Now config parameter is > gone. Config parameter moved from compile time to runtime. But I agree it is unfortunate that knowledge of that didn't get to the right people. > > In any case, I don't think this was addressed. Gerd published a patch > > that can address this in qemu: > > http://www.seabios.org/pipermail/seabios/2012-January/002944.html > > > Strictly speaking the patch is incorrect since it introduces the file > for all architectures, but I do not think qemu is the right place to > tune SeaBIOS defaults. I propose this patch instead: [...] > // Load some config settings that impact VGA. > EnforceChecksum = romfile_loadint("etc/optionroms-checksum", 1); > - S3ResumeVgaInit = romfile_loadint("etc/s3-resume-vga-init", 0); > + S3ResumeVgaInit = romfile_loadint("etc/s3-resume-vga-init", !CONFIG_COREBOOT); > ScreenAndDebug = romfile_loadint("etc/screen-and-debug", 1); I'm concerned about the VGA passthrough case. (I know that's not common and has other issues, but I also know several people have been working with it.) As near as I can tell, running the VGA rom on S3 resume has as much chance of breaking things as helping things. It's fine for the cirrus/bochsvga vgaroms that are totally under our control, but it'd be an open guess for any third-party code. (Again, if someone has documentation to the contrary please let me know.) So, compiling this into SeaBIOS doesn't seems like the right choice to me. -Kevin