Re: [SeaBIOS] [PATCH] fix virtio-pci

2016-09-16 Thread Kevin O'Connor
On Fri, Sep 16, 2016 at 01:14:36PM +0200, Igor Mammedov wrote: > On Fri, 16 Sep 2016 13:01:46 +0200 > Gerd Hoffmann wrote: > > > virtio-pci calls pci_enable_{io,mem}bar with the bar number, > > but the functions expect the bar base register offset. > > > > Reported-by: Igor Mammedov > > Signed-

Re: [SeaBIOS] [PATCH] fix virtio-pci

2016-09-16 Thread Igor Mammedov
On Fri, 16 Sep 2016 13:01:46 +0200 Gerd Hoffmann wrote: > virtio-pci calls pci_enable_{io,mem}bar with the bar number, > but the functions expect the bar base register offset. > > Reported-by: Igor Mammedov > Signed-off-by: Gerd Hoffmann Fixes issue for me Tested-by: Igor Mammedov > --- >

[SeaBIOS] [PATCH] fix virtio-pci

2016-09-16 Thread Gerd Hoffmann
virtio-pci calls pci_enable_{io,mem}bar with the bar number, but the functions expect the bar base register offset. Reported-by: Igor Mammedov Signed-off-by: Gerd Hoffmann --- src/hw/virtio-pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hw/virtio-pci.c b/src/h