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 <andrew.coop...@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>

Acked-by: Daniel De Graaf <dgde...@tycho.nsa.gov>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to