This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] Re: oxenstored in stubdom ?

To: Vincent Hanquez <Vincent.Hanquez@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: oxenstored in stubdom ?
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Sun, 22 Aug 2010 10:44:51 +0100
Cc: Łukasz Oleś <lukaszoles@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 22 Aug 2010 02:46:06 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C70EA62.8000807@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActB2mGkamedcfwCT1aGpWwWEXoyrgABEjl+
Thread-topic: [Xen-devel] Re: oxenstored in stubdom ?
User-agent: Microsoft-Entourage/
On 22/08/2010 10:14, "Vincent Hanquez" <Vincent.Hanquez@xxxxxxxxxxxxx>

>>> oxenstored is already restartable (or used to be and easy to fix if it
>>> was broken), so from a xenstore point of view, you could already restart
>>> dom0; Obviously this would block all the domains that try to do a
>>> xenstore query, but if the dom0 is restarted quickly enough this
>>> shouldn't be too noticeable since a normal working domain shouldn't use
>>> much xenstore after starting up.
>> So that's "very probably restartable" then? ;-)
> well yes, "very probably" is pretty good odds i think. :p
> more seriously, it depends from which perspective you're looking at the
> dom0 restart problem. But according to previous experience during
> oxenstored development, i'm pretty sure that oxenstored would cope and
> that most of the problems are elsewhere in the stack. moving oxenstored
> to a stubdomain is almost orthogonal (roughly 89 degrees.)

I don't think xenstored-in-stubdomain is the big barrier to dom0
restartability, that's for sure. Personally, I don't think full dom0
restartability, for things like seamless dom0 kernel upgrade, will ever be
achieved. But I think particular vulnerable or critical services within dom0
can be made restartable.

 -- keir

Xen-devel mailing list