All of lore.kernel.org
 help / color / mirror / Atom feed
From: Keir Fraser <keir.xen@gmail.com>
To: Ian Campbell <Ian.Campbell@eu.citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Anthony Wright <anthony@overnetdata.com>,
	Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Subject: Re: Domains not being destroyed properly
Date: Tue, 21 Jun 2011 18:01:32 +0100	[thread overview]
Message-ID: <CA268CFC.1CAF1%keir.xen@gmail.com> (raw)
In-Reply-To: <1308674526.6920.103.camel@zakaz.uk.xensource.com>

On 21/06/2011 17:42, "Ian Campbell" <Ian.Campbell@eu.citrix.com> wrote:

> On Tue, 2011-06-21 at 17:26 +0100, Ian Jackson wrote:
>> Ian Campbell writes ("Re: [Xen-devel] Domains not being destroyed properly"):
>>> I suspect that you will probably find that only the hypervisor parts of
>>> the domain are being cleaned up by killing qemu -- e.g. the xenstore
>>> entries and some other stuff (e.g. libxl user data) are not being
>>> cleaned up.
>> 
>> It is puzzling that the hypervisor domain gets destroyed at all.  What
>> is making the destroy domain hypercall ?
> 
> I wondered that and handwaved it to myself as being the
> HLT-with-interrupt-disabled logic kicking in and shutting down the guest
> but now that I look it seems that this just triggers a domain shutdown
> event to dom0 and doesn't actually destroy the domain (which is actually
> as expected before I handwaved). So I'm a bit surprised again now too.

A domain can only be destroyed via the destroydomain domctl from dom0.

 -- Keir

> Ian.
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2011-06-21 17:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-17 11:29 Domains not being destroyed properly Anthony Wright
2011-06-17 18:12 ` Nathan March
2011-06-21 11:51 ` Ian Campbell
2011-06-21 12:57   ` Anthony Wright
2011-06-21 13:13     ` Ian Jackson
2011-06-21 13:39     ` Konrad Rzeszutek Wilk
2011-06-21 14:52       ` Anthony Wright
2011-06-21 15:44         ` Ian Campbell
2011-06-21 16:04           ` Anthony Wright
2011-06-22  7:56             ` Ian Campbell
2011-06-24 12:54               ` Anthony Wright
2011-06-24 13:01                 ` Tim Deegan
2011-06-24 13:36                   ` Anthony Wright
2011-06-24 14:21                     ` Ian Campbell
2011-06-24 13:45                 ` Ian Campbell
2011-06-24 14:15                   ` Anthony Wright
2011-06-24 14:24                     ` Ian Campbell
2011-06-21 16:26           ` Ian Jackson
2011-06-21 16:42             ` Ian Campbell
2011-06-21 17:01               ` Keir Fraser [this message]
2011-06-21 19:35             ` Tim Deegan
2011-06-22  8:02               ` Ian Campbell
2011-06-21 13:27 ` 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=CA268CFC.1CAF1%keir.xen@gmail.com \
    --to=keir.xen@gmail.com \
    --cc=Ian.Campbell@eu.citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=anthony@overnetdata.com \
    --cc=konrad.wilk@oracle.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.