From patchwork Mon Nov 30 19:02:26 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: 63755 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 nAUJ5CBh005174 for ; Mon, 30 Nov 2009 19:05:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752440AbZK3TFE (ORCPT ); Mon, 30 Nov 2009 14:05:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752430AbZK3TFD (ORCPT ); Mon, 30 Nov 2009 14:05:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35026 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbZK3TFD (ORCPT ); Mon, 30 Nov 2009 14:05:03 -0500 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 nAUJ56I7013981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Nov 2009 14:05:06 -0500 Received: from redhat.com (vpn-6-60.tlv.redhat.com [10.35.6.60]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id nAUJ53jo028886; Mon, 30 Nov 2009 14:05:04 -0500 Date: Mon, 30 Nov 2009 21:02:26 +0200 From: "Michael S. Tsirkin" To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel , Juan Quintela Subject: [PATCHv5-repost 1/2] qemu: make cirrus init value pci spec compliant Message-ID: <20091130190226.GB457@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 d76e5bb..e16026f 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -3231,7 +3231,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;