search for: error_inv

Displaying 20 results from an estimated 33 matches for "error_inv".

Did you mean: error_find
2013 Sep 18
1
[PATCH] Allow 4 MB of video RAM for Cirrus graphics on traditional QEMU
...LT) + b_info->video_memkb = 8 * 1024; + if (b_info->video_memkb < (8 * 1024) ){ + LOG(ERROR,"videoram must be at least 8 MB for STDVGA " + "on QEMU_XEN_TRADITIONAL"); + return ERROR_INVAL; + } + break; + case LIBXL_VGA_INTERFACE_TYPE_CIRRUS: + default: + if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) + b_info->video_memkb = 4 * 1024; + if (b_info->video_memkb != (4 * 1024...
2012 Mar 21
4
Can not boot the OVMF
Hi Attilio I have updated to the upstream Xen and try to boot into OVMF bios. Instead of fetching the OVMF code from the git mirror, I just copy the OVMF bios to ovmf directory. I use the bios="ovmf" in the HVM config file. But, there is an error when I create the domain. root@gavin-laptop:~# xl create hvm_ubuntu.hvm Parsing config file /root/hvm_ubuntu.hvm WARNING: specifying
2012 Jul 26
3
[PATCH v8] Some automatic NUMA placement documentation
...ng: + + libxl_defbool_set(&domain_build_info->numa_placement, false); + +Also, if `numa_placement` is set to `true`, the domain must not +have any cpu affinity (i.e., `domain_build_info->cpumap` must +have all its bits set, as it is by default), or domain creation +will fail returning `ERROR_INVAL`. + +Besides than that, looking and/or tweaking the placement algorithm +search "Automatic NUMA placement" in libxl\_internal.h. + +Note this may change in future versions of Xen/libxl. + +## Limitations ## + +Analyzing various possible placement solutions is what makes the +algorithm f...
2013 Sep 09
1
[PATCH V3] xl: HVM domain S3 bugfix
...ODEL_VERSION_QEMU_XEN_TRADITIONAL: + rc = xc_set_hvm_param(CTX->xch, domid, HVM_PARAM_ACPI_S_STATE, 0); + break; + case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: + rc = libxl__qmp_system_wakeup(gc, domid); + break; + default: + rc = ERROR_INVAL; + break; + } + break; + default: + rc = ERROR_INVAL; + break; + } + + return rc; +} + int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid, libxl_trigger trigger, uint32_t vcpuid) { int rc; + GC_INIT(ctx);...
2013 Oct 22
0
Re: [PATCH V3] xl: HVM domain S3 bugfix
...rc = xc_set_hvm_param(CTX->xch, domid, >> HVM_PARAM_ACPI_S_STATE, 0); + break; + case >> LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN: + rc = >> libxl__qmp_system_wakeup(gc, domid); + break; + >> default: + rc = ERROR_INVAL; >> + break; >> + } >> + break; >> + default: >> + rc = ERROR_INVAL; >> + break; >> + } >> + >> + return rc; >> +} >> + >> int libxl_send_trigger(libxl_ctx *ctx, uint32_t domid...
2014 Jun 10
0
Re: [PATCH v16] libxl: Add qxl vga interface support for upstream qemu
...if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) > b_info->video_memkb = 0; > break; > + case LIBXL_VGA_INTERFACE_TYPE_QXL: > + LOG(ERROR,"qemu upstream required for qxl vga"); > + return ERROR_INVAL; > + break; > case LIBXL_VGA_INTERFACE_TYPE_STD: > if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) > b_info->video_memkb = 8 * 1024; > @@ -254,6 +258,15 @@ int libxl__domain_build_info_setdefault(libxl__gc *...
2013 Jul 05
3
[PATCH] libxl: Add qxl vga interface support for upstream qemu
...BXL_MEMKB_DEFAULT) { + b_info->video_memkb = (128 * 1024); + } else if (b_info->video_memkb < (128 * 1024)) { + LOG(ERROR, + "128 Mib videoram is the minimum for qxl default"); + return ERROR_INVAL; + } + } else { + LOG(ERROR,"qemu upstream required for qxl vga"); + return ERROR_INVAL; + } + } + if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_STD && b_info->device_m...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...= { int libxl_domain_shutdown(libxl_ctx *ctx, uint32_t domid, int req) { + libxl_gc gc = LIBXL_INIT_GC(ctx); char *shutdown_path; char *dom_path; - if (req > ARRAY_SIZE(req_table)) + if (req > ARRAY_SIZE(req_table)) { + libxl_free_all(&gc); return ERROR_INVAL; - - dom_path = libxl_xs_get_dompath(ctx, domid); - if (!dom_path) + } + + dom_path = libxl_xs_get_dompath(&gc, domid); + if (!dom_path) { + libxl_free_all(&gc); return ERROR_FAIL; - - shutdown_path = libxl_sprintf(ctx, "%s/control/shutdown", do...
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...int libxl__qmp_usb_add(libxl__gc *gc, int domid, + libxl__device_usb *usbdev) +{ + int rc; + switch(usbdev->type) { + case LIBXL_DEVICE_USB_TYPE_HOSTDEV: + rc = libxl__qmp_usb_hostdev_add(gc, domid, usbdev); + break; + default: + return ERROR_INVAL; + } + return rc; +} + + +static int libxl__qmp_usb_hostdev_remove(libxl__gc *gc, int domid, + libxl__device_usb *dev) +{ + libxl__json_object *args = NULL; + char *id; + + id = GCSPRINTF(HOST_USB_QDEV_ID, + (uint16_t) dev->u.hostd...
2012 Mar 27
1
[PATCH] libxl: Handle non-ballooned, zero slackmem properly for pci passthru
...l/libxl_pci.c Tue Mar 27 16:01:21 2012 +0100 @@ -1177,7 +1177,7 @@ static int e820_sanitize(libxl_ctx *ctx, uint32_t i, idx = 0, nr; struct e820entry e820[E820MAX]; - if (!src || !map_limitkb || !balloon_kb || !nr_entries) + if (!src || !map_limitkb || !nr_entries) return ERROR_INVAL; nr = *nr_entries;
2013 Jan 17
4
[PATCH v4] tools/libxl: Improve videoram setting
2013 Oct 08
0
[PATCH v3] libxl: spice usbredirection support for upstream qemu
...){ - LOG(ERROR,"usbversion cannot be enabled with usb or" - "usbdevice parameters."); + LOG(ERROR,"usbversion and/or usbredirection cannot be " + "enabled with usb and/or usbdevice parameters."); return ERROR_INVAL; } diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 2dd5dc1..4d00c19 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -559,6 +559,18 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc, "must be between 1 and...
2013 Apr 12
11
[PATCH v4 1/2] libxl: postpone backend name resolution
...(was_name_r) - *was_name_r = was_name; - - if (was_name) { - rc = libxl_name_to_domid(ctx, p, domid_r); - if (rc) - return rc; - } else { - rc = libxl_domain_info(ctx, NULL, *domid_r); - /* error only if domain does not exist */ - if (rc == ERROR_INVAL) - return rc; - } - - return 0; -} - static int cpupool_qualifier_to_cpupoolid(const char *p, uint32_t *poolid_r, int *was_name_r) { @@ -199,14 +176,14 @@ static uint32_t find_domain(const char *p) __attribute__((warn_unused_result)); stat...
2011 Nov 04
2
[PATCH V3 REBASE 1/2] libxl_qmp: Introduce libxl__qmp_pci_del
To remove a pci passthough device from QEMU (upstream). Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libxl/libxl_internal.h | 2 ++ tools/libxl/libxl_qmp.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 0 deletions(-) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 1dff211..84da6b1 100644 ---
2011 Nov 21
7
BLKTAP
I noticed recently that there is no real easy way to get the kernel driver for blktap working in mainline. I''ve pulled down the source from Daniel Stodden''s linux git tree on xensource, but it looks like it''s for debian and I''m running Fedora 14, so I''m trying to sort it out. I run the 3.1.x kernel and don''t want to go back to the 2.6.32 that
2012 Jul 27
9
[PATCH 0/3] libxl cd-insert/eject with qemu-xen
This patch series provides the facility to eject and insert a cdrom when the used device-model is qemu-xen. The only difference between both device-model is a call to a QMP command as `xl cd-insert ...` will still update xenstore, even if it''s not used by QEMU. Anthony PERARD (3): libxl_qmp, Introduce libxl__qmp_insert_cdrom. libxl_dm: Set an id to cdrom drives with qemuu. libxl:
2013 Nov 19
13
[PATCH v7 1/2] libxl: usb2 and usb3 controller support for upstream qemu
...mp; + ( libxl_defbool_val(b_info->u.hvm.usb) + || b_info->u.hvm.usbdevice_list + || b_info->u.hvm.usbdevice) ){ + LOG(ERROR,"usbversion cannot be enabled with usb or" + "usbdevice parameters."); + return ERROR_INVAL; + } + if (!b_info->u.hvm.boot) { b_info->u.hvm.boot = strdup("cda"); if (!b_info->u.hvm.boot) return ERROR_NOMEM; diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c index 85a08af..1c31179 100644 --- a/tools/libxl/libxl_dm.c +...
2012 May 17
8
[PATCH] libxl: do not overwrite user supplied config when running bootloader
...if (info->u.pv.cmdline) { + if (state->pv_cmdline) { vments[i++] = "image/cmdline"; - vments[i++] = (char*) info->u.pv.cmdline; + vments[i++] = (char *) state->pv_cmdline; } + break; default: ret = ERROR_INVAL; @@ -346,16 +348,16 @@ static int domain_restore(libxl__gc *gc, vments[i++] = "image/ostype"; vments[i++] = "linux"; vments[i++] = "image/kernel"; - vments[i++] = (char*) info->u.pv.kernel.path; + vments[i++] = (char *) sta...
2012 Apr 20
26
xl doesn't honour the parameter cpu_weight from my config file while xm does honour it
Hi, I''ve installed xen-unstable 4.2 from actual git (last commit was 4dc7dbef5400f0608321d579aebb57f933e8f707). When I start a domU with xm all is fine include the cpu_weight I configured in my domU config. When I start the domU with xl then all my domU have the default cpu_weight of 256 instead of the configured one. Was the name of cpu_weight being changed for xl command ? My domU
2012 Apr 20
26
xl doesn't honour the parameter cpu_weight from my config file while xm does honour it
Hi, I''ve installed xen-unstable 4.2 from actual git (last commit was 4dc7dbef5400f0608321d579aebb57f933e8f707). When I start a domU with xm all is fine include the cpu_weight I configured in my domU config. When I start the domU with xl then all my domU have the default cpu_weight of 256 instead of the configured one. Was the name of cpu_weight being changed for xl command ? My domU