From patchwork Mon Nov 30 14:48:55 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: 63709 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 nAUEprE5026112 for ; Mon, 30 Nov 2009 14:51:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752302AbZK3Ovn (ORCPT ); Mon, 30 Nov 2009 09:51:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752446AbZK3Ovn (ORCPT ); Mon, 30 Nov 2009 09:51:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:19892 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752302AbZK3Ovn (ORCPT ); Mon, 30 Nov 2009 09:51:43 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nAUEpZFQ002285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Nov 2009 09:51:35 -0500 Received: from redhat.com (vpn-6-53.tlv.redhat.com [10.35.6.53]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id nAUEpWNf003797; Mon, 30 Nov 2009 09:51:33 -0500 Date: Mon, 30 Nov 2009 16:48:55 +0200 From: "Michael S. Tsirkin" To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel , Juan Quintela Subject: [PATCHv4-repost 1/2] qemu: make cirrus init value pci spec compliant Message-ID: <20091130144855.GB30802@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.11 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 9390d2c..89ffdf9 100644 --- a/hw/cirrus_vga.c +++ b/hw/cirrus_vga.c @@ -3249,7 +3249,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;