|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH 2 of 4] xen: introduce PHYSDEVOP_get_nr_pirqs
 
On Tue, 31 Aug 2010, Keir Fraser wrote:
> On 31/08/2010 13:46, "Stefano Stabellini" <Stefano.Stabellini@xxxxxxxxxxxxx>
> wrote:
> 
> >>> That wouldn't be a good idea considering that the current
> >>> PHYSDEVOP_map_pirq interface allows the guest to choose the pirq
> >>> number
> >> 
> >> So what significance does nr_pirqs have to the guest?
> >  
> > the upper limit of the pirq number it might choose
> 
> Couldn't it, like, pick the smallest available? :-)
> 
Well, it might still be useful to know the upper limit, besides linux
tends to choose the pirq == irq and the irqs for MSIs are high.
Xen does the same thing by the way.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |