]> xenbits.xensource.com Git - people/pauldu/xeniface.git/commit
NOT FOR UPSTEAM: Add 'magic' support for-app-layering-demo
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 5 Sep 2018 12:47:48 +0000 (13:47 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Wed, 26 Sep 2018 10:14:50 +0000 (11:14 +0100)
commit24b8cdd6bf6a4b4936c42ce8e963cb5cd0939c15
treebda334729f3e8e723296c02578c4549ab8b0ae21
parent894b20500cf8d3856d491fb0a34c95aa182fff71
NOT FOR UPSTEAM: Add 'magic' support

Add a new XcMagic() function to xencontrol.dll and an example application
('magic') that will link to it and call it.

The function takes a UNC path as input, writes it to a xentore key
(/local/domain/X/data/unc-path), and then waits for a value to be
written to another xenstore key (/local/domain/X/data/device-id). That
value (interpreted as a numeric) is passed back to the caller.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
include/xencontrol.h
include/xeniface_ioctls.h
src/magic/magic.c [new file with mode: 0644]
src/xencontrol/xencontrol.c
src/xeniface.inf
src/xeniface/ioctls.c
vs2017/magic/magic.vcxproj [new file with mode: 0644]
vs2017/magic/magic.vcxproj.user [new file with mode: 0644]
vs2017/package/package.vcxproj
vs2017/xeniface.sln