ional.
One example of such a scenario is when the guest exits S3.
Fix this by resetting the BAR addresses in the VFIO configuration space
as well.
Signed-off-by: Ido Yariv
---
hw/vfio/pci.c | 12
1 file changed, 12 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index 65
Hi Alex,
On Fri, Oct 21, 2016 at 2:03 PM, Alex Williamson wrote:
> On Fri, 21 Oct 2016 13:00:33 -0400
> Ido Yariv wrote:
>
> > When a PCI device is reset, pci_do_device_reset resets all BAR addresses
> > in the relevant PCIDevice's config buffer.
> >
> &
ional.
One example of such a scenario is when the guest exits S3.
Fix this by resetting the BAR addresses in the VFIO configuration space
as well.
Signed-off-by: Ido Yariv
---
hw/vfio/pci.c | 30 ++
1 file changed, 30 insertions(+)
diff --git a/hw/vfio/pci.c b/hw/vfio/
Hi Paolo,
On Mon, Jun 20, 2016 at 04:54:17PM +0200, Paolo Bonzini wrote:
> On 18/06/2016 22:42, Ido Yariv wrote:
> > The current code creates a whole page mmio region for the MSI-X table
> > size.
> >
> > However, the page containing the MSI-X table may contain other r
of entries is known, use that instead to deduce the
table size when setting up the mmio region.
Signed-off-by: Ido Yariv
---
hw/i386/kvm/pci-assign.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c
index f9c9014