From ce610dcab118fe2ae907854429725a4c169cfd56 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Thu, 19 May 2016 15:19:34 -0500 Subject: dev, virtio: properly set PCI address space to use IOREG VirtIO spec < 1.0 demands IOREG to be used on PCI and not memory mapped. Set the correct bit on the PCI address accordingly. Committed by Jason Lowe-Power --- src/dev/virtio/VirtIO.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dev/virtio/VirtIO.py b/src/dev/virtio/VirtIO.py index 81bf6e3b8..1345c7603 100644 --- a/src/dev/virtio/VirtIO.py +++ b/src/dev/virtio/VirtIO.py @@ -65,7 +65,7 @@ class PciVirtIO(PciDevice): ClassCode = 0xff # Misc device - BAR0 = 0x00000000 # Anywhere in 32-bit space + BAR0 = 0x00000001 # Anywhere in 32-bit space; IOREG BAR0Size = '0B' # Overridden by the device model InterruptPin = 0x01 # Use #INTA -- cgit v1.2.3