From: aliguori Date: Fri, 10 Apr 2009 20:49:44 +0000 (+0000) Subject: Make PCI config status register read-only X-Git-Tag: xen-3.4.0-rc2~1^2~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bcb8c5535ddfe732b2262cb1d10a759ada4b221c;p=qemu-xen-3.4-testing.git Make PCI config status register read-only From the documentation I can find, this register is supposed to be read-only. Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@7071 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/hw/pci.c b/hw/pci.c index 97918a37..d5055e46 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -494,6 +494,8 @@ void pci_default_write_config(PCIDevice *d, case 0x01: case 0x02: case 0x03: + case 0x06: + case 0x07: case 0x08: case 0x09: case 0x0a: @@ -517,6 +519,8 @@ void pci_default_write_config(PCIDevice *d, case 0x01: case 0x02: case 0x03: + case 0x06: + case 0x07: case 0x08: case 0x09: case 0x0a: