WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] XL: pv guests dont reboot after migration (xen4.1.2-rc2-

To: Andreas Olsowski <andreas.olsowski@xxxxxxxxxxx>
Subject: Re: [Xen-devel] XL: pv guests dont reboot after migration (xen4.1.2-rc2-pre)
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: 2011年9月23日 09:00:43 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: 2011年9月23日 01:03:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4E7C37D6.7050109@xxxxxxxxxxx>
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>
Organization: Citrix Systems, Inc.
References: <4E785FDD.40209@xxxxxxxxxxx> <1316546621.5182.23.camel@xxxxxxxxxxxxxxxxxxxx> <4E7C37D6.7050109@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2011年09月23日 at 08:38 +0100, Andreas Olsowski wrote:
I guess the core of the problem is somewhere around this:
> >xc: error: 0-length read: Internal error
> >xc: error: read_exact_timed failed (read rc: 0, errno: 0): Internal error
> >xc: error: read: p2m_size (0 = Success): Internal error
>
It smells like on reboot it is trying to receive another incoming
migration, instead of restarting the domain it already has.
This (untested) might help:
diff -r d7b14b76f1eb tools/libxl/xl_cmdimpl.c
--- a/tools/libxl/xl_cmdimpl.c Thu Sep 22 14:26:08 2011 +0100
+++ b/tools/libxl/xl_cmdimpl.c Fri Sep 23 08:59:36 2011 +0100
@@ -1516,6 +1516,11 @@ start:
 ret = libxl_domain_create_restore(ctx, &d_config,
 cb, &child_console_pid,
 &domid, restore_fd);
+ /*
+ * On subsequent reboot etc we should create the domain, not
+ * restore/migrate-receive it again.
+ */
+ restore_file = NULL;
 }else{
 ret = libxl_domain_create_new(ctx, &d_config,
 cb, &child_console_pid, &domid);
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] pv guests die after failed migration , Ian Campbell
Next by Date: Re: [Xen-devel] [PATCH 6 of 6] libxl: use hotplug-status to synchronize the destruction of block devices , Roger Pau Monné
Previous by Thread: Re: [Xen-devel] XL: pv guests dont reboot after migration (xen4.1.2-rc2-pre) , Andreas Olsowski
Next by Thread: Re: [Xen-devel] XL: pv guests dont reboot after migration (xen4.1.2-rc2-pre) , Andreas Olsowski
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /