From: Alex Bligh Subject: Re: Question re live migrate on Xen 4.2 re different cpu capabilities Date: Thu, 07 Feb 2013 10:59:07 +0000 Message-ID: <496E7A8DB9DCF257D29E10F2@nimrod.local> References: <8B93B6FC00D1EC219B83AEDB@nimrod.local> <20130207091907.GA5540@aepfle.de> <1360230421.32479.46.camel@zakaz.uk.xensource.com> Reply-To: Alex Bligh Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1360230421.32479.46.camel@zakaz.uk.xensource.com> Content-Disposition: inline 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 , Olaf Hering Cc: Alex Bligh , Xen Devel List-Id: xen-devel@lists.xenproject.org Ian, Olaf, --On 7 February 2013 09:47:01 +0000 Ian Campbell wrote: > On Thu, 2013-02-07 at 09:19 +0000, Olaf Hering wrote: >> On Thu, Feb 07, Alex Bligh wrote: >> >> > Is there any way to do similarly in Xen? Or is Xen live migrate >> > effectively restricted to live migrate between identical CPUs? >> >> Its mentionend somewhere in the docs that both cpus must be sufficient >> compatible. Use the cpuid= setting in the domU config file to enforce >> this. > > You can also level down an entire host using the cpuid_mask_* command > line options described in > http://xenbits.xen.org/docs/unstable/misc/xen-command-line.html Thanks - that's really helpful. Looking at the documentation for cpuid= I can't see an obvious way of saying 'mask everything except the least common denominator of features' using the libxl method, without having prior knowledge of what each version of xen supports. I'm not even clear how to do this on the xend method (obviously I want to pass long bitstrings of zeros, but how many?). Am I missing something? -- Alex Bligh