All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Vrabel <david.vrabel@citrix.com>
To: Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	<david.vrabel@citrix.com>, <konrad.wilk@oracle.com>
Cc: <xen-devel@lists.xenproject.org>, <annie.li@oracle.com>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [Xen-devel] [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume
Date: Tue, 28 Apr 2015 17:32:23 +0100	[thread overview]
Message-ID: <553FB617.5080507@citrix.com> (raw)
In-Reply-To: <1430236333-11905-3-git-send-email-boris.ostrovsky@oracle.com>

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

  reply	other threads:[~2015-04-28 16:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-28 15:52 [PATCH 0/4] A few event channel-related fixes Boris Ostrovsky
2015-04-28 15:52 ` [PATCH 1/4] xen/events: Clear cpu_evtchn_mask before resuming Boris Ostrovsky
2015-04-28 16:28   ` [Xen-devel] " David Vrabel
2015-04-28 18:29     ` Boris Ostrovsky
2015-04-28 18:29     ` [Xen-devel] " Boris Ostrovsky
2015-04-29 16:32       ` David Vrabel
2015-04-29 16:54         ` Boris Ostrovsky
2015-04-29 17:59           ` David Vrabel
2015-04-29 18:26             ` Boris Ostrovsky
2015-04-29 18:26             ` [Xen-devel] " Boris Ostrovsky
2015-04-29 17:59           ` David Vrabel
2015-04-29 16:54         ` Boris Ostrovsky
2015-04-29 16:32       ` David Vrabel
2015-04-28 16:28   ` David Vrabel
2015-04-28 15:52 ` Boris Ostrovsky
2015-04-28 15:52 ` [PATCH 2/4] xen/xenbus: Update xenbus event channel on resume Boris Ostrovsky
2015-04-28 15:52 ` Boris Ostrovsky
2015-04-28 16:32   ` David Vrabel [this message]
2015-04-28 16:32   ` David Vrabel
2015-04-28 15:52 ` [PATCH 3/4] xen/console: Update console " Boris Ostrovsky
2015-04-28 15:52 ` Boris Ostrovsky
2015-04-28 16:33   ` [Xen-devel] " David Vrabel
2015-04-28 16:33   ` David Vrabel
2015-04-28 15:52 ` [PATCH 4/4] xen/events: Set irq_info->evtchn before binding the channel to CPU in __startup_pirq() Boris Ostrovsky
2015-04-28 15:52 ` Boris Ostrovsky
2015-04-28 16:34   ` [Xen-devel] " David Vrabel
2015-04-28 16:34   ` David Vrabel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=553FB617.5080507@citrix.com \
    --to=david.vrabel@citrix.com \
    --cc=annie.li@oracle.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=konrad.wilk@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.