From patchwork Wed Nov 3 11:56:11 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerd Hoffmann X-Patchwork-Id: 69996 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 929E6B70D4 for ; Wed, 3 Nov 2010 23:08:46 +1100 (EST) Received: from localhost ([127.0.0.1]:59603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDc8w-0001zq-9u for incoming@patchwork.ozlabs.org; Wed, 03 Nov 2010 08:08:42 -0400 Received: from [140.186.70.92] (port=33450 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PDbww-0004Vu-A7 for qemu-devel@nongnu.org; Wed, 03 Nov 2010 07:56:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PDbwt-0000O6-WF for qemu-devel@nongnu.org; Wed, 03 Nov 2010 07:56:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:25670) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PDbwt-0000Ng-LJ for qemu-devel@nongnu.org; Wed, 03 Nov 2010 07:56:15 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id oA3BuEYg007651 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 3 Nov 2010 07:56:14 -0400 Received: from rincewind.home.kraxel.org (vpn1-4-71.ams2.redhat.com [10.36.4.71]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id oA3BuD9f022982; Wed, 3 Nov 2010 07:56:13 -0400 Received: by rincewind.home.kraxel.org (Postfix, from userid 500) id 8B17145847; Wed, 3 Nov 2010 12:56:12 +0100 (CET) From: Gerd Hoffmann To: qemu-devel@nongnu.org Date: Wed, 3 Nov 2010 12:56:11 +0100 Message-Id: <1288785372-17514-4-git-send-email-kraxel@redhat.com> In-Reply-To: <1288785372-17514-1-git-send-email-kraxel@redhat.com> References: <1288785372-17514-1-git-send-email-kraxel@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Cc: Gerd Hoffmann Subject: [Qemu-devel] [PATCH v3 3/4] switch vmware_vga to pci vgabios X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Gerd Hoffmann --- hw/vmware_vga.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 3d25c14..9337fdb 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -114,14 +114,12 @@ struct pci_vmsvga_state_s { # define SVGA_IO_BASE SVGA_LEGACY_BASE_PORT # define SVGA_IO_MUL 1 # define SVGA_FIFO_SIZE 0x10000 -# define SVGA_MEM_BASE 0xe0000000 # define SVGA_PCI_DEVICE_ID PCI_DEVICE_ID_VMWARE_SVGA2 #else # define SVGA_ID SVGA_ID_1 # define SVGA_IO_BASE SVGA_LEGACY_BASE_PORT # define SVGA_IO_MUL 4 # define SVGA_FIFO_SIZE 0x10000 -# define SVGA_MEM_BASE 0xe0000000 # define SVGA_PCI_DEVICE_ID PCI_DEVICE_ID_VMWARE_SVGA #endif @@ -1219,10 +1217,6 @@ static void vmsvga_init(struct vmsvga_state_s *s, int vga_ram_size) vga_init(&s->vga); vmstate_register(NULL, 0, &vmstate_vga_common, &s->vga); - vga_init_vbe(&s->vga); - - rom_add_vga(VGABIOS_FILENAME); - vmsvga_reset(s); } @@ -1320,6 +1314,7 @@ static PCIDeviceInfo vmsvga_info = { .qdev.size = sizeof(struct pci_vmsvga_state_s), .qdev.vmsd = &vmstate_vmware_vga, .init = pci_vmsvga_initfn, + .romfile = "vgabios-vmware.bin", }; static void vmsvga_register(void)