summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 20:49:44 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 20:49:44 +0000
commitbcb8c5535ddfe732b2262cb1d10a759ada4b221c (patch)
treecba353eacdaca2ca764561d26c745e7ed2dcf64b
parentda95f49a9d0bc9597bd2c4ab5a7ee9bea7c4b01d (diff)
downloadqemu-bcb8c5535ddfe732b2262cb1d10a759ada4b221c.tar.gz
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 <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@7071 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--hw/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci.c b/hw/pci.c
index 97918a378b..d5055e466f 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: