mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
1dc324d20f
commit
762833b3b8
4 changed files with 58 additions and 0 deletions
2
hw/pci.h
2
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue