*/
#define LIBXL_HAVE_BUILDINFO_GRANT_LIMITS 1
+#define LIBXL_MAX_GRANT_FRAMES_DEFAULT 32
+#define LIBXL_MAX_MAPTRACK_FRAMES_DEFAULT 1024
+
/*
* LIBXL_HAVE_BUILDINFO_* indicates that libxl_domain_build_info has
* the field represented by the '*'. The original position of those
("vnuma_nodes", Array(libxl_vnode_info, "num_vnuma_nodes")),
- ("max_grant_frames", uint32),
- ("max_maptrack_frames", uint32),
+ ("max_grant_frames", uint32, {'init_val': 'LIBXL_MAX_GRANT_FRAMES_DEFAULT'}),
+ ("max_maptrack_frames", uint32, {'init_val': 'LIBXL_MAX_MAPTRACK_FRAMES_DEFAULT'}),
("device_model_version", libxl_device_model_version),
("device_model_stubdomain", libxl_defbool),