[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with Understanding vcpu xstate restore error during vm migration


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Fonyuy-Asheri Caleb <fonyuy-asheri.caleb@xxxxxxxx>
  • Date: Thu, 11 Jul 2024 12:38:47 +0200 (CEST)
  • Authentication-results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=Pass smtp.mailfrom=fonyuy-asheri.caleb@xxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 11 Jul 2024 10:38:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: tAJcECRjqaJf3FM7DVWxG1PgmKGLCA==
  • Thread-topic: Help with Understanding vcpu xstate restore error during vm migration

Hello, 

I am trying to understand the causes of the vcpu xstate restore error during live migration.
I get the following error during live migration: 

xc: error: Failed to set vcpu0's xsave info (22 = Invalid argument): Internal error

I was able to locate the failure point to the file xen/arch/x86/domctl.c  with the following check.

if ( evc->size < PV_XSAVE_HDR_SIZE ||
evc->size > PV_XSAVE_SIZE(xfeature_mask) )
goto vcpuextstate_out;

I know this is related to the number of xstates handled by the source server. Please can 
someone explain to me how these states are computed? 

I earlier thought it was simply the number xsave dependent features on the CPU but it seems
to be more than that. 

Thanks in advance. 

Caleb


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.