aboutsummaryrefslogtreecommitdiff
path: root/hw/pci.h
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2012-02-15 19:17:59 +0200
committerMichael S. Tsirkin <mst@redhat.com>2012-03-16 00:41:28 +0200
commit762833b3b88b7b79af442439a8b138a04786ec3d (patch)
treec99b8c3ff00ae1fe814b5bc9d5e36020ff7dbf55 /hw/pci.h
parent1dc324d20f7404fd6a416f16c2cb9a4ec50a4dd7 (diff)
slotid: add slot id capability
This capability makes it possible for the guest to report a unique chassis identifier to the user. The spec also recommends making chassis indentifier persist in eeprom. This isn't implemented. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci.h')
-rw-r--r--hw/pci.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/pci.h b/hw/pci.h
index dc4d9d10a7..8d0aa498e5 100644
--- a/hw/pci.h
+++ b/hw/pci.h
@@ -129,6 +129,8 @@ enum {
/* Standard hot plug controller. */
#define QEMU_PCI_SHPC_BITNR 5
QEMU_PCI_CAP_SHPC = (1 << QEMU_PCI_SHPC_BITNR),
+#define QEMU_PCI_SLOTID_BITNR 6
+ QEMU_PCI_CAP_SLOTID = (1 << QEMU_PCI_SLOTID_BITNR),
};
#define TYPE_PCI_DEVICE "pci-device"