From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQNus-0007qR-Jm for qemu-devel@nongnu.org; Mon, 22 Oct 2012 15:44:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQNur-0003JG-6o for qemu-devel@nongnu.org; Mon, 22 Oct 2012 15:44:02 -0400 Received: from smtp1-g21.free.fr ([212.27.42.1]:48436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQNuq-0003HB-JG for qemu-devel@nongnu.org; Mon, 22 Oct 2012 15:44:01 -0400 Received: from [192.168.0.10] (unknown [82.227.227.196]) by smtp1-g21.free.fr (Postfix) with ESMTP id EC53094007F for ; Mon, 22 Oct 2012 21:43:47 +0200 (CEST) Message-ID: <5085A1F3.6040008@reactos.org> Date: Mon, 22 Oct 2012 21:43:47 +0200 From: =?ISO-8859-1?Q?Herv=E9_Poussineau?= MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] Resource reporting for VGA cards List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Hello, I'm trying to add support for a S3 PCI VGA card to QEMU. It currently=20 works on some non-x86 systems. However, on x86, it seems that the card is correctly detected, but there=20 is no display at all; I think it is due to bad framebuffer address=20 detection. There is some resource differences beteween QEMU vs Microsoft Virtual PC. Resources reported by MS Windows 98 are: Microsoft Virtual PC: Memory: 000A0000-000AFFFF Memory: 000B0000-000BFFFF I/O: 03B0-03BB I/O: 03C0-03DF Memory: F8000000-FBFFFFFF (I think it is the framebuffer) QEMU: Memory: 000A0000-000AFFFF Memory: 000B0000-000BFFFF I/O: 03B0-03BB I/O: 03C0-03DF Memory: FD000000-FDFFFFFF (BAR0) Memory: 000C0000-000CFFFF (rom file?) Memory: 04000000-04007FFF (???) S3 card have a BAR0 of size 0x1000000 (16MB) for the framebuffer, and=20 ROM is created with bochs vgabios. QEMU is launched with -m pc -device s3-trio. Do you have an idea of what can be the last entry, and how to remove it=20 from resource detection? And why MS Virtual PC doesn't report ROM file, while QEMU does? Regards, Herv=E9