From: Ian Jackson Subject: Re: 3.4.70+ kernel WARNING spew dysfunction on failed migration Date: Thu, 9 Jan 2014 19:08:41 +0000 Message-ID: <21198.62393.819485.361532@mariner.uk.xensource.com> References: <21196.19900.136146.867552@mariner.uk.xensource.com> <1389186144.4883.60.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1389186144.4883.60.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] 3.4.70+ kernel WARNING spew dysfunction on failed migration"): > The older method is that the toolstack resets a bunch of state (see > tools/python/xen/xend/XendDomainInfo.py resumeDomain) and then restarts > the domain. The domain will see HYPERVISOR_suspend return 0 and will > continue without any realisation that it is actually running in the > original domain and not in a new one. This method is supposed to be > implemented by libxl_domain_resume(suspend_cancel=0) but it is not. I have looked into this and I think I can fairly simply implement the old protocol in libxl. This is necessary, I think, to preserve our back-to-3.0 ABI compatibility guarantee. Looking at a modern pvops Linux kernel, does seem to try to cope with older hypervisors which don't do the "new" protocol. So that's a reasonable thing to start with, but looking at the code in Linux I suspect it may not actually work very well. So if anyone has an ancient test case of some kind that would be helpful... Ian.