Displaying 3 results from an estimated 3 matches for "libxl_vga_interface_type_qxl".
2014 Jun 10
0
Re: [PATCH v16] libxl: Add qxl vga interface support for upstream qemu
...gt; +++ b/tools/libxl/libxl_create.c
> @@ -230,6 +230,10 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
> 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)
>...
2012 May 30
1
[PATCH QXL 2/2] libxl: Add qxl vga interface support.
...break;
}
@@ -426,6 +428,17 @@ static char ** libxl__build_device_model
switch (b_info->u.hvm.vga.type) {
case LIBXL_VGA_INTERFACE_TYPE_STD:
flexarray_vappend(dm_args, "-vga", "std", NULL);
+ break;
+ case LIBXL_VGA_INTERFACE_TYPE_QXL:
+ flexarray_vappend(dm_args, "-vga", "qxl", NULL);
+ flexarray_vappend(dm_args, "-global",
+ libxl__sprintf(gc, "qxl-vga.vram_size=%lu",
+ b_info->u.hvm.vga.vramkb * 1024),
+...
2013 Jul 05
3
[PATCH] libxl: Add qxl vga interface support for upstream qemu
...822 100644
--- a/tools/libxl/libxl_create.c
+++ b/tools/libxl/libxl_create.c
@@ -213,6 +213,22 @@ int libxl__domain_build_info_setdefault(libxl__gc *gc,
if (b_info->shadow_memkb == LIBXL_MEMKB_DEFAULT)
b_info->shadow_memkb = 0;
+ if (b_info->u.hvm.vga.kind == LIBXL_VGA_INTERFACE_TYPE_QXL) {
+ if (b_info->device_model_version ==
+ LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN) {
+ if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) {
+ b_info->video_memkb = (128 * 1024);
+ } else if (b_info->video_memkb < (12...