Statistics
| Branch: | Revision:

root / hmp-commands.hx @ c09015dd

History | View | Annotate | Download (36 kB)

# Date Author Comment
971ca4d9 01/04/2012 03:48 am Alexander Graf

Expose drive_add on all architectures

All architectures can now use drive_add on the monitor. This of course
does not mean that there is hotplug support for the specific platform,
so in order to actually make use of the new drives you still need to
have a hotplug capable device....

9423a2e8 12/14/2011 03:59 pm Anthony Liguori

Merge remote-tracking branch 'stefanha/trivial-patches-next' into staging

6d3962bf 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert pmemsave

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

e42e818b 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert cont

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

ab49ab5c 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert inject-nmi

Signed-off-by: Luiz Capitulino <>

4b37156c 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert set_link

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

a4dea8a9 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert block_passwd

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

d72f3264 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert balloon

Note that the command being dropped uses the deprecated MONITOR_CMD_ASYNC
API, but the new command is a regular synchronous command. There shouldn't
be visible differences though, as MONITOR_CMD_ASYNC is internal only.

Signed-off-by: Anthony Liguori <>...

5e7caacb 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert block_resize

Signed-off-by: Luiz Capitulino <>

6106e249 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert blockdev_snapshot_sync

Unfortunately, this conversion required an additional change.

In the old QMP command, the 'snapshot-file' argument is specified as
optional. The idea is to take the snapshot internally if 'snapshot-file'
is not passed. However, internal snapshots are not supported yet so...

6cdedb07 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_cancel

Signed-off-by: Luiz Capitulino <>

4f0a993b 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_set_downtime

Signed-off-by: Luiz Capitulino <>

3dc85383 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert migrate_set_speed

Signed-off-by: Luiz Capitulino <>

0cfd6a9a 12/06/2011 03:40 pm Luiz Capitulino

qapi: Convert memsave

Please, note that the QMP command has a new 'cpu-index' parameter.

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

1f3392b7 12/06/2011 11:56 am Zhi Yong Wu

pcie_aer: adjust do_pcie_aer_inejct_error -> do_pcie_aer_inject_error

This function name is a bit wrong. Although it doesn't impact function, it is a bit necessary that we should fixup it.

Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>

fb0490f6 12/05/2011 03:51 pm Stefan Hajnoczi

block: add -drive copy-on-read=on|off

This patch adds the -drive copy-on-read=on|off command-line option:

copy-on-read=on|off
copy-on-read is "on" or "off" and enables whether to copy read backing
file sectors into the image file. Copy-on-read avoids accessing the...
727f005e 12/05/2011 03:51 pm Zhi Yong Wu

hmp/qmp: add block_set_io_throttle

Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>
Signed-off-by: Kevin Wolf <>

96b3d73f 10/31/2011 06:02 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

Conflicts:
ui/spice-core.c

755f1968 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert the cpu command

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

edc5cb1a 10/25/2011 03:00 pm Yonit Halperin

spice: turn client_migrate_info to async

RHBZ 737921
Spice client is required to connect to the migration target before/as migration
starts. Since after migration starts, the target qemu is blocked and cannot accept new spice client
we trigger the connection to the target upon client_migrate_info command....

ebffe2af 10/10/2011 04:21 pm Anthony Liguori

Merge remote-tracking branch 'qmp/queue/qmp' into staging

21168504 10/08/2011 06:38 pm Blue Swirl

Merge branch 'tracing' of git://repo.or.cz/qemu/stefanha

  • 'tracing' of git://repo.or.cz/qemu/stefanha:
    trace: add arguments to bdrv_co_io_em() trace event
    trace: trace monitor qmp dispatch/completion
    trace: trace bdrv_open_common()
    hmp: re-enable trace-file command
bebabbc7 10/06/2011 10:48 am Scott Wood

ppc: booke206: add "info tlb" support

Signed-off-by: Scott Wood <>
Signed-off-by: Alexander Graf <>

7a7f325e 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert quit

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

5f158f21 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert stop

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

38d22653 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert system_reset

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

5bc465e4 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert system_powerdown

Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

c45a8168 10/03/2011 12:55 pm Michael Roth

hmp: re-enable trace-file command

Commit 31965ae27bc11e90674be12584bb201b83df5aef reverted a previous
renaming of CONFIG_SIMPLE_TRACE->CONFIG_TRACE_SIMPLE in a couple spots,
leading to trace-file currently being unavailable.

Signed-off-by: Michael Roth <>...

fc764105 09/01/2011 12:34 pm Lluís

trace: separate trace event control and query routines from the simple backend

Generalize the 'st_print_trace_events' and 'st_change_trace_event_state' into
backend-specific 'trace_print_events' and 'trace_event_set_state' (respectively)
in the "trace/control.h" file....

31965ae2 09/01/2011 12:34 pm Lluís

trace: always compile support for controlling and querying trace event states

The current interface is generic for this small set of operations, and thus
other backends can easily modify the "trace/control.c" file to add their own
implementation.

Signed-off-by: Lluís Vilanova <>

6d8a764e 09/01/2011 12:34 pm Lluís

trace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_*

Provides a more hierarchical view of the variable domain.

Also adds the CONFIG_TRACE_* variables for all backends.

[Stefan added missing 'test' in stap if statement]

Signed-off-by: Lluís Vilanova <>...

