From: Masaki Kanno Subject: [PATCH] Fix xm shutdown/reboot for HVM domain of IA64 Date: Thu, 31 Jan 2008 17:31:42 +0900 Message-ID: <37C863E3B517F4kanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-B4sEJ1BZU1WGPAjLLGaqZ" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ia64-devel-bounces@lists.xensource.com Errors-To: xen-ia64-devel-bounces@lists.xensource.com To: xen-ia64-devel@lists.xensource.com, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-B4sEJ1BZU1WGPAjLLGaqZ Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, xc.domain_destroy_hook() is called twice when we execute xm shutdown/reboot command to an HVM domain without PV drivers. The first calling is from shutdown() in XendDomainInfo.py. The second calling is from destroyDomain() in XendDomainInfo.py. The first calling is not necessary, so this patch removes it. A discussion about this patch is as follows. http://lists.xensource.com/archives/html/xen-ia64-devel/2008-01/msg00232.html Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-B4sEJ1BZU1WGPAjLLGaqZ Content-Type: application/octet-stream; name="destroy_hook.patch" Content-Disposition: attachment; filename="destroy_hook.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciA1Zjk5N2I1YjhhNTggdG9vbHMvcHl0aG9uL3hlbi94ZW5kL1hlbmREb21haW5J bmZvLnB5Ci0tLSBhL3Rvb2xzL3B5dGhvbi94ZW4veGVuZC9YZW5kRG9tYWluSW5mby5weQlX ZWQgSmFuIDMwIDE1OjE5OjIyIDIwMDggKzAwMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94 ZW5kL1hlbmREb21haW5JbmZvLnB5CVRodSBKYW4gMzEgMTY6MzI6MzIgMjAwOCArMDkwMApA QCAtNDgxLDcgKzQ4MSw2IEBAIGNsYXNzIFhlbmREb21haW5JbmZvOgogICAgICAgICAgICAg aHZtX3B2ZHJ2ID0geGMuaHZtX2dldF9wYXJhbShzZWxmLmRvbWlkLCBIVk1fUEFSQU1fQ0FM TEJBQ0tfSVJRKQogICAgICAgICAgICAgaWYgbm90IGh2bV9wdmRydjoKICAgICAgICAgICAg ICAgICBjb2RlID0gUkVWRVJTRV9ET01BSU5fU0hVVERPV05fUkVBU09OU1tyZWFzb25dCi0g ICAgICAgICAgICAgICAgeGMuZG9tYWluX2Rlc3Ryb3lfaG9vayhzZWxmLmRvbWlkKQogICAg ICAgICAgICAgICAgIGxvZy5pbmZvKCJIVk0gc2F2ZTpyZW1vdGUgc2h1dGRvd24gZG9tICVk ISIsIHNlbGYuZG9taWQpCiAgICAgICAgICAgICAgICAgeGMuZG9tYWluX3NodXRkb3duKHNl bGYuZG9taWQsIGNvZGUpCiAK --Boundary-B4sEJ1BZU1WGPAjLLGaqZ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@lists.xensource.com http://lists.xensource.com/xen-ia64-devel --Boundary-B4sEJ1BZU1WGPAjLLGaqZ--