From patchwork Thu Oct 8 14:52:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 52520 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n98F0Ech009612 for ; Thu, 8 Oct 2009 15:00:14 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932475AbZJHOz1 (ORCPT ); Thu, 8 Oct 2009 10:55:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932472AbZJHOzZ (ORCPT ); Thu, 8 Oct 2009 10:55:25 -0400 Received: from mx1.redhat.com ([209.132.183.28]:26930 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932470AbZJHOzV (ORCPT ); Thu, 8 Oct 2009 10:55:21 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98EshvB022933; Thu, 8 Oct 2009 10:54:43 -0400 Received: from redhat.com (vpn-10-126.str.redhat.com [10.32.10.126]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n98Esf6Z027849; Thu, 8 Oct 2009 10:54:41 -0400 Date: Thu, 8 Oct 2009 16:52:41 +0200 From: "Michael S. Tsirkin" To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel Subject: [PATCH 2/3] qemu: make cirrus init value pci spec compliant Message-ID: <20091008145241.GC12275@redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/hw/cirrus_vga.c b/hw/cirrus_vga.c index 1feb827..c54ac65 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -3248,7 +3248,6 @@ static int pci_cirrus_vga_initfn(PCIDevice *dev) /* setup PCI */ pci_config_set_vendor_id(pci_conf, PCI_VENDOR_ID_CIRRUS); pci_config_set_device_id(pci_conf, device_id); - pci_conf[0x04] = PCI_COMMAND_IOACCESS | PCI_COMMAND_MEMACCESS; pci_config_set_class(pci_conf, PCI_CLASS_DISPLAY_VGA); pci_conf[PCI_HEADER_TYPE] = PCI_HEADER_TYPE_NORMAL;