summaryrefslogtreecommitdiffstats
path: root/hw/pci.c
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 20:48:17 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-10 20:48:17 +0000
commitc2c5104b226f7fdcfa8e9bb9d62bd934c09da5f0 (patch)
treeac94ee31d43ef65e85af3a045bb03808814c48ca /hw/pci.c
parent7ec632b45c223bc6a01a8f5a6549854e8624b0c0 (diff)
downloadhqemu-c2c5104b226f7fdcfa8e9bb9d62bd934c09da5f0.zip
hqemu-c2c5104b226f7fdcfa8e9bb9d62bd934c09da5f0.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/trunk@7070 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/pci.c')
-rw-r--r--hw/pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/pci.c b/hw/pci.c
index 18362d3..bfd3942 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:
OpenPOWER on IntegriCloud