| To: | xen-devel@xxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-devel] [PATCH] Cleanup destroy and destroyDomain method |
| From: | Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> |
| Date: | 2008年8月28日 11:37:30 +0900 |
| Delivery-date: | 2008年8月27日 19:38:02 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
Hi, When domains are destroyed, _prepare_phantom_paths() method and _cleanup_phantom_devs() method are called twice as follows. destroy()@XendDomainInfo.py _prepare_phantom_paths() --------------- 1 _cleanupVm() destroyDomain() _prepare_phantom_paths() ----------- 2 xc.domain_destroy_hook() xc.domain_pause() do_FLR() xc.domain_destroy() XendDomain.remove_domain() cleanupDomain() _cleanup_phantom_devs() ------------ 1 _cleanup_phantom_devs() ---------------- 2 XendDomain.domain_delete_by_dominfo() This is a cleanup patch. It combines destroyDomain() method into destroy() method, then _prepare_phantom_paths() method and _cleanup_phantom_devs() method are called only once. Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx> Best regards, Kan
Attachment:
cleanup_destroy_method.patch
Description: Binary data
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] [RESEND] ioemu-remote: fix cross compilation. , Isaku Yamahata |
|---|---|
| Next by Date: | [Xen-devel] 2.6.27-rc4 pvops domU on Xen 3.3 Kernel panic , Todd Deshane |
| Previous by Thread: | [Xen-devel] [PATCH] [RESEND] ioemu-remote: fix cross compilation. , Isaku Yamahata |
| Next by Thread: | [Xen-devel] 2.6.27-rc4 pvops domU on Xen 3.3 Kernel panic , Todd Deshane |
| Indexes: | [Date] [Thread] [Top] [All Lists] |