[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Using Xen's hypercall interface?



Hi all,


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);
}

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.