Re: [Xen-devel] [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume

From: David Vrabel
Date: Tue Apr 28 2015 - 12:38:37 EST


On 28/04/15 16:52, Boris Ostrovsky wrote:
> After a resume the hypervisor/tools may change xenbus event
> channel number. We should re-query it.
[...]
> @@ -793,6 +818,9 @@ static int __init xenbus_init(void)
> goto out_error;
> }
>
> + if (!xen_initial_domain())
> + xen_resume_notifier_register(&xenbus_resume_nb);

I think this needs to be xenstore_domain_type != XS_LOCAL, to match
xenbus_init().

David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/