WARNING - OLD ARCHIVES

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/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Backend device in use after reboot

To: Adam Heath <doogie@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Backend device in use after reboot
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: 2005年11月12日 03:30:46 +0000
Cc: "steved@xxxxxxxxxx" <steved@xxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Wensheng Wang <wenshengwang@xxxxxxxxx>
Delivery-date: 2005年11月12日 03:32:06 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <Pine.LNX.4.58.0511111340070.1794@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7b22037d0511101523p13bfdbbdwcd0ee652bbed3a6e@xxxxxxxxxxxxxx> <200511111608.20803.mark.williamson@xxxxxxxxxxxx> <Pine.LNX.4.58.0511111340070.1794@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
> > I'm not clear what the advantage in having the looping code within xm,
> > rather than within the init script?
>
> xm create foodomain
>
> This would create the state files saying foodomain is active.
>
> xm shutdown -a
>
> This would handle all domains started with xm create -a, and started
> individually.
>
> It also would mean one command to do everything, instead of several.
Actually, we have a shutdown -a that will destroy all active domains. We also 
have a -w option to cause it to do so synchronously. When I wrote the 
original xendomains script ages ago, this was just an easier way to do things 
than have the init script figure out shutdowns. It seems to have persisted 
into the current generation of tools!
The create path is much simpler, though; xendomains just loops over everything 
in the /etc/xen/auto directory and kicks it into life with a "create" call. 
I guess it's more uniform to have it in xm but I quite liked separating it 
out from the core tools.
Just 0ドル.02,
Mark
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Xen/ia64 status update , Mark Williamson
Next by Date: RE: [Xen-devel] "xm mem-max" problem on PAE xenlinux , Ian Pratt
Previous by Thread: Re: [Xen-devel] Backend device in use after reboot , Adam Heath
Next by Thread: [Xen-devel] Domain suspend mechanism , James Rhett Aultman
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /