The state of a specified PCI BAR
#include <qvm/vpci.h>
struct vpci_bar { struct gasp_region vb_mapping; uint32_t vb_value; uint32_t vb_value_upper; uint16_t vb_slice; uint16_t vb_breg; } ;
Current established mapping.
Current value of the BAR.
Upper word for 64-bit BARs.
Slice index for the BAR.
BAR register; if non-zero, the qvm process writes the value of the BAR back to the device when assigning an address to the BAR.
The vpci_bar structure's vb_mapping.host_location and vb_mapping.guest.length members are expected to be constant.