Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030706AbbD1Qid (ORCPT ); Tue, 28 Apr 2015 12:38:33 -0400 Received: from smtp.citrix.com ([66.165.176.89]:52531 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030265AbbD1Qib (ORCPT ); Tue, 28 Apr 2015 12:38:31 -0400 X-IronPort-AV: E=Sophos;i="5.11,664,1422921600"; d="scan'208";a="257402409" Message-ID: <553FB617.5080507@citrix.com> Date: Tue, 28 Apr 2015 17:32:23 +0100 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-Version: 1.0 To: Boris Ostrovsky , , CC: , , Subject: Re: [Xen-devel] [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume References: <1430236333-11905-1-git-send-email-boris.ostrovsky@oracle.com> <1430236333-11905-3-git-send-email-boris.ostrovsky@oracle.com> In-Reply-To: <1430236333-11905-3-git-send-email-boris.ostrovsky@oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 661 Lines: 20 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/