On 01.07.2025 21:54, Petr Beneš wrote:
> --- a/tools/libs/light/libxl_create.c
> +++ b/tools/libs/light/libxl_create.c
> @@ -421,6 +421,15 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
> return -ERROR_INVAL;
> }
>
> + if (b_info->altp2m_count == LIBXL_ALTP2M_COUNT_DEFAULT) {
> + if ((libxl_defbool_val(b_info->u.hvm.altp2m) ||
Is it possible that this is what causes
Assertion failed: !libxl_defbool_is_default(db) (libxl.c: libxl_defbool_val:
337)
observable in CI? Unless we can get a fix pretty quickly, I expect at least two
of the three patches that were committed from this series will need reverting.
Jan
> + b_info->altp2m != LIBXL_ALTP2M_MODE_DISABLED))
> + /* Reflect the default legacy count */
> + b_info->altp2m_count = 10;
> + else
> + b_info->altp2m_count = 0;
> + }
> +
> /* Assume that providing a bootloader user implies enabling restrict. */
> libxl_defbool_setdefault(&b_info->bootloader_restrict,
> !!b_info->bootloader_user);