]> xenbits.xen.org Git - xenclient/ioemu.git/commitdiff
Make PCI config status register read-only
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 10 Apr 2009 20:49:44 +0000 (20:49 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Fri, 10 Apr 2009 20:49:44 +0000 (20:49 +0000)
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

hw/pci.c

index 97918a378b62a25a32f3ed6b680590966a6957c6..d5055e466ffa8d346c3c6737c2f4b1c57a7fd668 100644 (file)
--- 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: