summaryrefslogtreecommitdiffstats
path: root/hw/pci.h
diff options
context:
space:
mode:
authorAnthony Liguori2010-12-17 15:21:29 +0100
committerAnthony Liguori2010-12-17 15:21:29 +0100
commitb254b0d15d48efc3bd43ae535158ded3c1519257 (patch)
tree856460106817ca5ccbab285b474a52cdcac2a46e /hw/pci.h
parentWatchdog: disable watchdog timer when hard-rebooting a guest. (diff)
parentpci/aer: factor out common code (diff)
downloadqemu-b254b0d15d48efc3bd43ae535158ded3c1519257.tar.gz
qemu-b254b0d15d48efc3bd43ae535158ded3c1519257.tar.xz
qemu-b254b0d15d48efc3bd43ae535158ded3c1519257.zip
Merge remote branch 'mst/for_anthony' into staging
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/hw/pci.h b/hw/pci.h
index 89f7b761e7..aa3afe9684 100644
--- 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 {
@@ -257,9 +261,6 @@ void do_pci_info_print(Monitor *mon, const QObject *data);
void do_pci_info(Monitor *mon, QObject **ret_data);
void pci_bridge_update_mappings(PCIBus *b);
-bool pci_msi_enabled(PCIDevice *dev);
-void pci_msi_notify(PCIDevice *dev, unsigned int vector);
-
static inline void
pci_set_byte(uint8_t *config, uint8_t val)
{