mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-06 17:21:22 +00:00
Virtio 1.0 introduced several PCIY_VENDOR capabilities. When trying to write to these capabilities no action is taken so the registers in the capability of VIRTIO_PCI_CAP_PCI_CFG such as bar, offset and length remain the default value 0. Later a read or write of pci_cfg_data needs these information to perform the indirect read or write to the bar region. Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Reviewed-by: Hao Li <hao.l.li@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Kevin Tian <kevin.tian@intel.com>