From patchwork Thu Oct 8 15:54:35 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: 52535 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 n98G6e5D026608 for ; Thu, 8 Oct 2009 16:06:41 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758696AbZJHP5Q (ORCPT ); Thu, 8 Oct 2009 11:57:16 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754289AbZJHP5Q (ORCPT ); Thu, 8 Oct 2009 11:57:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:40529 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751850AbZJHP5Q (ORCPT ); Thu, 8 Oct 2009 11:57:16 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n98FucYi023377; Thu, 8 Oct 2009 11:56:38 -0400 Received: from redhat.com (vpn-10-126.str.redhat.com [10.32.10.126]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id n98FuZaF025881; Thu, 8 Oct 2009 11:56:36 -0400 Date: Thu, 8 Oct 2009 17:54:35 +0200 From: "Michael S. Tsirkin" To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel Subject: [PATCHv2 3/4] qemu: make cirrus init value pci spec compliant Message-ID: <20091008155435.GF13660@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.12 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 9dfe76a..2b895db 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -3230,7 +3230,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;