Displaying 8 results from an estimated 8 matches for "flexarray_append_pair".
2012 Feb 08
7
[PATCH] libxl: Set VNC password through QMP
..., char *arg)
+{
+ libxl__qmp_handler *qmp = NULL;
+ flexarray_t *parameters = NULL;
+ libxl_key_value_list args = NULL;
+ int rc = 0;
+
+ qmp = libxl__qmp_initialize(libxl__gc_owner(gc), domid);
+ if (!qmp)
+ return ERROR_FAIL;
+
+ parameters = flexarray_make(6, 1);
+ flexarray_append_pair(parameters, "device", device);
+ flexarray_append_pair(parameters, "target", target);
+ if (arg)
+ flexarray_append_pair(parameters, "arg", arg);
+ args = libxl__xs_kvs_of_flexarray(gc, parameters, parameters->count);
+ if (!args)
+ return...
2014 Jun 10
0
Re: [PATCH v16] libxl: Add qxl vga interface support for upstream qemu
.../libxl_dm.c b/tools/libxl/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__g...
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 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...TDEV_ID,
+ (uint16_t)usbdev->u.hostdev.hostbus,
+ (uint16_t)usbdev->u.hostdev.hostaddr));
+}
+
+static void hostdev_xs_append_params(libxl__gc *gc, libxl__device_usb *usbdev,
+ flexarray_t *a)
+{
+ flexarray_append_pair(a, "hostbus",
+ GCSPRINTF("%d",
+ usbdev->u.hostdev.hostbus));
+ flexarray_append_pair(a, "hostaddr",
+ GCSPRINTF("%d",
+ usbdev->...
2011 Nov 04
2
[PATCH V3 REBASE 1/2] libxl_qmp: Introduce libxl__qmp_pci_del
...d, char *id)
+{
+ libxl__qmp_handler *qmp = NULL;
+ flexarray_t *parameters = NULL;
+ libxl_key_value_list args = NULL;
+ int rc = 0;
+
+ qmp = libxl__qmp_initialize(libxl__gc_owner(gc), domid);
+ if (!qmp)
+ return ERROR_FAIL;
+
+ parameters = flexarray_make(2, 1);
+ flexarray_append_pair(parameters, "id", id);
+ args = libxl__xs_kvs_of_flexarray(gc, parameters, parameters->count);
+ if (!args)
+ return ERROR_NOMEM;
+
+ rc = qmp_synchronous_send(qmp, "device_del", &args,
+ NULL, NULL, qmp->timeout);
+
+ fl...
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 Nov 19
13
[PATCH v7 1/2] libxl: usb2 and usb3 controller support for upstream qemu
...e 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");
+ for (i = 1; i < 4; i++)
+ flexarray_append_pair(dm_args, "-device",
+ GCSPRINTF("ich9-usb-uhci%d,masterb...
2013 Apr 26
7
BUG 4.2.2: xl cd-insert corrupts xenstore state
$ git checkout RELEASE-4.2.2
$ git clean -ffdx
[do a build, install, reboot]
$ xl create a0
$ xl cd-eject a0 hdc
[However, the guest OS still sees the CD inserted]
$ xl block-list a0
Segmentation fault
$ xl cd-insert a0 hdc file:/images/xs-tools-6.0.0.iso
Segmentation fault
The problem seems to be that xl cd-eject is writing corrupt values to
xenstore. Note that vbd/1/5632 is still there