All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark van Dijk <lists+xen@internecto.net>
To: Ian Campbell <Ian.Campbell@citrix.com>
Cc: xen-users@lists.xen.org, xen-devel <xen-devel@lists.xen.org>
Subject: Re: [Xen-users] Xen 4.2.0 Release Plan / TODO
Date: Tue, 4 Sep 2012 10:37:50 +0200	[thread overview]
Message-ID: <20120904103750.112fb44d@internecto.net> (raw)
In-Reply-To: <1346743867.10570.2.camel@dagon.hellion.org.uk>

>> I realise I'm probably too late, but if it's trivial then maybe it is
>> possible to implement an 'xl reset vmname' function before the final
>> release.
>> 
>> Or is this not as trivial as I think it is?  

Ian Campbell wrote:
> What is it supposed to do?

Casey DeLorme wrote:
> Would reset be different than reboot?
> http://xenbits.xen.org/docs/unstable/man/xl.1.html

The already implemented 'xl reboot' sends an instruction to the running
VM. If that VM doesn't understand this type of call then xl tells you to
try issuing 'xl reboot -F', which sends an ACPI reboot instruction.

These are convenient commands to be issued to a running domain so they
can properly shutdown. But today I found that these both do nothing
when a domain is frozen, e.g. a windows bsod or a hard Linux crash.
It looks to me like there is just one way to take care of that:
(manually) destroy and recreate.

Back when I used xm I remember using the 'xm reset' command that just
simply emulates a manual press of the reset button. By coincidence,
today I found xl lacks this command. In effect I think all it does is
'xl destroy', wait until the domain is properly released and then 'xl
create' it again. This is a bit more convenient than manually issuing
both commands because the time it takes to destroy a VM varies.

So my request is just for convenience and this is why I called it
trivial. Also because one could still issue something like 'xl destroy
domain; sleep 30s; xl create domain'.

(In fact, in my zsh shell env I wrote an xl function that is a wrapper
to the xl binary. Another thing is that it allows me to do 'xl edit
VMname' which issues e.g. 'vim /etc/xen/hosts/VMname'. And when I issue
'xl create VMname' it actually executes '/usr/sbin/xl
create /etc/xen/hosts/VMname'. I like convenience; who doesn't? <grin>)

-- 
Stay in touch,
Mark van Dijk.               ,---------------------------------
----------------------------'         Tue Sep 04 08:23 UTC 2012
Today is Boomtime, the 28th day of Bureaucracy in the YOLD 3178

  reply	other threads:[~2012-09-04  8:37 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-03  9:42 Xen 4.2.0 Release Plan / TODO Ian Campbell
2012-09-03 10:45 ` Jan Beulich
2012-09-04  7:06 ` [Xen-users] " Mark van Dijk
2012-09-04  7:31   ` Ian Campbell
2012-09-04  8:37     ` Mark van Dijk [this message]
2012-09-04  8:51       ` Ian Campbell
2012-09-04  7:34   ` Casey DeLorme
2012-09-05  2:51 ` Pasi Kärkkäinen
2012-09-05  8:34   ` Ian Campbell
2012-09-05  8:39     ` Pasi Kärkkäinen
2012-09-05  9:24       ` Ian Campbell
2012-09-05  8:51     ` Sander Eikelenboom
2012-09-05  9:15       ` Ian Campbell
2012-09-05 12:29 ` [Xen-users] " Mark van Dijk
2012-09-05 15:29 ` Pasi Kärkkäinen
2012-09-05 17:53   ` [Xen-users] " Mark van Dijk
2012-09-05 20:31     ` Matt Wilson
2012-09-05 17:57   ` Ian Campbell
2012-09-06 12:36 ` Jan Beulich
2012-09-06 12:55   ` Ben Guthro
2012-09-06 13:40     ` Ben Guthro
2012-09-06 14:35       ` Ben Guthro
2012-09-06 14:45         ` Pasi Kärkkäinen
2012-09-06 14:47           ` Ben Guthro
2012-09-06 14:52             ` Pasi Kärkkäinen
2012-09-06 15:03         ` Jan Beulich

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=20120904103750.112fb44d@internecto.net \
    --to=lists+xen@internecto.net \
    --cc=Ian.Campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    --cc=xen-users@lists.xen.org \
    /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.