search for: xc_cpuid_apply_policy

Displaying 4 results from an estimated 4 matches for "xc_cpuid_apply_policy".

2008 May 13
3
Xen HVM cpuid problem
Hi Keir, For HVM guests, all cpuid Fn''s going through domain_cpuid() iterate over the loop and then return 0 for all four registers. Guests OS''s and cpuid tools in HVM which query for cpuid Fn 0000.0000 %eax and 8000.0000 %eax, see the value 0 and think, Xen emulates oldish 386/486 CPUs. This leads to strange boot failures, "your CPU does not support long mode" or
2010 May 07
9
[PATCH] xl: Update memory info in xenstore when use ''xl mem-set''
''xl mem-set'' should update memory info in xenstore''s vm info. Signed-off-by: Yu Zhiguo <yuzg@cn.fujitsu.com> diff -r ccae861f52f7 -r 5847ce53f5dc tools/libxl/libxl.c --- a/tools/libxl/libxl.c Thu May 06 11:59:55 2010 +0100 +++ b/tools/libxl/libxl.c Sat May 08 01:38:51 2010 +0800 @@ -2290,11 +2290,22 @@ uint32_t videoram; char *videoram_s = NULL;
2009 Nov 18
6
[PATCH 1/3] libxenlight: Clean up logging arrangements
...state->store_port, &state->store_mfn); if (ret) { - XL_LOG(ctx, XL_LOG_ERROR, "hvm build set params failed: %d", ret); + XL_LOG_ERRNOVAL(ctx, XL_LOG_ERROR, ret, "hvm build set params failed"); return ERROR_FAIL; } xc_cpuid_apply_policy(ctx->xch, domid); diff --git a/tools/libxl/libxl_exec.c b/tools/libxl/libxl_exec.c index 8d7928b..8a589b6 100644 --- a/tools/libxl/libxl_exec.c +++ b/tools/libxl/libxl_exec.c @@ -28,7 +28,7 @@ int libxl_exec(struct libxl_ctx *ctx, int stdinfd, int stdoutfd, int stderrfd, pid = fork();...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...libxl_domain_build_info *info, libxl_domain_build_state *state, char **vms_ents, char **local_ents) { + libxl_gc gc = LIBXL_INIT_GC(ctx); char *dom_path, *vm_path; xs_transaction_t t; char **ents; @@ -95,44 +96,43 @@ int build_post(libxl_ctx *ctx, uint32_t xc_cpuid_apply_policy(ctx->xch, domid); #endif - ents = libxl_calloc(ctx, 12 + (info->max_vcpus * 2) + 2, sizeof(char *)); + ents = libxl_calloc(&gc, 12 + (info->max_vcpus * 2) + 2, sizeof(char *)); ents[0] = "memory/static-max"; - ents[1] = libxl_sprintf(ctx, "%d", info...