Am Thu, 16 May 2019 13:38:57 +0200
schrieb Olaf Hering <oher...@suse.com>:

> To me it looks like something like 
> libxl_domain_config_finish(libxl_domain_config*)
> is missing now.

If we do not want to add a new API, a hack might be to use container_of()
and assume that the libxl_domain_build_info passed to libxl_domain_need_memory
is always part of a libxl_domain_config. This is, at this point, true
for at least libvirt and xl. But it is certainly fragile.

Olaf

Attachment: pgpSYHhAxy_pi.pgp
Description: Digitale Signatur von OpenPGP

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

Reply via email to