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

[Xen-devel] Relationship between GuestOS shutdown and destroy operations?


  • To: "Xen org" <xen-devel@xxxxxxxxxxxxx>
  • From: 小黄豆 <vivagin@xxxxxxxx>
  • Date: Fri, 21 Sep 2012 14:02:28 +0800 (CST)
  • Delivery-date: Fri, 21 Sep 2012 06:03:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hello everyone!

In my opinion, I think when we shutdown the GuestOS,
 Xen should free allocated vcpu and domain gived to GuestOS 
when it created at the same time. 

But I don’t find any code in functions associated with shutdown process to
show this work,
for example: 
Hvm_vcpu_down()-〉domain_shutdown()->__domain_finalise_shutdown()

But I find the functions free_vcpu_struct() and free_domain_struct() 
in the function complete_domain_destroy() in the process of destroy
operation, 
the code process is:
Domain_kill()->put_domain()->domain_destroy()->complete_domain_destroy()

Is that process right? Is there any relationship between them?
Does anyone know it?

Thanks for your help!



--
View this message in context: http://xen.1045712.n5.nabble.com/Relationship-between-GuestOS-shutdown-and-destroy-operations-tp5711423.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel

 


Rackspace

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