mirror of https://github.com/proxmox/mirror_qemu
pci_bus: update comment
Don't ask everyone to desist from including this header, simply recommend using accessors. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>master
parent
06aac7bd50
commit
952deab6cf
|
@ -2,14 +2,10 @@
|
||||||
#define QEMU_PCI_INTERNALS_H
|
#define QEMU_PCI_INTERNALS_H
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* This header files is private to pci.c and pci_bridge.c
|
* PCI Bus and Bridge datastructures.
|
||||||
* So following structures are opaque to others and shouldn't be
|
|
||||||
* accessed.
|
|
||||||
*
|
*
|
||||||
* For pci-to-pci bridge needs to include this header file to embed
|
* Do not access the following members directly;
|
||||||
* PCIBridge in its structure or to get sizeof(PCIBridge),
|
* use accessor functions in pci.h, pci_bridge.h
|
||||||
* However, they shouldn't access those following members directly.
|
|
||||||
* Use accessor function in pci.h, pci_bridge.h
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define TYPE_PCI_BUS "PCI"
|
#define TYPE_PCI_BUS "PCI"
|
||||||
|
|
Loading…
Reference in New Issue