From: Olaf Hering <olaf@aepfle.de>
To: Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] xenstored: allow guests to shutdown all of its watches using XS_RESET
Date: Thu, 25 Aug 2011 17:19:18 +0200 [thread overview]
Message-ID: <20110825151918.GA25643@aepfle.de> (raw)
In-Reply-To: <20054.26108.76939.531036@mariner.uk.xensource.com>
On Thu, Aug 25, Ian Jackson wrote:
> Olaf Hering writes ("[Xen-devel] [PATCH] xenstored: allow guests to shutdown all of its watches using XS_RESET"):
> > Add a new XS_RESET command to do the reset on behalf of the guest.
>
> I'm afraid I still think this is wrong.
There is a later patch XS_RESET_WATCHES.
http://lists.xensource.com/archives/html/xen-devel/2011-08/msg00529.html
> * The XS_RESET command as you have it takes too many arguments. It
> should probably not take any arguments at all.
The later patch does not take arguments.
> * You have failed to update the specification document which describes
> the xenstored protocol (in docs/misc/)
The later patch adds the XS_RESET_WATCHES part to the xenstored.txt.
> * Your XS_RESET command doesn't just delete watches and transactions.
> It also:
> - discards outstanding responses to earlier commands
> - discards potential incoming partial commands
> - resets the ring pointers
> I don't think any of these things are necessary. If they are,
> please explain. I think you should have your do_reset simply call
> conn_delete_all_watches and conn_delete_all_transactions.
Thats what the later patch does.
Olaf
next prev parent reply other threads:[~2011-08-25 15:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-12 6:33 [PATCH] xenstored: allow guests to shutdown all of its watches using XS_RESET Olaf Hering
2011-08-12 6:42 ` [PATCH] xen/pv-on-hvm kexec: add xs_reset to shutdown watches from old kernel Olaf Hering
2011-08-25 15:10 ` [PATCH] xenstored: allow guests to shutdown all of its watches using XS_RESET Ian Jackson
2011-08-25 15:19 ` Olaf Hering [this message]
2011-08-25 15:34 ` Ian Jackson
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=20110825151918.GA25643@aepfle.de \
--to=olaf@aepfle.de \
--cc=Ian.Jackson@eu.citrix.com \
--cc=xen-devel@lists.xensource.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.