]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci.h
pci: make command SERR bit writable
[mirror_qemu.git] / hw / pci.h
index 89f7b761e704322df0a1aa27c558853910d5e644..099c2517aea1bfbf18ad282bf43501298843cb1c 100644 (file)
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -118,6 +118,10 @@ enum {
     /* multifunction capable device */
 #define QEMU_PCI_CAP_MULTIFUNCTION_BITNR        3
     QEMU_PCI_CAP_MULTIFUNCTION = (1 << QEMU_PCI_CAP_MULTIFUNCTION_BITNR),
+
+    /* command register SERR bit enabled */
+#define QEMU_PCI_CAP_SERR_BITNR 4
+    QEMU_PCI_CAP_SERR = (1 << QEMU_PCI_CAP_SERR_BITNR),
 };
 
 struct PCIDevice {