From bcb8c5535ddfe732b2262cb1d10a759ada4b221c Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 10 Apr 2009 20:49:44 +0000 Subject: 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 --- hw/pci.c | 4 ++++ 1 file changed, 4 insertions(+) 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: -- cgit v1.2.1