Displaying 20 results from an estimated 22 matches for "dm_arg".
Did you mean:
dm_args
2011 May 25
7
[PATCH] libxl: use preferred syntax for network device creation with upstream qemu
...ols/libxl/libxl_dm.c Tue May 24 16:28:07 2011 +0100
+++ b/tools/libxl/libxl_dm.c Wed May 25 09:20:31 2011 +0100
@@ -336,11 +336,11 @@ static char ** libxl__build_device_model
} else {
ifname = vifs[i].ifname;
}
- flexarray_append(dm_args, "-net");
- flexarray_append(dm_args, libxl__sprintf(gc, "nic,vlan=%d,macaddr=%s,model=%s",
- vifs[i].devid, smac, vifs[i].model));
- flexarray_append(dm_args, "-net");
- flexarray_append(dm_args,...
2013 Feb 05
4
[PATCH] tools/libxl: Disable useless empty floppy drive with qemu-xen
...tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -406,6 +406,9 @@ static char **
libxl__build_device_model_args_new(libxl__gc *gc,
if (b_info->type == LIBXL_DOMAIN_TYPE_HVM) {
int ioemu_nics = 0;
+ /* Disable useless empty floppy drive */
+ flexarray_vappend(dm_args, "-global", "isa-fdc.driveA=", NULL);
+
if (b_info->u.hvm.serial) {
flexarray_vappend(dm_args, "-serial",
b_info->u.hvm.serial, NULL);
}
--
1.7.9.5
2012 Feb 08
7
[PATCH] libxl: Set VNC password through QMP
...int display = 0;
const char *listen = "127.0.0.1";
+ char *vncarg = NULL;
- if (info->vncpasswd && info->vncpasswd[0]) {
- assert(!"missing code for supplying vnc password to qemu");
- }
flexarray_append(dm_args, "-vnc");
if (info->vncdisplay) {
@@ -287,13 +285,16 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
}
if (strchr(listen, '':'') != NULL)
- flexarray_append(dm_args,
- libxl__sprintf(gc, &...
2012 May 30
1
[PATCH QXL 2/2] libxl: Add qxl vga interface support.
...-by: Zhou Peng <ailvpeng25@gmail.com>
diff -r c6641e3fe158 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c Mon May 28 16:25:59 2012 +0800
+++ b/tools/libxl/libxl_dm.c Wed May 30 17:48:38 2012 +0800
@@ -181,6 +181,8 @@ static char ** libxl__build_device_model
flexarray_append(dm_args, "-std-vga");
break;
case LIBXL_VGA_INTERFACE_TYPE_DEFAULT:
+ break;
+ default:
break;
}
@@ -426,6 +428,17 @@ static char ** libxl__build_device_model
switch (b_info->u.hvm.vga.type) {
case LIBXL_VGA_INTE...
2011 Sep 07
0
[PATCH] libxl: vcpu_avail is a bitmask, use it as such
...-r 6580ff415189 tools/libxl/libxl_dm.c
--- a/tools/libxl/libxl_dm.c Wed Sep 07 13:29:15 2011 +0000
+++ b/tools/libxl/libxl_dm.c Wed Sep 07 15:39:46 2011 +0000
@@ -360,8 +360,13 @@ static char ** libxl__build_device_model
}
if (info->vcpus > 1) {
flexarray_append(dm_args, "-smp");
+ /* vcpu_avail is actually a bit mask, the new qemu doesn''t
+ * support a bitmask of available cpus but it supports a
+ * number of available cpus lower than the maximum number of
+ * cpus. Let''s do that for now....
2013 Jun 13
0
[PATCH] Properly control platform device creation in upstream QEMU
...++++
1 file changed, 6 insertions(+)
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index ac1f90e..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...
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
...libxl_device_model_info *info,
libxl_device_nic *vifs,
int num_vifs)
@@ -974,13 +1044,14 @@ static char ** libxl_build_device_model_
int num = 0, i;
flexarray_t *dm_args;
dm_args = flexarray_make(16, 1);
+
if (!dm_args)
return NULL;
flexarray_set(dm_args, num++, "qemu-dm");
flexarray_set(dm_args, num++, "-d");
- flexarray_set(dm_args, num++, libxl_sprintf(ctx, "%d", info->domid));
+ flexarray_...
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):
2012 Feb 09
7
[PATCH V2 0/3] Set VNC password to QEMU upstream
Anthony PERARD (3):
libxl_qmp: Use GC instead of CTX as parameter for _initialize.
Provide dm_vnc() as a in libxl helper.
libxl: Set VNC password through QMP
tools/libxl/libxl_create.c | 2 +-
tools/libxl/libxl_dm.c | 32 ++++++++++++++----------
tools/libxl/libxl_internal.h | 7 ++++-
tools/libxl/libxl_qmp.c | 55 ++++++++++++++++++++++++++++++-----------
4 files
2013 Dec 16
8
XEN/arm XENFB support
Goodmorning,
I''m currently playing with XEN/arm on my Allwinner A20 (cubieboard2)
I would like to get the XENFB driver working on domU.
But currently in xen/arm there''s no support for VFB, atleast qemu is not
supported.
But this video http://www.youtube.com/watch?v=po1IeElg8tg and this one
http://www.youtube.com/watch?v=Km6gBnIqaWo is showing a working framebuffer.
So there are
2013 Mar 18
5
[PATCH] libxl: Add spice vdagent support for upstream qemu
...1 file changed, 4 insertions(+)
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index a8a36d7..110f1dc 100644
--- a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -427,6 +427,10 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
flexarray_append(dm_args, "-spice");
flexarray_append(dm_args, spiceoptions);
+ flexarray_vappend(dm_args, "-device", "virtio-serial", "-chardev",
+ "spicevmc,id=vdagent,name=vdagent", "-device",
+ "virts...
2013 Feb 06
1
[PATCH RESEND] tools/libxl: Disable useless empty floppy drive with qemu-xen
...a/tools/libxl/libxl_dm.c
+++ b/tools/libxl/libxl_dm.c
@@ -406,6 +406,9 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,
if (b_info->type == LIBXL_DOMAIN_TYPE_HVM) {
int ioemu_nics = 0;
+ /* Disable useless empty floppy drive */
+ flexarray_vappend(dm_args, "-global", "isa-fdc.driveA=", NULL);
+
if (b_info->u.hvm.serial) {
flexarray_vappend(dm_args, "-serial", b_info->u.hvm.serial, NULL);
}
--
1.7.9.5
2013 Jan 17
4
[PATCH v4] tools/libxl: Improve videoram setting
2013 Sep 20
0
[PATCH v2] libxl: spice usbredirection support for upstream qemu
...return NULL;
}
+
+ if (b_info->u.hvm.spice.usbredirection >= 0 &&
+ b_info->u.hvm.spice.usbredirection < 5) {
+ for (i = 1; i <= b_info->u.hvm.spice.usbredirection; i++)
+ flexarray_vappend(dm_args, "-chardev", libxl__sprintf(gc,
+ "spicevmc,name=usbredir,id=usbrc%d", i), "-device",
+ libxl__sprintf(gc, "usb-redir,chardev=usbrc%d,"
+ "id=usbrc%d", i, i), NULL);
+...
2013 Oct 08
0
[PATCH v3] libxl: spice usbredirection support for upstream qemu
...return NULL;
}
+ if (b_info->u.hvm.spice.usbredirection >= 0 &&
+ b_info->u.hvm.spice.usbredirection < 5) {
+ for (i = 1; i <= b_info->u.hvm.spice.usbredirection; i++)
+ flexarray_vappend(dm_args, "-chardev", libxl__sprintf(gc,
+ "spicevmc,name=usbredir,id=usbrc%d", i), "-device",
+ libxl__sprintf(gc, "usb-redir,chardev=usbrc%d,"
+ "id=usbrc%d", i, i), NULL);
+...
2013 Nov 19
13
[PATCH v7 1/2] libxl: usb2 and usb3 controller support for upstream qemu
...har ** libxl__build_device_model_args_new(libxl__gc *gc,
*p, NULL);
}
}
+ } else if (b_info->u.hvm.usbversion) {
+ switch (b_info->u.hvm.usbversion) {
+ case 1:
+ flexarray_vappend(dm_args,
+ "-device", "piix3-usb-uhci,id=usb", NULL);
+ break;
+ case 2:
+ flexarray_append_pair(dm_args, "-device",
+ "ich9-usb-ehci1,id=usb,addr=0x1d.0x7,multifunction=on");
+...
2013 Aug 27
3
[PATCH v4] libxl: Spice vdagent support for upstream qemu
...nfo->u.hvm.nographic, false);
diff --git a/tools/libxl/libxl_dm.c b/tools/libxl/libxl_dm.c
index 4035b6d..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...
2014 Jun 10
0
Re: [PATCH v16] libxl: Add qxl vga interface support for upstream qemu
...bxl/libxl_dm.c
> index 51ab2bf..d2530ab 100644
> --- a/tools/libxl/libxl_dm.c
> +++ b/tools/libxl/libxl_dm.c
> @@ -220,6 +220,8 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc,
> case LIBXL_VGA_INTERFACE_TYPE_NONE:
> flexarray_append_pair(dm_args, "-vga", "none");
> break;
> + case LIBXL_VGA_INTERFACE_TYPE_QXL:
> + break;
> }
>
> if (b_info->u.hvm.boot) {
> @@ -516,6 +518,12 @@ static char ** libxl__build_device_model_args_new(libxl__gc *gc,...
2013 Jul 05
3
[PATCH] libxl: Add qxl vga interface support for upstream qemu
...c char ** libxl__build_device_model_args_new(libxl__gc *gc,
libxl__sizekb_to_mb(b_info->video_memkb)), NULL);
}
break;
+ case LIBXL_VGA_INTERFACE_TYPE_QXL:
+ /* QXL have 2 ram regions, ram and vram */
+ flexarray_vappend(dm_args, "-vga", "qxl", NULL);
+ if (b_info->video_memkb) {
+ flexarray_vappend(dm_args, "-global",
+ GCSPRINTF("qxl-vga.vram_size_mb=%lu",
+ (b_info->video_memkb/2/1024)), "-global",
+...
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