How to call hypercall?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to call hypercall?

kazuki2000
I want to know how to call a hypercall.

In https://wiki.xenproject.org/wiki/Hypercall is written, it was written as
"See xen/include/public/xen.h in the Xen sources and the Xen hypercall
interface documentatio"

I read it ahead, but it is very diffucult for me.

So, I tried what is written in
http://smilejay.com/2012/05/xen_hypercall/

However, program result is error on ioctl().
# ./test_hypercall world
privcmd's fd = 3
ret = -1

I confirmed that /proc/xen/privcmd is present, and my environment is 64bit
(Ubuntu 14.04).

What is the reason for the error?

Or can you tell me a sample calling a hypercall from a program?

Or can tell me a little more friendly page about hypercall.



--
Sent from: http://xen.1045712.n5.nabble.com/Xen-User-f2551083.html

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xen.org/xen-users