From: stevegt@TerraLuna.Org
To: xen-devel@lists.sourceforge.net
Subject: Re: Graceful shutdown of a virtual domain
Date: Fri, 30 Jan 2004 00:10:03 -0800 [thread overview]
Message-ID: <20040130081003.GQ28636@pathfinder> (raw)
In-Reply-To: <20040130013055.GM28636@pathfinder>
(Answering my own shutdown question...)
Just did a clone of the latest 1.2 (I was on 1.2-rc), and found the new
tools/examples/xc_dom_control.py. From the README:
xc_dom_control.py
- general tool for controling running domains
Usage: xc_dom_control.py [command] <params>
stop [dom] -- pause a domain
start [dom] -- un-pause a domain
shutdown [dom] -- request a domain to shutdown
destroy [dom] -- immediately terminate a domain
pincpu [dom] [cpu] -- pin a domain to the specified CPU
list -- print info about all domains
listvbds -- print info about all virtual block devs
... more to follow... e.g.
control CPU scheduling parameters
control network scheduling parameters
control vif rules
Fantastic! Thanks all,
Steve
On Thu, Jan 29, 2004 at 05:30:55PM -0800, wrote:
> Hi All,
>
> I've been looking through the code and list archives but haven't found
> this yet... From dom0, how do you cause a virtual domain to gracefully
> shutdown? It seems like the machinery is there somewhere, because the
> hypervisor can do it to dom0...
>
> For reference, in UML you do this by putting this in /etc/inittab:
>
> ca:12345:ctrlaltdel:/sbin/shutdown -h now
>
> ...and then sending it a ctrlaltdel signal from the userland tool.
>
> Steve
>
> --
> Stephen G. Traugott (KG6HDQ)
> UNIX/Linux Infrastructure Architect, TerraLuna LLC
> stevegt@TerraLuna.Org
> http://www.stevegt.com -- http://Infrastructures.Org
--
Stephen G. Traugott (KG6HDQ)
UNIX/Linux Infrastructure Architect, TerraLuna LLC
stevegt@TerraLuna.Org
http://www.stevegt.com -- http://Infrastructures.Org
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
next prev parent reply other threads:[~2004-01-30 8:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-30 1:30 Graceful shutdown of a virtual domain stevegt
2004-01-30 8:10 ` stevegt [this message]
2004-01-31 12:24 ` Keir Fraser
2004-01-31 20:34 ` stevegt
2004-02-01 0:50 ` Keir Fraser
2004-02-01 4:46 ` stevegt
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=20040130081003.GQ28636@pathfinder \
--to=stevegt@terraluna.org \
--cc=xen-devel@lists.sourceforge.net \
/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.