From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: CONFIG_SMP required for save/restore and migration: bug? Date: Tue, 27 Aug 2013 09:33:57 -0400 Message-ID: <20130827133357.GA3725@phenom.dumpdata.com> References: <20B2568C-E9BC-431C-95B7-2C9644607396@lesinigo.it> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20B2568C-E9BC-431C-95B7-2C9644607396@lesinigo.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Luca Lesinigo Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, Aug 27, 2013 at 01:09:41AM +0200, Luca Lesinigo wrote: > Dear list, I was about to write here seeking for help because my Ubuntu domUs were migrating just fine while my Gentoo ones were just hanging "freezed" after attempting migration, or after saving and restoring on the same node. > > After some more tinkering around, I nailed the issue to my kernel config which was stripped down to the bare minimum: no hardware drivers, no loadable modules... and no SMP. After enabling SMP support my domU were able to migrate without problems. The same happens on 3.2.x and on 3.10.7 kernels. > > Before playing with many different kernel configurations, I searched Xen's wiki and googled around but could not find anything related to this issue. > > So: with my config, non-SMP kernels will freeze after restore, while activating CONFIG_SMP and nothing else will make this problem disappear. Maybe non-SMP kernels are supposed to migrate but there's a software problem, or maybe SMP is a requirement but is not documented (or at least I wasn't able to find it). Maybe it's not CONFIG_SMP but one of its dependencies. > > Either way, I'm writing to the list to report this experience, maybe it is a (software or documentation) bug? It could also be a dependency issue. Meaning if you undef CONFIG_SMP it won't pick up the rest of the code - say the code needed for migration. That would be odd and buggy. If you compare the two .config files what does CONFIG_SMP=y add extra? Are these PVHVM or PV domUs? Thanks! > > I'll keep an eye to the list in the next days, if you need any other detail just ask. > > Thank you for developing Xen, keep up with the good work! Thank you. > > -- > Luca Lesinigo > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel