Andrew Cooper writes ("[PATCH v2 10/17] tools/libxl: Plumb a restore boolean 
down into libxl__build_pre()"):
> To fix CPUID handling, libxl__build_pre() is going to have to distinguish
> between a brand new VM vs one which is being migrated-in/resumed.

The distinction between libxl__build_pre and these other functions is
not particularly principled.  It is a legacy from an old API (prior to
the existince of *create) where libxl callers were expected to "build"
a domain first and then do other things to it.

Maybe it would be better to pass this via libxl__domain_build_state
rather than as an additional parameter ?

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to