hpci_device_attach()
Attach a vdev to the specified host PCI device
Synopsis:
#include <qvm/hpci.h>void* hpci_device_attach(uint64_t location,
int rdonly)Arguments:
- location
- A QSL_PCI_MAKE_LOC encoded location (see Definitions in types.h).
- rdonly
- Device read and write access: if 1, read only; if 0, read and write.
Description:
Call this function if your vdev needs access to a PCI device in the host.
Returns:
A handle to the device, or NULL if unsuccessful.
Page updated:
