All of lore.kernel.org
 help / color / mirror / Atom feed
* Xen live migration
@ 2011-04-19 13:05 MaoXiaoyun
  2011-04-19 13:20 ` Keir Fraser
  0 siblings, 1 reply; 3+ messages in thread
From: MaoXiaoyun @ 2011-04-19 13:05 UTC (permalink / raw)
  To: xen devel


[-- Attachment #1.1: Type: text/plain, Size: 236 bytes --]


Hi:
 
   I've been noticed that intel XSAVE is disabled in Xen source.
  Does this mean live migration is temporarily  not support right now? 
  Is it for buggy reason, will be enable again someday later?
 
  thanks. 		 	   		  

[-- Attachment #1.2: Type: text/html, Size: 513 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xen live migration
  2011-04-19 13:05 Xen live migration MaoXiaoyun
@ 2011-04-19 13:20 ` Keir Fraser
  2011-04-20  9:21   ` Tim Deegan
  0 siblings, 1 reply; 3+ messages in thread
From: Keir Fraser @ 2011-04-19 13:20 UTC (permalink / raw)
  To: MaoXiaoyun, xen devel

On 19/04/2011 14:05, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote:

> Hi:
>  
>    I've been noticed that intel XSAVE is disabled in Xen source.
>   Does this mean live migration is temporarily  not support right now?
>   Is it for buggy reason, will be enable again someday later?

XSAVE doesn't have anything to do with live migration.

 -- Keir

>   thanks.
>        
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Xen live migration
  2011-04-19 13:20 ` Keir Fraser
@ 2011-04-20  9:21   ` Tim Deegan
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Deegan @ 2011-04-20  9:21 UTC (permalink / raw)
  To: Keir Fraser; +Cc: MaoXiaoyun, xen devel

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

At 14:20 +0100 on 19 Apr (1303222807), Keir Fraser wrote:
> On 19/04/2011 14:05, "MaoXiaoyun" <tinnycloud@hotmail.com> wrote:
> 
> > Hi:
> >  
> >    I've been noticed that intel XSAVE is disabled in Xen source.
> >   Does this mean live migration is temporarily  not support right now?
> >   Is it for buggy reason, will be enable again someday later?
> 
> XSAVE doesn't have anything to do with live migration.

XSAVE was disabled in 22084:ae0cd4e5cc01 because the original XSAVE
support didn't include saving/restoring XSAVE contexts (i.e. it broke
live migration).  The changeset that added that support didn't re-enable
xsave. :(

The attached patch is the missing change to re-enable it by default
(totally untested). 

Cheers,

Tim.

-- 
Tim Deegan <Tim.Deegan@citrix.com>
Principal Software Engineer, Xen Platform Team
Citrix Systems UK Ltd.  (Company #02937203, SL9 0BG)

[-- Attachment #2: x --]
[-- Type: text/plain, Size: 644 bytes --]

xen/x86: re-enable xsave by default
now that it supports live migration. 

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>

diff -r 3539ef956a37 xen/arch/x86/cpu/common.c
--- a/xen/arch/x86/cpu/common.c	Mon Apr 18 18:34:45 2011 +0100
+++ b/xen/arch/x86/cpu/common.c	Wed Apr 20 10:18:56 2011 +0100
@@ -18,7 +18,7 @@
 static int cachesize_override __cpuinitdata = -1;
 size_param("cachesize", cachesize_override);
 
-static bool_t __cpuinitdata use_xsave;
+static bool_t __cpuinitdata use_xsave = 1;
 boolean_param("xsave", use_xsave);
 unsigned int __devinitdata opt_cpuid_mask_ecx = ~0u;
 integer_param("cpuid_mask_ecx", opt_cpuid_mask_ecx);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-20  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 13:05 Xen live migration MaoXiaoyun
2011-04-19 13:20 ` Keir Fraser
2011-04-20  9:21   ` Tim Deegan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.