Re: [Qemu-devel] [PATCH v2] xen/pass-through: ROM BAR handling adjustments

2015-06-08 Thread Stefano Stabellini
On Mon, 8 Jun 2015, Jan Beulich wrote: > Expecting the ROM BAR to be written with an all ones value when sizing > the region is wrong - the low bit has another meaning (enable/disable) > and bits 1..10 are reserved. The PCI spec also mandates writing all > ones to just the address portion of the re

[Qemu-devel] [PATCH v2] xen/pass-through: ROM BAR handling adjustments

2015-06-08 Thread Jan Beulich
Expecting the ROM BAR to be written with an all ones value when sizing the region is wrong - the low bit has another meaning (enable/disable) and bits 1..10 are reserved. The PCI spec also mandates writing all ones to just the address portion of the register. Use suitable constants also for initia