vpci_ctrl_pci_bars()

Handle VDEV_CTRL_PCI_BARS on behalf of a virtual PCI device

Synopsis:

#include <qvm/vpci.h>
int vpci_ctrl_pci_bars(struct vpci_rw_state *rw_cfg,
                       const char *arg)

Arguments:

rw_cfg
A pointer to a structure with the virtual PCI device's state.
arg
A pointer to a parameter from the control callback.

Library:

Provided by qvm; no external library is required.

Returns:

If successful, -6 to indicate an array of 6 vpci_bar objects.