On 14/03/2019 11:59, Juergen Gross wrote:
> @@ -1100,6 +1100,20 @@ typedef struct xen_sysctl_cpu_policy 
> xen_sysctl_cpu_policy_t;
>  DEFINE_XEN_GUEST_HANDLE(xen_sysctl_cpu_policy_t);
>  #endif
>  
> +/*
> + * XEN_SYSCTL_get_config
> + *
> + * Return gzip-ed .config file

I don't think it is wise to bake gzip into the API.  These days, there
really are better options than gzip both in terms of compression ratio
and decompress speed.

I'd suggest just saying "file may be compressed" and leave it up to the
packagers build system and `xl` choices to agree on which compression
(if any) to use.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to