]> xenbits.xensource.com Git - people/royger/xen.git/commit
tools/libxendevicemodel: introduce a Linux-specific implementation
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 15 Feb 2017 15:22:29 +0000 (15:22 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 23 Feb 2017 11:57:47 +0000 (11:57 +0000)
commite7745d8ef588a2da0f6cba0846fc168f0b76fc37
tree5f4fdb5d959c9fabe4a33353875bcd20c5a313f3
parent6902cb00e03122811089bec0b089c5a21e2849ae
tools/libxendevicemodel: introduce a Linux-specific implementation

My recent patch [1] to the Linux privcmd module introduced a dedicated
mechanism for making dm_op hypercalls.

This patch adds the necessary code to libxendevicemodel to take
advantage of that mechanism if it is implemented in the tools domain
kernel.

[1] https://git.kernel.org/cgit/linux/kernel/git/ostr/linux.git/commit/?id=ab520be8

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/include/xen-sys/Linux/privcmd.h
tools/libs/devicemodel/Makefile
tools/libs/devicemodel/linux.c [new file with mode: 0644]
tools/libs/devicemodel/private.h