From: Keir Fraser Subject: Re: Unplugging a dom0 vcpu and domain destruction Date: Tue, 17 Feb 2009 17:39:59 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 17/02/2009 17:30, "George Dunlap" wrote: > domain_destroy() is only called from put_domain(), so presumably > there's somehow reference counts held somewhere which aren't released > when the second cpu is offline. > > I've duplicated this using the standard credit scheduler on > xen-unstable tip. I'm using a Debian dom0 filesystem, and a > linux-2.6.18-xen0 build from a month ago. If the domain never runs there will be very few domain refcnt updates. You should be able to track it down pretty easily by logging every caller. -- Keir