0f1b583e 08/03/2011 01:17 pm Zhi Yong Wu

HMP: Remove the duplicated info "info kvm" in hmp-commands.hx.

Signed-off-by: Zhi Yong Wu <>
Signed-off-by: Stefan Hajnoczi <>

d967b2f1 07/21/2011 10:48 pm Jes Sorensen

QMP: add snapshot-blkdev-sync command

Add QMP bits for snapshot_blkdev command. This is the same as
snapshot_blkdev in the human monitor. The command is synchronous.

In the future async commands and or a break down of the functionality
into multiple commands might be added....

e9b4b432 06/01/2011 05:42 pm Luiz Capitulino

HMP: Use QMP inject nmi implementation

This CHANGES the human monitor "nmi" command behavior.

Currently it accepts an CPU argument which, when provided, will send
the NMI to the specified CPU. This feature is of discussable value
though and HMP shouldn't have more features than QMP, so let's use...

2ea720db 03/11/2011 12:12 am Jes Sorensen

hmp-commands.hx: fix badly merged client_migrate_info command

client_migrate_info was merged badly, placing it between the command
and the documentation for another command. In addition it did not
respect the general rule of hmp-commands.hx, of having command...

982aa955 02/10/2011 02:23 pm Jes Sorensen

Change snapshot_blkdev hmp to use correct argument type for device

Pointed out by Markus

Signed-off-by: Jes Sorensen <>
Signed-off-by: Kevin Wolf <>

b3a98367 02/01/2011 11:32 pm Anthony Liguori

Merge remote branch 'qemu-kvm/uq/master' into staging

aliguori: fix build with !defined(KVM_CAP_ASYNC_PF)

Signed-off-by: Anthony Liguori <>

9363ee31 02/01/2011 11:22 pm Anthony Liguori

Merge remote branch 'spice/spice.v29.pull' into staging

Conflicts:
trace-events

6d4a2b3a 01/31/2011 11:03 am Christoph Hellwig

block: add block_resize monitor command

Add a monitor command that allows resizing of block devices while
qemu is running. It uses the existing bdrv_truncate method already
used by qemu-img to do it's work. Compared to qemu-img the size
parsing is very simplicistic, but I think having a properly numering...

e866e239 01/24/2011 04:13 pm Gerd Hoffmann

spice/vnc: client migration.

Handle spice client migration, i.e. inform a spice client connected
about the new host and connection parameters, so it can move over the
connection automatically.

The monitor command has a not-yet used protocol argument simliar to...

31ce5e0c 01/21/2011 06:05 pm Jin Dongming

Add "broadcast" option for mce command

When the following test case is injected with mce command, maybe user could not
get the expected result.
DATA
command cpu bank status mcg_status addr misc
(qemu) mce 1 1 0xbd00000000000000 0x05 0x1234 0x8c...

a7bd621d 01/10/2011 06:32 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

818c2e1b 12/27/2010 11:59 pm Aurelien Jarno

Merge branch 'spice.v23.pull' of git://anongit.freedesktop.org/spice/qemu

  • 'spice.v23.pull' of git://anongit.freedesktop.org/spice/qemu:
    vnc/spice: add set_passwd monitor command.
    vnc: support password expire
    vnc: auth reject cleanup
    spice: add qmp 'query-spice' and hmp 'info spice' commands....
2ae63bda 12/24/2010 10:35 am Isaku Yamahata

pcie/aer: glue aer error injection into qemu monitor

introduce pcie_aer_inject_error command.

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

d41160a3 12/19/2010 03:42 pm Blue Swirl

Sparc: implement monitor command 'info tlb'

Use existing dump_mmu() to implement monitor command 'info tlb'.

Signed-off-by: Blue Swirl <>

f8882568 12/17/2010 05:11 pm Jes Sorensen

Introduce do_snapshot_blkdev() and monitor command to handle it.

The monitor command is:
snapshot_blkdev <device> [snapshot-file] [format]

Default format is qcow2. For now snapshots without a snapshot-file, eg
internal snapshots, are not supported.

Signed-off-by: Jes Sorensen <>...

7572150c 12/09/2010 03:23 pm Gerd Hoffmann

vnc/spice: add set_passwd monitor command.

This patch adds new set_password and expire_password monitor commands
which allows to change and expire the password for spice and vnc
connections. See the doc update patch chunk for details.

Signed-off-by: Gerd Hoffmann <>

9063f814 11/24/2010 06:30 pm Ryan Harper

Implement drive_del to decouple block removal from device removal

Currently device hotplug removal code is tied to device removal via
ACPI. All pci devices that are removable via device_del() require the
guest to respond to the request. In some cases the guest may not...

ed3d4a80 11/03/2010 07:48 pm Jes Sorensen

Switch migrate_set_speed() to take an 'o' argument rather than a float.

Clarify default value of MB in migration speed argument in monitor, if
no suffix is specified. This differ from previous default of bytes,
but is consistent with the rest of the places where we accept a size...

acd0a093 10/01/2010 04:20 pm Luiz Capitulino

Monitor: Rename the qemu-monitor.hx file

Let's be consistent and call it hmp-commands.hx, so that we have
qmp-commands.hx for QMP and hmp-commands.hx for HMP.

Please, note that this commit doesn't touch qemu-monitor.texi. All
texi files have the qemu- prefix and I don't think it's worth...