[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Unplugging a dom0 vcpu and domain destruction


  • To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
  • From: George Dunlap <dunlapg@xxxxxxxxx>
  • Date: Fri, 20 Feb 2009 18:59:06 +0000
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
  • Delivery-date: Fri, 20 Feb 2009 10:59:36 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=NpALrNBNjxnS4nIC0sNkrREQywb83T1zrL3QpNZ2n5xovZqNCUwptlE+KrsvyRhOV1 tkYnqB+ewUV0KRtKKSaiUfgyr/HNWlDhD8utc9V074FFocCZ2T254Ctb0YMBmgyjo/Km 3Snd9JGahZOLT/dbpZOkaXFBxNT7qQ3s477xI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

On Fri, Feb 20, 2009 at 6:15 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
> Is it that the offline cpu still has a cr3 reference to a pagetable, and
> that's not being given up?  Or gdt?

But that would be a reference in Xen, would it not -- from the d0v1's
vcpu struct in Xen?

The last reference to the domain pages went away when d0v1 wrote to
one of its own l1e's.  So one of dom0's l1's still contained a
reference to those pages.  The curious bit is why they weren't
unmapped immediately if d0v1 wasn't online, and why they were unmapped
immediately when d0v1 came back online.

> In the pvops kernels we also keep a reference to the vcpu info structure,
> since we place it the kernel's memory rather than keeping it in the shared
> info structure.  For a while that had bugs that left zombie domains lying
> around, but I don't think anyone backported that stuff to 2.6.18.

Hmm, I'll take a look tomorrow and see if I can work out what those
two pages that were being kept are.

 -George

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.