Re: [Xen-devel] [PATCH v11 07/12] vpci: add header handlers

2018-03-21 Thread Paul Durrant
> -Original Message- > From: Roger Pau Monne [mailto:roger@citrix.com] > Sent: 20 March 2018 15:16 > To: xen-devel@lists.xenproject.org > Cc: Boris Ostrovsky ; Konrad Rzeszutek Wilk > ; Roger Pau Monne ; Ian > Jackson ; Wei Liu ; Andrew > Cooper ; George Dunlap > ; Jan Beulich ; Julien

Re: [Xen-devel] [PATCH v11 07/12] vpci: add header handlers

2018-03-20 Thread Jan Beulich
>>> On 20.03.18 at 16:15, wrote: > Introduce a set of handlers that trap accesses to the PCI BARs and the > command register, in order to snoop BAR sizing and BAR relocation. > > The command handler is used to detect changes to bit 2 (response to > memory space accesses), and maps/unmaps the BARs

[Xen-devel] [PATCH v11 07/12] vpci: add header handlers

2018-03-20 Thread Roger Pau Monne
Introduce a set of handlers that trap accesses to the PCI BARs and the command register, in order to snoop BAR sizing and BAR relocation. The command handler is used to detect changes to bit 2 (response to memory space accesses), and maps/unmaps the BARs of the device into the guest p2m. A rangese