Regression of
294110a887: Like physical devices fill their bar array
during setup, virtual devices need to do this as well. Namely, the
64-bit flag got lost during migration to generic BAR emulation.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
struct pci_ivshmem_endpoint *remote = &iv->eps[(cellnum + 1) % 2];
struct pci_ivshmem_endpoint *ive = &iv->eps[cellnum];
+ d->bar[0] = PCI_BAR_64BIT;
+ d->bar[4] = PCI_BAR_64BIT;
+
memcpy(ive->cspace, &default_cspace, sizeof(default_cspace));
memcpy(ive->bars, &default_bars, sizeof(default_bars));