search for: video_memkb

Displaying 20 results from an estimated 20 matches for "video_memkb".

2013 Sep 18
1
[PATCH] Allow 4 MB of video RAM for Cirrus graphics on traditional QEMU
...gt;u.hvm.vga.kind = LIBXL_VGA_INTERFACE_TYPE_CIRRUS; + + switch (b_info->device_model_version) { + case LIBXL_DEVICE_MODEL_VERSION_QEMU_XEN_TRADITIONAL: + switch (b_info->u.hvm.vga.kind) { + case LIBXL_VGA_INTERFACE_TYPE_STD: + if (b_info->video_memkb == LIBXL_MEMKB_DEFAULT) + 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"); +...
2014 Jun 10
0
Re: [PATCH v16] libxl: Add qxl vga interface support for upstream qemu
...diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c > index 9a82684..f57611e 100644 > --- a/tools/libxl/libxl_create.c > +++ 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; > +...
2012 May 30
1
[PATCH QXL 2/2] libxl: Add qxl vga interface support.
...ramkb = l * 1024; + else + b_info->u.hvm.vga.ramkb = 64 * 1024; + + uint32_t qxl_ram = get_qxl_ram_size(b_info->u.hvm.vga.vramkb, + b_info->u.hvm.vga.ramkb); + if ((b_info->video_memkb == LIBXL_MEMKB_DEFAULT) + || (b_info->video_memkb < qxl_ram)) { + b_info->video_memkb = qxl_ram; + } + } + } + xlu_cfg_get_defbool(config, "vnc", &b_info->u.hvm.vnc.enable, 0); xlu_cfg...
2013 Jan 17
4
[PATCH v4] tools/libxl: Improve videoram setting
2013 Jul 05
3
[PATCH] libxl: Add qxl vga interface support for upstream qemu
...o->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 < (128 * 1024)) { + LOG(ERROR, + "128 Mib videoram is the minimum for qxl default"); + r...
2011 Jan 11
0
[PATCH, v2]: xl: move domain struct init functions to libxl
...#39;', sizeof(*b_info)); + b_info->max_vcpus = 1; + b_info->max_memkb = 32 * 1024; + b_info->target_memkb = b_info->max_memkb; + b_info->disable_migrate = 0; + b_info->cpuid = NULL; + b_info->shadow_memkb = 0; + if (c_info->hvm) { + b_info->video_memkb = 8 * 1024; + b_info->kernel.path = strdup("hvmloader"); + b_info->hvm = 1; + b_info->u.hvm.pae = 1; + b_info->u.hvm.apic = 1; + b_info->u.hvm.acpi = 1; + b_info->u.hvm.nx = 1; + b_info->u.hvm.viridian = 0; + b_i...
2012 Mar 25
1
[PATCH v3] libxl: support for "rtc_timeoffset" and "localtime"
...t a/tools/libxl/libxl_types.idl b/tools/libxl/libxl_types.idl index 413a1a6..09089b2 100644 --- a/tools/libxl/libxl_types.idl +++ b/tools/libxl/libxl_types.idl @@ -238,6 +238,8 @@ libxl_domain_build_info = Struct("domain_build_info",[ ("target_memkb", MemKB), ("video_memkb", MemKB), ("shadow_memkb", MemKB), + ("rtc_timeoffset", uint32), + ("localtime", libxl_defbool), ("disable_migrate", libxl_defbool), ("cpuid", libxl_cpuid_policy_list), diff --git a/tools/libxl...
2011 Nov 10
3
[PATCH] libxl: use named options for tsc_mode
...info",[ ("max_vcpus", integer), ("cur_vcpus", integer), - ("tsc_mode", integer), + ("tsc_mode", libxl_tsc_mode), ("max_memkb", uint32), ("target_memkb", uint32), ("video_memkb", uint32), diff -r 460b507e15f8 -r bc79b560aafa tools/libxl/xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Thu Nov 10 10:18:29 2011 +0000 +++ b/tools/libxl/xl_cmdimpl.c Thu Nov 10 10:54:39 2011 +0000 @@ -328,7 +328,7 @@ static void printf_info(int domid, printf("\t(build_info)\n&q...
2010 Sep 10
0
[PATCH] xl: remove another string literal from config struct
.../xl_cmdimpl.c --- a/tools/libxl/xl_cmdimpl.c Fri Sep 10 13:56:10 2010 +0100 +++ b/tools/libxl/xl_cmdimpl.c Fri Sep 10 14:54:10 2010 +0100 @@ -274,7 +274,7 @@ static void init_build_info(libxl_domain if (c_info->hvm) { b_info->shadow_memkb = 0; /* Set later */ b_info->video_memkb = 8 * 1024; - b_info->kernel.path = "hvmloader"; + b_info->kernel.path = strdup("hvmloader"); b_info->hvm = 1; b_info->u.hvm.pae = 1; b_info->u.hvm.apic = 1; _______________________________________________ Xen-devel mailin...
2018 Sep 14
0
virsh doesn't support vtpm using XEN?
..."max_vcpus": 4, "avail_vcpus": [ 0, 1, 2, 3 ], "max_memkb": 4194304, "target_memkb": 4194304, "video_memkb": 8192, "shadow_memkb": 36864, "localtime": "False", "sched_params": { }, "claim_mode": "True", "acpi": "True",...
2012 Nov 20
0
[PATCH 15 of 15] libxl: ocaml: add bindings for libxl_domain_create_new
...ght.Domain_build_info.cpumap = [| |]; + Xenlight.Domain_build_info.numa_placement = None; + Xenlight.Domain_build_info.tsc_mode = Xenlight.TSC_MODE_DEFAULT; + Xenlight.Domain_build_info.max_memkb = 1024L; + Xenlight.Domain_build_info.target_memkb = 1024L; + Xenlight.Domain_build_info.video_memkb = 0L; + Xenlight.Domain_build_info.shadow_memkb = 0L; + Xenlight.Domain_build_info.rtc_timeoffset = 0L; + } in + let d_info = { + Xenlight.Domain_config.b_info = b_info; + Xenlight.Domain_config.c_info = c_info; + Xenlight.Domain_config.disks = [| |]; + Xenlight.Domain_config.ni...
2012 Feb 29
5
[PATCH] [PATCH v4] Add the bios option to specify the bios to load
...-r adcd6ab160fa -r 3c10ba854d37 tools/libxl/libxl_create.c --- a/tools/libxl/libxl_create.c Thu Feb 23 10:29:27 2012 +0000 +++ b/tools/libxl/libxl_create.c Wed Feb 29 13:00:06 2012 +0000 @@ -89,6 +89,7 @@ int libxl_init_build_info(libxl_ctx *ctx case LIBXL_DOMAIN_TYPE_HVM: b_info->video_memkb = 8 * 1024; b_info->u.hvm.firmware = NULL; + b_info->u.hvm.bios = 0; b_info->u.hvm.pae = 1; b_info->u.hvm.apic = 1; b_info->u.hvm.acpi = 1; diff -r adcd6ab160fa -r 3c10ba854d37 tools/libxl/libxl_dm.c --- a/tools/libxl/libxl_dm.c Thu Feb 23 1...
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;
2010 Jun 28
8
[PATCH] add xl ocaml bindings
...ool; + nx : bool; + viridian : bool; + timeoffset : string; +} + +type build_spec = BuildHVM of build_hvm_info | BuildPV of build_pv_info + +type build_info = +{ + timer_mode : int; + hpet : int; + vpt_align : int; + max_vcpus : int; + cur_vcpus : int; + max_memkb : int64; + target_memkb : int64; + video_memkb : int64; + shadow_memkb : int64; + kernel : string; + priv: build_spec; +} + +type build_state = +{ + store_port : int; + store_mfn : int64; + console_port : int; + console_mfn : int64; +} + +type domid = int + +type disk_phystype = + | PHYSTYPE_QCOW + | PHYSTYPE_QCOW2 + | PHYSTYPE_VHD + | PHYSTYPE...
2010 Aug 18
16
[PATCH 00 of 16] libxl: autogenerate type definitions and destructor functions
The series introduces auto-generation of the type definitions used in the libxl interface followed by auto-generation of a destructor function for each type. In the future it may be possible to use the related data structures for other purposes, for example auto-generation of the functions to marshal between C and language binding data types. tools/_libxl_types.h should be identical both before
2012 May 20
2
Remus network buffering problem
...-4342-96b5-b7f6000e4972","xsdata":{},"platformdata":{},"poolid":0},"b_info":{"max_vcpus":1,"cur_vcpus":1,"cpumap":[],"tsc_mode":"default","max_memkb":131072,"target_memkb":131072,"video_memkb":-1,"shadow_memkb":2048,"rtc_timeoffset":0,"localtime":"<default>","disable_migrate":"<default>","cpuid":[],"device_model_version":null,"device_model_stubdomain":"<default>",&q...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...); ents[2] = "memory/target"; - ents[3] = libxl_sprintf(ctx, "%d", info->target_memkb); + ents[3] = libxl_sprintf(&gc, "%d", info->target_memkb); ents[4] = "memory/videoram"; - ents[5] = libxl_sprintf(ctx, "%d", info->video_memkb); + ents[5] = libxl_sprintf(&gc, "%d", info->video_memkb); ents[6] = "domid"; - ents[7] = libxl_sprintf(ctx, "%d", domid); + ents[7] = libxl_sprintf(&gc, "%d", domid); ents[8] = "store/port"; - ents[9] = libxl_sprint...
2011 Nov 17
29
[PATCH 00 of 17] Documentation updates
The following series flushes my documentation queue and replaces previous postings of those patches. The main difference is that the xl cfg file is now formatted using POD instead of markdown and presented as a manpage. I have setup a cron job to build docs/html and publish it at http://xenbits.xen.org/docs/unstable/ (it''s a bit bare right now). The motivation for some of these patches
2013 Jun 18
33
DomU suspension/hibernation
Hey, I thought there was supposed to be an ability for domU''s to be put into a hibernated state (E.g. current running tasks and memory) when dom0 is shutdown or rebooted. When I look in my /etc/default/xendomains file, I have the variable''s "XENDOMAINS_SAVE=/var/lib/xen/save" and "XENDOMAINS_RESTORE=true". However, when I reboot, I always have to restart my
2013 Apr 04
28
[PATCH v3 0/3] libxl: memory management patches
Hi, Here are three small but important libxl/xl memory management patches: - libxl: xl mem-max et consortes must update static-max in xenstore too, - xl: Allow user to configure xl mem-set behavior, - xl: Improve xl documentation in regards to guest memory management. Daniel