1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU Lesser General Public License as published
4  * by the Free Software Foundation; version 2.1 only. with the special
5  * exception on linking described in file LICENSE.
6  *
7  * This program is distributed in the hope that it will be useful,
8  * but WITHOUT ANY WARRANTY; without even the implied warranty of
9  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10  * GNU Lesser General Public License for more details.
11  */
12 
13 #include "libxl_osdeps.h" /* must come before any other headers */
14 
15 #include "libxl_internal.h"
16 
libxl__cpuid_policy_is_empty(libxl_cpuid_policy_list * pl)17 int libxl__cpuid_policy_is_empty(libxl_cpuid_policy_list *pl)
18 {
19     return 1;
20 }
21 
libxl_cpuid_dispose(libxl_cpuid_policy_list * p_cpuid_list)22 void libxl_cpuid_dispose(libxl_cpuid_policy_list *p_cpuid_list)
23 {
24 }
25 
libxl_cpuid_parse_config(libxl_cpuid_policy_list * cpuid,const char * str)26 int libxl_cpuid_parse_config(libxl_cpuid_policy_list *cpuid, const char* str)
27 {
28     return 0;
29 }
30 
libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list * cpuid,const char * str)31 int libxl_cpuid_parse_config_xend(libxl_cpuid_policy_list *cpuid,
32                                   const char* str)
33 {
34     return 0;
35 }
36 
libxl_cpuid_apply_policy(libxl_ctx * ctx,uint32_t domid)37 void libxl_cpuid_apply_policy(libxl_ctx *ctx, uint32_t domid)
38 {
39 }
40 
libxl_cpuid_set(libxl_ctx * ctx,uint32_t domid,libxl_cpuid_policy_list cpuid)41 void libxl_cpuid_set(libxl_ctx *ctx, uint32_t domid,
42                      libxl_cpuid_policy_list cpuid)
43 {
44 }
45 
libxl_cpuid_policy_list_gen_json(yajl_gen hand,libxl_cpuid_policy_list * pcpuid)46 yajl_gen_status libxl_cpuid_policy_list_gen_json(yajl_gen hand,
47                                 libxl_cpuid_policy_list *pcpuid)
48 {
49     return 0;
50 }
51 
libxl__cpuid_policy_list_parse_json(libxl__gc * gc,const libxl__json_object * o,libxl_cpuid_policy_list * p)52 int libxl__cpuid_policy_list_parse_json(libxl__gc *gc,
53                                         const libxl__json_object *o,
54                                         libxl_cpuid_policy_list *p)
55 {
56     return 0;
57 }
58 
libxl_cpuid_policy_list_copy(libxl_ctx * ctx,libxl_cpuid_policy_list * dst,const libxl_cpuid_policy_list * src)59 void libxl_cpuid_policy_list_copy(libxl_ctx *ctx,
60                                   libxl_cpuid_policy_list *dst,
61                                   const libxl_cpuid_policy_list *src)
62 {
63 }
64 
65 /*
66  * Local variables:
67  * mode: C
68  * c-basic-offset: 4
69  * indent-tabs-mode: nil
70  * End:
71  */
72