xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Hao, Xudong" <xudong.hao@intel.com>
To: Jan Beulich <JBeulich@suse.com>
Cc: "Zhang, Haozhong" <haozhong.zhang@intel.com>,
	Wei Liu <wei.liu2@citrix.com>,
	Xen-devel <xen-devel@lists.xenproject.org>
Subject: Re: live migration from new platform to old platform
Date: Tue, 7 Jun 2016 08:40:49 +0000	[thread overview]
Message-ID: <B8376D2DEA074F45BA033984477C453E034ACE8D@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <5756962902000078000F2714@prv-mh.provo.novell.com>

> -----Original Message-----
> From: Jan Beulich [mailto:JBeulich@suse.com]
> Sent: Tuesday, June 7, 2016 3:39 PM
> To: Hao, Xudong <xudong.hao@intel.com>
> Cc: Wei Liu <wei.liu2@citrix.com>; Zhang, Haozhong
> <haozhong.zhang@intel.com>; Xen-devel <xen-devel@lists.xenproject.org>
> Subject: Re: [Xen-devel] live migration from new platform to old platform
> >>> On 07.06.16 at 09:02, <xudong.hao@intel.com> wrote:
> > Guessing HVM context of some new instruction can't be restored to an
> > old platform. Current Xen xl has cupid parameter parsing implement
> > "cupid" in guest config, like cupid='host,xsave=0'
> > or
> > cpuid=[ '1:ecx=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0' ]
> >
> > So I tried to disable some new cupid in guest config, both of the two
> > below method doesn't work, the HVM guest didn't disable those cupid
> > such as "hle, rtm, rdseed...".
> > cpuid='host,3dnowprefetch=0,hle=0,rtm=0,rdseed=0,adx=0,smap=0'
> > cpuid=['7:ebx=xxxxxxxxxxx000xxxxxx0xxxxxx0xxxx']
> This derivation of yours doesn't look right: Leaf 7 requires a sub-leaf to be
> specified (I don't recall off the top of my head what the exact syntax is). So I first
> of all wonder - did you verify that your CPUID adjustments actually too effect (in
> the sense of making it into
> d->arch.cpuids[])? Because once there, I can't see how the guest
> could get presented anything other than those values.

Jan, Thanks.
Yes, there is a Sub-leaf after leaf 7, with below additional line, migration succeed from Broadwell to Haswell.

Xen-devel mailing list

  reply	other threads:[~2016-06-07  8:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-07  7:02 live migration from new platform to old platform Hao, Xudong
2016-06-07  7:38 ` Jan Beulich
2016-06-07  8:40   ` Hao, Xudong [this message]
2016-06-07  9:46 ` Andrew Cooper
2016-06-08  2:08   ` Hao, Xudong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B8376D2DEA074F45BA033984477C453E034ACE8D@shsmsx102.ccr.corp.intel.com \
    --to=xudong.hao@intel.com \
    --cc=JBeulich@suse.com \
    --cc=haozhong.zhang@intel.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).