unsigned int max_doms,
xc_dominfo_t *info);
+int xc_shadow_control(int xc_handle,
+ u64 domid,
+ unsigned int sop);
+
int xc_linux_save(int xc_handle,
u64 domid,
const char *state_file,
unsigned long warpu);
int xc_bvtsched_global_get(int xc_handle,
- unsigned long *ctx_allow);
+ unsigned long *ctx_allow);
int xc_bvtsched_domain_get(int xc_handle,
u64 domid,
unsigned long *warpu);
int xc_atropos_domain_set(int xc_handle,
- u64 domid,
- u64 period, u64 slice, u64 latency,
- int xtratime);
+ u64 domid,
+ u64 period, u64 slice, u64 latency,
+ int xtratime);
int xc_atropos_domain_get(int xc_handle,
u64 domid,
u64* period, u64 *slice, u64 *latency,
int *xtratime);
-int xc_rrobin_global_set(int xc_handle,
- u64 slice);
+int xc_rrobin_global_set(int xc_handle, u64 slice);
-int xc_rrobin_global_get(int xc_handle,
- u64 *slice);
+int xc_rrobin_global_get(int xc_handle, u64 *slice);
typedef struct {
unsigned long credit_bytes;
int clear);
int xc_physinfo(int xc_handle,
- xc_physinfo_t *info);
+ xc_physinfo_t *info);
#endif /* __XC_H__ */
}
int xc_shadow_control(int xc_handle,
- u64 domid,
- unsigned int sop)
+ u64 domid,
+ unsigned int sop)
{
dom0_op_t op;
op.cmd = DOM0_SHADOW_CONTROL;
op.u.shadow_control.domain = (domid_t)domid;
- op.u.shadow_control.op = sop;
+ op.u.shadow_control.op = sop;
return do_dom0_op(xc_handle, &op);
}