All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Jackson <Ian.Jackson@eu.citrix.com>
To: David Scott <dave.scott@citrix.com>
Cc: dev@zheng.li, ian.campbell@citrix.com, anil@recoil.org,
	Andrew.Cooper3@citrix.com, Jonathan.Ludlam@citrix.com,
	yanqiangjun@huawei.com, Paul.Durrant@citrix.com,
	john.liuqiming@huawei.com, xen-devel@lists.xenproject.org
Subject: [PATCH v5] xenstore: extend the xenstore ring with a 'closing' signal
Date: Fri, 26 Sep 2014 15:00:33 +0100	[thread overview]
Message-ID: <21541.29057.213163.22359@mariner.uk.xensource.com> (raw)
In-Reply-To: <1411657121-23540-1-git-send-email-dave.scott@citrix.com>

David Scott writes ("[PATCH v5] xenstore: extend the xenstore ring with a 'closing' signal"):
> Hvmloader uses the xenstore ring and then tries to reset it back
> to its initial state before booting the guest. Occasionally xenstored
> will read the ring while it is being zeroed and conclude it has
> been corrupted. This prevents PV drivers from loading in the guest.
> 
> This patch updates the xenstore ring protocol definition, enabling
> a server to advertise additional features to the guest. One such feature
> is defined: the ability to cleanly reset the ring including the
> higher-level protocol, like an enhanced RESET_WATCHES for rings.
> 
> This patch implements the ring reconnection features in oxenstored
> and hvmloader, fixing the bug.
> 
> This patch also defines an 'invalid' xenstore packet type and uses this
> to poison the ring over a reconnect. This will make diagnosing this
> bug much easier in future.
> 
> Signed-off-by: David Scott <dave.scott@citrix.com>

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>

I'm happy to take this from you without really reviewing the ocaml
code.

To be applied this needs a freeze exception.  You should make the case
(explaining why the feature is important and why it is low risk) to
Konrad.

Ian.

  reply	other threads:[~2014-09-26 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-25 14:58 [PATCH v5] xenstore: extend the xenstore ring with a 'closing' signal David Scott
2014-09-26 14:00 ` Ian Jackson [this message]
2014-09-26 14:06   ` Dave Scott
2014-10-07 11:26 ` Jon Ludlam

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=21541.29057.213163.22359@mariner.uk.xensource.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=Andrew.Cooper3@citrix.com \
    --cc=Jonathan.Ludlam@citrix.com \
    --cc=Paul.Durrant@citrix.com \
    --cc=anil@recoil.org \
    --cc=dave.scott@citrix.com \
    --cc=dev@zheng.li \
    --cc=ian.campbell@citrix.com \
    --cc=john.liuqiming@huawei.com \
    --cc=xen-devel@lists.xenproject.org \
    --cc=yanqiangjun@huawei.com \
    /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.