On 03/15/2016 01:56 PM, Konrad Rzeszutek Wilk wrote:
This hypercall mirrors the XENVER_ in that it has similar functionality. However it is designed differently: - No compat layer. The data structures are the same size on 32 as on 64-bit. - The hypercall accepts three arguments - the command, pointer to an buffer, and the length of the buffer. - Each sub-ops can be "probed" for size by returning the size of buffer that will be needed - if the buffer is NULL. - Subops can complete even if the buffer is too slow - truncated data will be filled and hypercall will return -ENOBUFS. - VERSION_OP_commandline, VERSION_OP_changeset are privileged. - There are no XENVER_compile_info equivalent. - The hypercall can return -EPERM and toolstack/OSes are expected to deal with it.Suggested-by: Andrew Cooper <[email protected]> Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Acked-by: Daniel De Graaf <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
