Handle a read from a PCI configuration space register
#include <qvm/vpci.h>
unsigned vpci_cfg_read(const void *rw_cfg, const struct qvm_slice_descriptor *desc, const struct qvm_state_block *blk, void *val, const struct _pci_config_regs *ro_cfg)
This function is designed to be called by the virtual PCI device's vread() function.
A bitset of descriptor indexes used for the read.