vpci_update_bars()
Update the BAR regions for the hosting qvm process based solely on the given BAR information
Synopsis:
#include <qvm/vpci.h>unsigned vpci_update_bars(unsigned cmd,
struct vpci_bar *bars,
unsigned num_bars)Arguments:
- cmd
- The contents of the command register that controls the specified BARs.
- bars
- A pointer to an array of vpci_bar objects.
- num_bars
- The length, in bytes, of the bars array.
Returns:
1 if any region was changed in any way; 0 otherwise.
Page updated:
