mirror of
https://github.com/qemu/qemu.git
synced 2024-12-05 17:53:36 +08:00
762833b3b8
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>
12 lines
249 B
C
12 lines
249 B
C
#ifndef PCI_SLOTID_CAP_H
|
|
#define PCI_SLOTID_CAP_H
|
|
|
|
#include "qemu-common.h"
|
|
|
|
int slotid_cap_init(PCIDevice *dev, int nslots,
|
|
uint8_t chassis,
|
|
unsigned offset);
|
|
void slotid_cap_cleanup(PCIDevice *dev);
|
|
|
|
#endif
|