1 /* Simple wrappers around HVM functions */
5 #include <xen/interface/hvm/params.h>
6 #include <asm/hypercall.h>
8 static inline unsigned long hvm_get_parameter(int idx)
10 struct xen_hvm_param xhv;
13 xhv.domid = DOMID_SELF;
15 r = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv);
17 printk(KERN_ERR "cannot get hvm parameter %d: %d.\n",
24 #endif /* XEN_HVM_H__ */