search for: libxl_defbool_v

Displaying 13 results from an estimated 13 matches for "libxl_defbool_v".

Did you mean: libxl_defbool
2012 Apr 13
2
[PATCH] libxl: fix rtc_timeoffset setting
...e63c7bd..e706124 100644 --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -127,15 +127,6 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc, b_info->target_memkb = b_info->max_memkb; libxl_defbool_setdefault(&b_info->localtime, false); - if (libxl_defbool_val(b_info->localtime)) { - time_t t; - struct tm *tm; - - t = time(NULL); - tm = localtime(&t); - - b_info->rtc_timeoffset += tm->tm_gmtoff; - } libxl_defbool_setdefault(&b_info->disable_migrate, false); diff --git a/tools/libxl/libx...
2012 May 30
1
[PATCH QXL 2/2] libxl: Add qxl vga interface support.
...uint32_t ram_sizekb) +{ + uint32_t vram = msb_mask(2 * vram_sizekb * 1024 - 1); + uint32_t ram = msb_mask(2 * ram_sizekb * 1024 - 1); + + return (vram + ram + 1023) / 1024; } static void parse_config_data(const char *config_source, @@ -1262,6 +1285,27 @@ skip_vfb: if (libxl_defbool_val(vga)) b_info->u.hvm.vga.type = LIBXL_VGA_INTERFACE_TYPE_STD; + if (!xlu_cfg_get_defbool(config, "qxl", &vga, 0)) { + if (libxl_defbool_val(vga)) { + b_info->u.hvm.vga.type = LIBXL_VGA_INTERFACE_TYPE_QXL; + if (!...
2012 Mar 25
1
[PATCH v3] libxl: support for "rtc_timeoffset" and "localtime"
...+++ b/tools/libxl/libxl_create.c @@ -124,6 +124,17 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc, if (b_info->target_memkb == LIBXL_MEMKB_DEFAULT) b_info->target_memkb = b_info->max_memkb; + libxl_defbool_setdefault(&b_info->localtime, false); + if (libxl_defbool_val(b_info->localtime)) { + time_t t; + struct tm *tm; + + t = time(NULL); + tm = localtime(&t); + + b_info->rtc_timeoffset += tm->tm_gmtoff; + } + libxl_defbool_setdefault(&b_info->disable_migrate, false); switch (b_info->type)...
2013 Aug 27
3
[PATCH v4] libxl: Spice vdagent support for upstream qemu
...035b6d..fb6fbf4 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -472,6 +472,12 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc, flexarray_append(dm_args, "-spice"); flexarray_append(dm_args, spiceoptions); + if (libxl_defbool_val(b_info->u.hvm.spice.vdagent)) { + flexarray_vappend(dm_args, "-device", "virtio-serial", + "-chardev", "spicevmc,id=vdagent,name=vdagent", "-device", + "virtserialport,chardev=vdagent,na...
2013 Sep 18
1
[PATCH] Allow 4 MB of video RAM for Cirrus graphics on traditional QEMU
...default(libxl__gc *gc, if (!b_info->u.hvm.boot) return ERROR_NOMEM; } - if (!b_info->u.hvm.vga.kind) - b_info->u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_CIRRUS; libxl_defbool_setdefault(&b_info->u.hvm.vnc.enable, true); if (libxl_defbool_val(b_info->u.hvm.vnc.enable)) { libxl_defbool_setdefault(&b_info->u.hvm.vnc.findunused, true); -- 1.7.10.4
2012 Jul 26
3
[PATCH v8] Some automatic NUMA placement documentation
About rationale, usage and (some small bits of) API. Signed-off-by: Dario Faggioli <dario.faggioli@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> --- Changes from v7: * avoid referring to 4.2 release as "upcoming". * libxl placement disabling key explicitly mentioned. * Limit of max 16 NUMA nodes explicitly mentioned. Changes from v6: * text updated to
2013 Jun 13
0
[PATCH] Properly control platform device creation in upstream QEMU
....ce4ad99 100644 --- a/tools/libxl/libxl_dm.c +++ b/tools/libxl/libxl_dm.c @@ -383,6 +383,12 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc, flexarray_append(dm_args, "-xen-attach"); } + if (b_info->type == LIBXL_DOMAIN_TYPE_HVM && + libxl_defbool_val(b_info->u.hvm.xen_platform_pci)) { + flexarray_append(dm_args, "-device"); + flexarray_append(dm_args, "xen-platform"); + } + if (c_info->name) { flexarray_vappend(dm_args, "-name", c_info->name, NULL); } -- 1.7.10.4
2013 Oct 08
0
[PATCH v3] libxl: spice usbredirection support for upstream qemu
...m.usbversion && + if (!b_info->u.hvm.usbversion && + (b_info->u.hvm.spice.usbredirection >= 0) ) + b_info->u.hvm.usbversion = 2; + + if ((b_info->u.hvm.usbversion || b_info->u.hvm.spice.usbredirection) && ( 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."); + LOG(ERROR,"usbversion and/or usbredir...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh Rathor at Oracle. The entirety of the design and development was done by him; I have only reworked, reorganized, and simplified things in a way that I think makes more sense. The vast majority of the credit for this effort therefore goes to him. This version is labelled v13 because it is based on his most recent series, v11.
2013 Jul 23
73
Bug: Limitation of <=2GB RAM in domU persists with 4.3.0
I just built 4.3.0 in order to get > 2GB of RAM in domU with GPU passthrough without crashes. Unfortunately, the same crashes still happen. Massive frame buffer corruption on domU before it locks up solid. It seems the PCI memory stomp is still happening. I am using qemu-dm, as I did on Xen 4.2.x. So whatever fix for this went into 4.3.0 didn''t fix it for me. Passing less than 2GB
2013 Nov 19
13
[PATCH v7 1/2] libxl: usb2 and usb3 controller support for upstream qemu
...0,15 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc, libxl_defbool_setdefault(&b_info->u.hvm.usb, false); libxl_defbool_setdefault(&b_info->u.hvm.xen_platform_pci, true); + if (b_info->u.hvm.usbversion && + ( 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; + } +...
2013 Dec 01
70
[PATCH 00/13] Coverity fixes for libxl
Matthew Daley (13): libxl: fix unsigned less-than-0 comparison in e820_sanitize libxl: check for xc_domain_setmaxmem failure in libxl__build_pre libxl: correct file open success check in libxl__device_pci_reset libxl: don''t leak p in libxl__wait_for_backend libxl: remove unsigned less-than-0 comparison libxl: actually abort if initializing a ctx''s lock fails libxl:
2013 Nov 27
20
[PATCH v2] Handle xen_platform_pci=0 case
Hi, Here is a little patch that attempt to fix the issue regarding xen_platform_pci=0 not been handled. There is one patch left from the previous version. The patch that was adding qemu_machine_override have been removed as it is unnecessary. If someone wants to change the -machine, it can always add it to device_model_args_hvm, as QEMU appear to use the last one. Regards, Anthony PERARD (1):