1 /* Simple wrappers around HVM functions */
5 #include <xen/interface/hvm/params.h>
7 static inline unsigned long hvm_get_parameter(int idx)
9 struct xen_hvm_param xhv;
12 xhv.domid = DOMID_SELF;
14 r = HYPERVISOR_hvm_op(HVMOP_get_param, &xhv);
16 printk(KERN_ERR "cannot get hvm parameter %d: %d.\n",
23 #endif /* XEN_HVM_H__ */