search for: qmp

Displaying 20 results from an estimated 276 matches for "qmp".

Did you mean: jmp
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...
2014 Nov 07
3
Is there a way to disable libvirt qemu monitor while creating kvm vm using virsh?
Hi, Now for some reason, I need to add “ -qmp tcp:127.0.0.1:1235” when creating a KVM VM using libvirt. This command meaning in “qemu-kvm --help” is: -qmp dev like -monitor but opens in 'control' mode. I added command-line equivalent options into the xml file, like below format: <qemu:commandline> <qemu:arg...
2013 Nov 15
1
[PATCH v2 OPW] libxl: change most remaining LIBXL_LOG to LOG in libxl_qmp.c
Coding style has recently been changed for libxl. The convenience macro LOG() has been introduced, and invocations of the old macro LIBXL__LOG() are to be replaced with it. Change occurences of the old macro to the new one in the functions qmp_handle_response() and qmp_handle_error_response(). The new macros need access to a local libxl__gc *gc, so add it as a parameter to both these functions, and pass the instance in qmp_next() down the call chain to qmp_handle_response() and in turn to qmp_handle_error_response(). Suggested-by: Antho...
2020 Sep 21
1
Re: [PATCH v5 0/8] Configurable policy for handling deprecated interfaces
...lt;out-policy> configures what to do when >> deprecated output is sent. Available output policies: >> >> * accept: Emit deprecated command results and events (default) >> * hide: Suppress them >> >> For now, -compat covers only deprecated syntactic aspects of QMP. We >> may want to extend it to cover semantic aspects, CLI, and experimental >> features. > > Some bikeshedding on option naming... > > If this only covers QMP, should we make the argument to -compat > have a name that expresses that? eg deprecated-qmp-input, > depre...
2020 Mar 17
5
[PATCH v4 00/34] Configurable policy for handling deprecated interfaces
This series extends QMP introspection to cover deprecation. Additionally, new option -compat lets you configure what to do when deprecated interfaces get used. This is intended for testing users of the management interfaces. It is experimental. -compat deprecated-input=<in-policy> configures what to do when depre...
2017 Sep 12
0
[PATCH v2 3/5] lib: qemu: Run QMP ‘query-commands’, ‘query-qmp-schema’ against the qemu binary.
This adds two extra tests using QMP (the QEMU Monitor Protocol). This allows us to get extra information about the qemu binary beyond what is available from the version number or ‘qemu -help’. --- lib/qemu.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 175 insertions(+), 2 deletions(-) diff...
2014 Nov 11
2
Re: Is there a way to disable libvirt qemu monitor while creating kvm vm using virsh?
Hi Kashyap, Thanks for the reply. >> >> Now for some reason, I need to add “ -qmp tcp:127.0.0.1:1235” when >> creating a KVM VM using libvirt. > > You might need to elaborate how exactly you're doing this. I wanted to add “-qmp tcp:127.0.0.1:1235” when creating VM because I was using a multi-level debugger which needs this option to get more information of the...
2017 Sep 12
1
Re: [PATCH v2 3/5] lib: qemu: Run QMP ‘query-commands’, ‘query-qmp-schema’ against the qemu binary.
On Tuesday, 12 September 2017 14:29:14 CEST Richard W.M. Jones wrote: > This adds two extra tests using QMP (the QEMU Monitor Protocol). This > allows us to get extra information about the qemu binary beyond what > is available from the version number or ‘qemu -help’. > --- > lib/qemu.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 175 insertions(...
2011 Mar 25
0
Some notes on using QMP to hot plug disks
I was hoping that we could use QMP (now semi-stable since qemu 0.14) to hot plug disks. Unfortunately this is not yet possible. There is no drive_add QMP command which would be necessary for adding drives. We (Red Hat) hacked in a drive_add command into RHEL 6 (only for use by libvirt). This doesn't help us with upstream or F...
2020 Sep 14
4
[PATCH v5 0/8] Configurable policy for handling deprecated interfaces
...ect them * crash: Crash -compat deprecated-output=<out-policy> configures what to do when deprecated output is sent. Available output policies: * accept: Emit deprecated command results and events (default) * hide: Suppress them For now, -compat covers only deprecated syntactic aspects of QMP. We may want to extend it to cover semantic aspects, CLI, and experimental features. v5: * Old PATCH 01-26 merged in commit f57587c7d47. * Rebased, non-trivial conflicts in PATCH 1 due to Meson, and in PATCH 7 due to visitor changes * PATCH 1: Comments updated for 5.2 [Eric] * PATCH 2: Harmless...
2020 Mar 17
0
Re: [PATCH v4 00/34] Configurable policy for handling deprecated interfaces
Hi On Tue, Mar 17, 2020 at 12:55 PM Markus Armbruster <armbru@redhat.com> wrote: > > This series extends QMP introspection to cover deprecation. > Additionally, new option -compat lets you configure what to do when > deprecated interfaces get used. This is intended for testing users of > the management interfaces. It is experimental. > > -compat deprecated-input=<in-policy> configur...
2020 Mar 15
0
[PATCH v3 00/34] Configurable policy for handling deprecated interfaces
This series extends QMP introspection to cover deprecation. Additionally, new option -compat lets you configure what to do when deprecated interfaces get used. This is intended for testing users of the management interfaces. It is experimental. -compat deprecated-input=<in-policy> configures what to do when depre...
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 ++++++...
2012 Feb 08
7
[PATCH] libxl: Set VNC password through QMP
...word 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...
2014 Nov 09
0
Re: Is there a way to disable libvirt qemu monitor while creating kvm vm using virsh?
On Fri, Nov 07, 2014 at 03:28:57PM -0700, Min Du wrote: > Hi, > > Now for some reason, I need to add “ -qmp tcp:127.0.0.1:1235” when > creating a KVM VM using libvirt. You might need to elaborate how exactly you're doing this. > This command meaning in “qemu-kvm --help” is: -qmp dev like > -monitor but opens in 'control' mode. The above is used if you want to explicitly con...
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...
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...
2020 Jan 31
3
Does Libvirt's json parser support single quoted string in qmp json string?
Hi All, I’m using qmp command via “virsh qemu-monitor-command” to perform block related jobs. And in my case, I execute block-commit to commit the changes in the top image to the base image which is encrypted. So in the base parameter, I need a json string which is single quoted to support the encryption parameters....
2017 Jun 03
0
Re: libvirtd not accepting connections
...ibvirt.org >> Main PID: 5965 (libvirtd) >> Tasks: 23 (limit: 4915) >> Memory: 128.2M >> CPU: 411ms >> CGroup: /system.slice/libvirtd.service >> ├─1537 /usr/bin/qemu-system-arm -S -no-user-config >> -nodefaults -nographic -M none -qmp >> unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,n >> ├─1638 /usr/bin/qemu-system-arm -S -no-user-config >> -nodefaults -nographic -M none -qmp >> unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,n >> ├─5965 /usr/sbin/libv...
2017 Jun 03
2
Re: libvirtd not accepting connections
...d(8) > http://libvirt.org > Main PID: 5965 (libvirtd) > Tasks: 23 (limit: 4915) > Memory: 128.2M > CPU: 411ms > CGroup: /system.slice/libvirtd.service > ├─1537 /usr/bin/qemu-system-arm -S -no-user-config >-nodefaults -nographic -M none -qmp >unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,n > ├─1638 /usr/bin/qemu-system-arm -S -no-user-config >-nodefaults -nographic -M none -qmp >unix:/var/lib/libvirt/qemu/capabilities.monitor.sock,server,n > ├─5965 /usr/sbin/libvirtd > ├─...