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

Re: staging: unable to restore HVM with Viridian param set


  • To: Tamas K Lengyel <tamas.k.lengyel@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, "Paul Durrant" <paul@xxxxxxx>, Igor Druzhinin <igor.druzhinin@xxxxxxxxxx>
  • From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Date: Mon, 1 Feb 2021 22:57:18 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=patjk2+TXivoRpKNWbyC+vTwSrfzHjyuIVOtJBdv/d8=; b=nx3apTR4iPiVrlhxk7Gb9PALj7k8A16AnDKE12xWZUXzyIub2GxmAA0oRhO4O/OqnuHSyBstTVu7pbqDHyt0394BeifdfPnkNzCKs0tZw9SchGj108Lp1OsEvLRBm1/h377LOqyDwHSr6Xkt+RfpAEyQXmqxGkY9xxBGpaZvJZyz/KAbm+SVztvll9ZMLnSbSbaBFBbwtaImRBXfInG9jzYzHs72lxq0cAIW/ZumvC3/Nlo5+t2ZQge1VVcMH3mrOkdeA8H6LSWjolmIQytwR593Bnrr6aiY1orhRAju3EGqy8qOslWJ6t+pn+z76vooxczFd4wQOs2NkQ9UQ9sCbw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VTwg9hxnXiMiRpAuQebt37Id1yX1p2wQ2PWpjFoVARvUZDkQZveGZw7TzT144UFoenuXDUL82I6Z0iPaa6XbhA3fXCF8tX460nlB0eZC9CTnk7wrXJu8mn6HpBiwl9agJazeHr1xxp9x5IxX/XDwiiGvBS3RIjaQZRGCKnQvY/Jw7VVfyCJqBuB/pqH2EYbuMN9VVWAhtt6N8qq+f3MFKwXy3lEXt1vi7mG9DHAVc6eboqnaT7CsGuAPrNEL0riUzQmUQ0mmyaAprMA2sv6PzwIYObX2LGEwQzOLJZuYftddboe+gcAfpXoeyauZsBC4e+wNXUNbsCGhoCNxmiZ/ig==
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Delivery-date: Mon, 01 Feb 2021 22:57:42 +0000
  • Ironport-sdr: ndA/aa73tBtr6qYSKd/AduCog0I0KNEuvXVNtQtIvMBRwJlQz240CwROlLNTy+4VNuct7r+Fce JCFvHZahf61ydRfnHGyeZifQjq6gXgqfG7PXH5bhCKWDcDBKtz8G9AQj9SZm4saI7GvCt/1ngc U5LkhuLo9klQKBInzYpfG7AkrTnZTYJnqBoUWBJEpctWqMh2LxTgqsf+xc0XP70N2hBiFQSZuf zRY8fS2dGsF7efe/i1GtnTA8Ge3UPU1Jqv3qRq/ZZBMeGYYTDqVDhbbsL1AmpYDKQ2KT5EHBjb pI0=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 01/02/2021 22:51, Tamas K Lengyel wrote:
> Hi all,
> trying to restore a Windows VM saved on Xen 4.14 with Xen staging results in:
>
> # xl restore -p /shared/cfg/windows10.save
> Loading new save file /shared/cfg/windows10.save (new xl fmt info 
> 0x3/0x0/1475)
>  Savefile contains xl domain config in JSON format
> Parsing config from <saved>
> xc: info: Found x86 HVM domain from Xen 4.14
> xc: info: Restoring domain
> xc: error: set HVM param 9 = 0x0000000000000065 (17 = File exists):
> Internal error
> xc: error: Restore failed (17 = File exists): Internal error
> libxl: error: libxl_stream_read.c:850:libxl__xc_domain_restore_done:
> restoring domain: File exists
> libxl: error: libxl_create.c:1581:domcreate_rebuild_done: Domain
> 8:cannot (re-)build domain: -3
> libxl: error: libxl_domain.c:1182:libxl__destroy_domid: Domain
> 8:Non-existant domain
> libxl: error: libxl_domain.c:1136:domain_destroy_callback: Domain
> 8:Unable to destroy guest
> libxl: error: libxl_domain.c:1063:domain_destroy_cb: Domain
> 8:Destruction of domain failed
>
> Running on staging 419cd07895891c6642f29085aee07be72413f08c

CC'ing maintainers and those who've edited the code recently.

What is happening is xl/libxl is selecting some viridian settings,
applying them to the domain, and then the migrations stream has a
different set of viridian settings.

For a migrating-in VM, nothing should be set during domain build. 
Viridian state has been part of the migrate stream since before mig-v2,
so can be considered to be everywhere relevant now.

~Andrew



 


Rackspace

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