]> git.proxmox.com Git - mirror_qemu.git/commit - hw/pc_piix.c
pci: make command SERR bit writable
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 26 Nov 2010 12:01:41 +0000 (21:01 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 9 Dec 2010 10:47:48 +0000 (12:47 +0200)
commitb1aeb92666d2fde413c34578b3b42bbfe5f2a506
treef29a9326008c68ca7c1a762f7f3f6e97832bef7e
parent783e7706937fe15523b609b545587a028a2bdd03
pci: make command SERR bit writable

pcie aer needs SERR bit to be writable, and the PCI spec requires
this as well.  For compatibility, introduce compat global property
command_serr_enable and make this bit readonly for a pre 0.14 pc
machine.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pc_piix.c
hw/pci.c
hw/pci.h