[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 02/18] xen: allow global VIRQ handlers to be delegated to other domains



On Wed, 2012-01-18 at 11:28 +0000, Jan Beulich wrote:
> >>> On 18.01.12 at 11:39, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> > On Thu, 2012-01-12 at 23:35 +0000, Daniel De Graaf wrote:
> >> 
> >> +static void clear_global_virq_handlers(struct domain *d)
> >> +{
> >> +    uint32_t virq;
> >> +    int put_count = 0;
> >> +
> >> +    spin_lock(&global_virq_handlers_lock);
> >> +
> >> +    for (virq = 0; virq < NR_VIRQS; virq++) {
> >> +        if (global_virq_handlers[virq] == d) {
> >> +            global_virq_handlers[virq] = NULL;
> > 
> > I don't suppose we should rebind to dom0, should we? 
> 
> Storing NULL here effectively means re-binding to Dom0.

Oh, good, thanks. In that case:
Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

Ian.

> 
> Jan
> 



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.