Rig Gel
2014-07-06 22:23:48 UTC
Hi all,
- I'm sorry if this is a repost, I was informed that this is the correct
mailing list only after sending a msg to xen-users -
I would like to compile a simple ELF which would make a simple a hypercall
from a guest in order to
learn a bit more about the Xen Hypercall interface.
I tried including the hypervisor.h and -I'ing the ./extras/mini-os/ dir but
it seems that I'm missing a few flags or paths in order ot make it fully
compile correctly
Can anyone hint or explain a bit what is the appropriate way to link
against Xen's header files ?
I only need hypervisor.h in order to call some hypercalls
Attached below a sample of my code -
#include <hypervisor.h>
...
snip
...
void test_xen_version(int vers) {
HYPERVISOR_xen_version(vers);
}
( using the xe_version hypercall is just a mere example, I would like to
just know how to link/compile correctly against the required header
files/libs )
- I'm sorry if this is a repost, I was informed that this is the correct
mailing list only after sending a msg to xen-users -
I would like to compile a simple ELF which would make a simple a hypercall
from a guest in order to
learn a bit more about the Xen Hypercall interface.
I tried including the hypervisor.h and -I'ing the ./extras/mini-os/ dir but
it seems that I'm missing a few flags or paths in order ot make it fully
compile correctly
Can anyone hint or explain a bit what is the appropriate way to link
against Xen's header files ?
I only need hypervisor.h in order to call some hypercalls
Attached below a sample of my code -
#include <hypervisor.h>
...
snip
...
void test_xen_version(int vers) {
HYPERVISOR_xen_version(vers);
}
( using the xe_version hypercall is just a mere example, I would like to
just know how to link/compile correctly against the required header
files/libs )