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 <power.jg@gmail.com>
This commit is contained in:
parent
7dad4377ec
commit
ce610dcab1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue