lkml.org 
[lkml]   [2016]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1] x86/apic: Introduce paravirq irq_domain
From
Date


On 13/08/2016 00:07, Alexander Popov wrote:
> I.e. our irq_mask()/irq_unmask() callbacks get irq_desc of the interrupt
> which should be masked/unmasked and can ask the hypervisor to stop/start
> injecting the vector of that particular interrupt.

So just let the irqdomain know about your hypervisor and avoid the
pointless indirection through function pointers, and only call
arch_init_paravirq_domain in a file specific to your hypervisor.

Paolo

\
 
 \ /
  Last update: 2016-09-17 09:56    [W:0.077 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site