Re: [PATCH v2 11/16] KVM: introduce a 'mmap' method for KVM devices

2019-02-26 Thread David Gibson
On Tue, Feb 26, 2019 at 01:52:39PM +0100, Paolo Bonzini wrote: > On 25/02/19 11:57, Cédric Le Goater wrote: > > Hello Paolo, > > > > On 2/25/19 4:33 AM, David Gibson wrote: > >> On Fri, Feb 22, 2019 at 12:28:35PM +0100, Cédric Le Goater wrote: > >>> Some KVM devices will want to handle special map

Re: [PATCH v2 11/16] KVM: introduce a 'mmap' method for KVM devices

2019-02-26 Thread Paolo Bonzini
On 25/02/19 11:57, Cédric Le Goater wrote: > Hello Paolo, > > On 2/25/19 4:33 AM, David Gibson wrote: >> On Fri, Feb 22, 2019 at 12:28:35PM +0100, Cédric Le Goater wrote: >>> Some KVM devices will want to handle special mappings related to the >>> underlying HW. For instance, the XIVE interrupt co

Re: [PATCH v2 11/16] KVM: introduce a 'mmap' method for KVM devices

2019-02-25 Thread Cédric Le Goater
Hello Paolo, On 2/25/19 4:33 AM, David Gibson wrote: > On Fri, Feb 22, 2019 at 12:28:35PM +0100, Cédric Le Goater wrote: >> Some KVM devices will want to handle special mappings related to the >> underlying HW. For instance, the XIVE interrupt controller of the >> POWER9 processor has MMIO pages f

Re: [PATCH v2 11/16] KVM: introduce a 'mmap' method for KVM devices

2019-02-24 Thread David Gibson
On Fri, Feb 22, 2019 at 12:28:35PM +0100, Cédric Le Goater wrote: > Some KVM devices will want to handle special mappings related to the > underlying HW. For instance, the XIVE interrupt controller of the > POWER9 processor has MMIO pages for thread interrupt management and > for interrupt source c

[PATCH v2 11/16] KVM: introduce a 'mmap' method for KVM devices

2019-02-22 Thread Cédric Le Goater
Some KVM devices will want to handle special mappings related to the underlying HW. For instance, the XIVE interrupt controller of the POWER9 processor has MMIO pages for thread interrupt management and for interrupt source control that need to be exposed to the guest when the OS has the required s