On 3/9/26 07:08, Mykyta Poturai wrote: > diff --git a/xen/include/xen/vpci.h b/xen/include/xen/vpci.h > index d6310104ea..a98ddbb32e 100644 > --- a/xen/include/xen/vpci.h > +++ b/xen/include/xen/vpci.h > @@ -295,6 +295,9 @@ bool vpci_ecam_write(pci_sbdf_t sbdf, unsigned int reg, > unsigned int len, > bool vpci_ecam_read(pci_sbdf_t sbdf, unsigned int reg, unsigned int len, > unsigned long *data); > > +/* Map/unmap the BARs of a vPCI device. */ > +int vpci_modify_bars(const struct pci_dev *pdev, uint16_t cmd, bool > rom_only);
This prototype should be moved to private.h > + > #endif /* __XEN__ */ > > #else /* !CONFIG_HAS_VPCI */
