search for: libxl_qmp

Displaying 20 results from an estimated 27 matches for "libxl_qmp".

2012 Jan 19
3
[PATCH] libxl_qmp: Handle unexpected end-of-socket
When read() return 0, the current code just tries again. But this leads to an infinite loop if QEMU died too soon. Also, retry select if a signal was caught. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libxl/libxl_qmp.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index 1777e44..d3b1d53 100644 --- a/tools/libxl/libxl_qmp.c +++ b/tools/libxl/libxl_qmp.c @@ -385,18 +385,22 @@ static int qmp_next(libxl__gc *gc, libxl__qmp_handler *qm...
2013 Nov 15
1
[PATCH v2 OPW] libxl: change most remaining LIBXL_LOG to LOG in libxl_qmp.c
...dle_response() and in turn to qmp_handle_error_response(). Suggested-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Kelley Nielsen <kelleynnn@gmail.com> Reviewed-by: Anthony PERARD <anthony.perard@citrix.com> --- Changes since v1: removed <TAB>s tools/libxl/libxl_qmp.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/tools/libxl/libxl_qmp.c b/tools/libxl/libxl_qmp.c index db40126..a671f12 100644 --- a/tools/libxl/libxl_qmp.c +++ b/tools/libxl/libxl_qmp.c @@ -260,7 +260,7 @@ static callback_id_pair *qmp_get_callback_fr...
2011 Nov 04
2
[PATCH V3 REBASE 1/2] libxl_qmp: Introduce libxl__qmp_pci_del
To remove a pci passthough device from QEMU (upstream). Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libxl/libxl_internal.h | 2 ++ tools/libxl/libxl_qmp.c | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 0 deletions(-) diff --git a/tools/libxl/libxl_internal.h b/tools/libxl/libxl_internal.h index 1dff211..84da6b1 100644 --- a/tools/libxl/libxl_internal.h +++ b/tools/libxl/libxl_internal.h @@ -526,6 +526,8 @@ _hid...
2015 Feb 01
4
Bug#776742: xen-utils-common: no support for VGA Passthrough
Package: xen-utils-common Version: 4.4.1-6 Severity: normal Dear Maintainer, (There appear to be several reports on the BTS with concerns relating to this report. Some unarchiving/merging may be necessary. Reassignment may be needed as well since I'm not sure which package this problem would fall under. Ultimately decided to file with xen-utils-common with 'xl' being the frontend
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_qm...
2013 Sep 09
1
[PATCH V3] xl: HVM domain S3 bugfix
...S3 bug: This patch is the xl patch. It invokes QMP system_wakeup so that qemu logic for hvm s3 could be triggerred. Signed-off-by: Liu Jinsong <jinsong.liu@intel.com> --- tools/libxl/libxl.c | 31 +++++++++++++++++++++++++++++-- tools/libxl/libxl_internal.h | 2 ++ tools/libxl/libxl_qmp.c | 5 +++++ 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c index 81785df..267bc25 100644 --- a/tools/libxl/libxl.c +++ b/tools/libxl/libxl.c @@ -4641,10 +4641,37 @@ int libxl_domain_sched_params_get(libxl_ctx *ctx, uint32_t domid,...
2012 Jul 27
9
[PATCH 0/3] libxl cd-insert/eject with qemu-xen
This patch series provides the facility to eject and insert a cdrom when the used device-model is qemu-xen. The only difference between both device-model is a call to a QMP command as `xl cd-insert ...` will still update xenstore, even if it''s not used by QEMU. Anthony PERARD (3): libxl_qmp, Introduce libxl__qmp_insert_cdrom. libxl_dm: Set an id to cdrom drives with qemuu. libxl: Fix cd-insert with qemu-xen. tools/libxl/libxl.c | 12 ++++++------ tools/libxl/libxl_dm.c | 7 ++++--- tools/libxl/libxl_internal.h | 1 + tools/libxl/libxl_qmp.c | 35 +++...
2012 Nov 09
1
OVMF Bios Option
...in/0/device-model/10/state libxl: debug: libxl_event.c:549:libxl__ev_xswatch_deregister: watch w=0x9cdd78 wpath=/local/domain/0/device-model/10/state token=3/1: deregister slotnum=3 libxl: debug: libxl_event.c:561:libxl__ev_xswatch_deregister: watch w=0x9cdd78: deregister unregistered libxl: debug: libxl_qmp.c:646:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-10 libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: qmp libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{"execute":"qmp_capabilities","id":1}'' libxl: d...
2012 Feb 08
7
[PATCH] libxl: Set VNC password through QMP
...e password is still stored in xenstore but will not be used by QEMU upstream. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> --- tools/libxl/libxl_create.c | 3 +++ tools/libxl/libxl_dm.c | 21 ++++++++++++--------- tools/libxl/libxl_internal.h | 1 + tools/libxl/libxl_qmp.c | 37 +++++++++++++++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 9 deletions(-) diff --git a/tools/libxl/libxl_create.c b/tools/libxl/libxl_create.c index ebf2ed7..ae0d668 100644 --- a/tools/libxl/libxl_create.c +++ b/tools/libxl/libxl_create.c @@ -619,6 +619,9 @@ static int...
2013 Oct 22
0
Re: [PATCH V3] xl: HVM domain S3 bugfix
...2d772b983810a7d2c0be00e9be70e 11addd0ab9371af2b6ec028c7fe4e4c4992252fc So would you please check this xl patch in Xen? Thanks, Jinsong >> --- >> tools/libxl/libxl.c | 31 +++++++++++++++++++++++++++++-- >> tools/libxl/libxl_internal.h | 2 ++ >> tools/libxl/libxl_qmp.c | 5 +++++ >> 3 files changed, 36 insertions(+), 2 deletions(-) >> >> diff --git a/tools/libxl/libxl.c b/tools/libxl/libxl.c >> index 81785df..267bc25 100644 >> --- a/tools/libxl/libxl.c >> +++ b/tools/libxl/libxl.c >> @@ -4641,10 +4641,37 @@ int...
2012 Jun 08
3
cannot boot guest VM
...create_device_model: -nographic libxl: debug: libxl_dm.c:998:libxl__create_device_model: -M libxl: debug: libxl_dm.c:998:libxl__create_device_model: xenpv libxl: debug: libxl_dm.c:998:libxl__create_device_model: -m libxl: debug: libxl_dm.c:998:libxl__create_device_model: 257 libxl: debug: libxl_qmp.c:692:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-24 libxl: debug: libxl_qmp.c:298:qmp_handle_response: message type: qmp libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{"execute":"qmp_capabilities","id":1}'' libxl: d...
2013 Oct 08
10
xl console regression on xen-unstable
I''m unable to start xl console on latest xen-unstable (build with commit 8e0da8c07f4f80e14314977a11f738bd74a5b62b). > xl -vvv console sid > xenconsole: Could not read tty from store: No such file or directory I also tried "xl create -c", and it shows console from pygrub but when the "xl create" reaches the end I got the same error: > xenconsole: Could not
2013 Sep 24
7
Qxl problem with xen domU, is xen spice and/or qemu bugs?
...0/device-model/6/state libxl: debug: libxl_event.c:596:libxl__ev_xswatch_deregister: watch w=0x193bbd0 wpath=/local/domain/0/device-model/6/state token=3/0: deregister slotnum=3 libxl: debug: libxl_event.c:608:libxl__ev_xswatch_deregister: watch w=0x193bbd0: deregister unregistered libxl: debug: libxl_qmp.c:707:libxl__qmp_initialize: connected to /var/run/xen/qmp-libxl-6 libxl: debug: libxl_qmp.c:299:qmp_handle_response: message type: qmp libxl: debug: libxl_qmp.c:555:qmp_send_prepare: next qmp command: ''{ "execute": "qmp_capabilities", "id": 1 } ...
2012 Jan 15
2
[PATCH v3] libxl: add support for yajl 2.x
...llocFuncs, ctx); +} + +static inline yajl_gen libxl__yajl_gen_alloc(const yajl_alloc_funcs *allocFuncs) +{ + yajl_gen_config conf = { 1, " " }; + return yajl_gen_alloc(&conf, allocFuncs); +} +#endif + #endif /* LIBXL_JSON_H */ diff -r cd47dde439e6 -r a1986ef30b7d tools/libxl/libxl_qmp.c --- a/tools/libxl/libxl_qmp.c Sat Jan 14 19:04:48 2012 +0100 +++ b/tools/libxl/libxl_qmp.c Sun Jan 15 06:56:00 2012 +0100 @@ -453,15 +453,15 @@ static char *qmp_send_prepare(libxl__gc qmp_callback_t callback, void *opaque, qmp_request...
2023 Jul 20
1
Bug#1041533: xen-system-amd64: Xen fails to start hvm type VMs when a vncpasswd is set
Package: xen-system-amd64 Version: 4.17.1+2-gb773c48e36-1 Severity: important Dear Maintainer, after upgrading my bullseye server to bookworm I ran into the issue that all VMs of type hvm are not starting anymore. xl throws an error: libxl: error: libxl_qmp.c:1399:qmp_ev_fd_callback: Domain 8:error on QMP socket: Connection reset by peer libxl: error: libxl_qmp.c:1438:qmp_ev_fd_callback: Domain 8:Error happened with the QMP connection to QEMU libxl: error: libxl_dm.c:3371:device_model_postconfig_done: Domain 8:Post DM startup configs failed, rc=-26 li...
2012 Feb 22
10
xen-unstable: Qemu upstream domUs not start on Wheezy
...GEMENT: Loader: 0000000000100000->000000000019dc88 TOTAL: 0000000000000000->000000003f800000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000001fb 1GB PAGES: 0x0000000000000000 libxl: error: libxl_qmp.c:638:libxl__qmp_initialize: Connection error: No such file or directory libxl: error: libxl_exec.c:200:libxl__wait_for_offspring: Device Model died during startup libxl: error: libxl_create.c:602:do_domain_create: device model did not start: -1 The same with change only device_model_version to qe...
2012 Nov 14
1
libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) when creating VM using upstream qemu on Xen 4.2.
...00000003c000000 ENTRY ADDRESS: 0000000000100000 xc: info: PHYSICAL MEMORY ALLOCATION: 4KB PAGES: 0x0000000000000200 2MB PAGES: 0x00000000000001df 1GB PAGES: 0x0000000000000000 libxl: error: libxl_dm.c:1212:device_model_spawn_outcome: domain 1 device model: spawn failed (rc=-3) libxl: error: libxl_qmp.c:641:libxl__qmp_initialize: Connection error: No such file or directory Daemon running with PID 3912 ========================================================================================= My Windows2003.cfg file is above. builder = "hvm" name = "Windows2003" memory = 1024...
2013 Apr 18
9
[PATCH v5 1/2] libxl: Introduce functions to add and remove USB devices to an HVM guest
...an Jackson <ian.jackson@citrix.com> CC: Roger Pau Monne <roger.pau@citrix.com> CC: sstanisi@cbnco.com --- tools/libxl/Makefile | 2 +- tools/libxl/libxl.h | 37 +++ tools/libxl/libxl_create.c | 11 +- tools/libxl/libxl_internal.h | 18 ++ tools/libxl/libxl_qmp.c | 66 +++++ tools/libxl/libxl_types.idl | 22 ++ tools/libxl/libxl_usb.c | 522 ++++++++++++++++++++++++++++++++++++++++ tools/ocaml/libs/xl/genwrap.py | 1 + 8 files changed, 677 insertions(+), 2 deletions(-) create mode 100644 tools/libxl/libxl_usb.c diff --git a/tool...
2012 Jul 18
48
LSI SAS2008 Option Rom Failure
Hi- I am trying to pass an LSI SAS2008-based HBA (IBM M1015) through to an HVM Solaris VM, using Xen 4.2 unstable and the qemu-traditional device model. On boot I see the following error: MPT BIOS Fault 09h encountered at adapter PCI(00h,05h,00h) A list search yielded (http://comments.gmane.org/gmane.comp.emulators.xen.devel/128172), however there was no solution for an HVM VM. I''ve
2013 Sep 17
10
RESEND [Xen-unstable][Qemu-xen] HVM Guest reading of Expansion ROM from passthroughed PCI device returns data from emulated VGA rom
*RESEND* due to exceeding the mailinglists limit for attachment size. Hi, I''m trying to get secondary vga-passthrough on a HVM guest to work with a AMD HD6570 and the native kernel radeon driver and kernel modesetting. So the guest still gets the emulated stdvga or cirrus device(used in my case here) as primary/boot vga adapter. - When i don''t passthrough the radeon card, the