]> xenbits.xensource.com Git - xen.git/commit
tools/libxl: only set viridian flags on new domains
authorIgor Druzhinin <igor.druzhinin@citrix.com>
Wed, 3 Feb 2021 20:07:04 +0000 (20:07 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 8 Feb 2021 12:26:44 +0000 (12:26 +0000)
commit25ee478662d378ec2b24f517fb6d8d4829b885ff
treeed55f9ee56514ce9126705dd978bc329b824eeb7
parent804fe751375b1f40eb3142121bf2b70fa2a83972
tools/libxl: only set viridian flags on new domains

Domains migrating or restoring should have viridian HVM param key in
the migration stream already and setting that twice results in Xen
returing -EEXIST on the second attempt later (during migration stream parsing)
in case the values don't match. That causes migration/restore operation
to fail at destination side.

That issue is now resurfaced by the latest commits (983524671 and 7e5cffcd1e)
extending default viridian feature set making the values from the previous
migration streams and those set at domain construction different.

Suggested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Igor Druzhinin <igor.druzhinin@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/libs/light/libxl_x86.c