From: "Yung Giang" Subject: [PATCH] Xend wait for device to disconnect during final stage of migration Date: Mon, 21 May 2007 16:48:02 -0400 Message-ID: <80eeb900705211348k7ca5a2f7nf533e857b4085a78@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_113901_14581445.1179780482649" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org ------=_Part_113901_14581445.1179780482649 Content-Type: multipart/alternative; boundary="----=_Part_113902_22334847.1179780482649" ------=_Part_113902_22334847.1179780482649 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi- This patch fixes the issue with waiting for devices to disconnect during the end stage of migration in Xend. The problem was cause by a deletion of the VM domain ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get the virtual backend device path. The virtual backend device path is used to check if a device is still existed in xenstore. Please take a look, let me know if you have any question or problem. Thanks, -Yung Giang ------=_Part_113902_22334847.1179780482649 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

Hi-
            This patch fixes the issue with waiting for devices to disconnect during the end stage of migration in Xend. The problem was cause by a deletion of the VM domain ID which is used by testDevicecompleComplete ->deviceIDs->backendRoot() to get the virtual backend device path. The virtual backend device path is used to check if a device is still existed in xenstore. Please take a look, let me know if you have any question or problem.

Thanks,
-Yung Giang

------=_Part_113902_22334847.1179780482649-- ------=_Part_113901_14581445.1179780482649 Content-Type: application/octet-stream; name=xend-wait-for-devices-disconnet.patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_f1zepjrw Content-Disposition: attachment; filename="xend-wait-for-devices-disconnet.patch" VGhpcyBwYXRjaCBmaXhlcyB0aGUgaXNzdWUgd2l0aCB3YWl0aW5nIGZvciBkZXZpY2VzIHRvIGRp c2Nvbm5lY3QgZHVyaW5n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ZV0gPSAwCiAgICAgICAgICAgICAg ICAgc2VsZi5fc3RhdGVTZXQoRE9NX1NUQVRFX0hBTFRFRCkK ------=_Part_113901_14581445.1179780482649 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel ------=_Part_113901_14581445.1179780482649--