Statistics
| Branch: | Revision:

root / qemu-monitor.hx @ 5a2e3c2e

History | View | Annotate | Download (27.1 kB)

# Date Author Comment
fbc3d96c 11/17/2009 04:49 pm lirans@il.ibm.com

Enable migration without shared storage from the monitor

This patch adds the option to activate non-shared storage migration from the
monitor.
The migration command is as follows:
(qemu) migrate -d tcp:0:4444 # for ordinary live migration
(qemu) migrate -d -b tcp:0:4444 # for live migration with complete storage copy...

e1c923a6 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_eject() to QObject

Note that errors are not being converted yet.

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

f0d6000a 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_getfd() to QObject

Note that errors are not being converted yet.

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

18f3a515 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_closefd() to QObject

Note that errors are not being converted yet.

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

57e09454 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_memory_save() to QObject

Note that errors are not being converted yet.

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

18f5a8bf 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_physical_memory_save() to QObject

Note that errors are not being converted yet.

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

5f79da00 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_migrate() to QObject

Error is still directly printed, as we are only converting
regular output.

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

3a492104 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_migrate_set_speed() to QObject

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

911d2963 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_migrate_cancel() to QObject

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

6848d827 10/27/2009 07:28 pm Luiz Capitulino

monitor: Convert do_pci_device_hot_remove() to QObject

Errors are still directly printed, as we are only converting
regular output.

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

b223f35f 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_quit() do QObject

Patchworks-ID: 35345
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

e0c97bde 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_stop() to QObject

Patchworks-ID: 35343
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

c80d259e 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_reset() to QObject

Patchworks-ID: 35347
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

43076664 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_system_powerdown() to QObject

Patchworks-ID: 35346
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

a1f896a0 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_cont() to QObject

Appropriate error handling support will be needed to have
encrypted images working under the future machine protocol,
but this initial conversion will work with the current
user protocol.

Patchworks-ID: 35348
Signed-off-by: Luiz Capitulino <>...

83fb1de2 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert do_balloon() to QObject

It is important to note that it never fails, as big refactoring
of the virtio code would be needed to get the proper error code.

Patchworks-ID: 35349
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

d7f9b689 10/09/2009 05:17 am Luiz Capitulino

monitor: Convert mon_cmd_t initializations to C99 style

Patchworks-ID: 35335
Signed-off-by: Luiz Capitulino <>
Signed-off-by: Anthony Liguori <>

af4ce882 10/09/2009 05:17 am Luiz Capitulino

monitor: union for command handlers

This commits adds a new union member to mon_cmd_t for command
handlers and convert monitor_handle_command() and qemu-monitor.hx
to use it.

This improves type safety.

Patchworks-ID: 35337
Signed-off-by: Luiz Capitulino <>...

13c7425e 10/09/2009 05:17 am Luiz Capitulino

monitor: do_info(): handle new and old info handlers

do_info() is special, its job is to call 'info handlers'.
This is similar to what monitor_handle_command() does,
therefore do_info() also has to distinguish among new and
old style info handlers.

This commit converts do_info() to the new QObject style and...

3418bd25 10/05/2009 05:32 pm Gerd Hoffmann

qdev hotplug: infrastructure and monitor commands.

Adds device_add and device_del commands. device_add accepts accepts
the same syntax like the -device command line switch. device_del
expects a device id. So you should tag your devices with ids if you...

e0fed6cc 09/26/2009 10:25 pm Luiz Capitulino

monitor: Fix do_wav_capture() argument type

Currently do_wav_capture() path's argument type is 's' (string),
but it should be 'F' (filename), this way 'wavcapture' gets
command completion.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Aurelien Jarno <>

075e36b8 09/26/2009 10:25 pm Luiz Capitulino

monitor: Fix do_commit() argument type

Currently do_commit() argument type is 's' (string), but it
should be 'B' (block), this way 'commit' gets command completion.

Signed-off-by: Luiz Capitulino <>
Signed-off-by: Aurelien Jarno <>

38183186 09/04/2009 05:37 pm Luiz Capitulino

Add wrappers to functions used by the Monitor

Some functions exported to be used by the Monitor as command
handlers are also called in other places as regular functions.

When those functions got ported to use the Monitor dictionary
to pass argments, the callers will have to setup a dictionary...

4d76d2ba 09/04/2009 05:37 pm Luiz Capitulino

monitor: New format for handlers argument types

Current handlers argument types, as defined in qemu-monitor.hx file,
are a sequence of chars where each one represents one argument type
of the command handler. The number of chars is also used to know how
many arguments a given handler accepts....

4a1418e0 08/24/2009 04:02 pm Anthony Liguori

Unbreak large mem support by removing kqemu

kqemu introduces a number of restrictions on the i386 target. The worst is that
it prevents large memory from working in the default build.

Furthermore, kqemu is fundamentally flawed in a number of ways. It relies on...

f07918fd 07/27/2009 04:39 pm Mark McLoughlin

Add getfd and closefd monitor commands

Add monitor commands to support passing file descriptors via
SCM_RIGHTS.

getfd assigns the passed file descriptor a name for use with other
monitor commands.

closefd allows passed file descriptors to be closed. If a monitor...

f114784f 07/17/2009 01:28 am Jan Kiszka

monitor: Add port write command

Useful for testing hardware emulations or manipulating its state to
stress guest drivers.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

79c4f6b0 07/10/2009 12:04 am Huang Ying

QEMU: MCE: Add MCE simulation to qemu/tcg

- MCE features are initialized when VCPU is intialized according to CPUID.
- A monitor command "mce" is added to inject a MCE.
- A new interrupt mask: CPU_INTERRUPT_MCE is added to inject the MCE.

aliguori: fix build for linux-user...

cbbfacc6 07/03/2009 08:23 pm Jan Kiszka

monitor: Fix typo in documentation

Signed-off-by: Jan Kiszka <>

15dfcd45 06/29/2009 10:18 pm Jan Kiszka

monitor: Refactor acl commnds

Refactor the ACL monitor interface to make full use of the monitor
command dispatcher. This also gives proper help formatting and command
completion. Note that 'acl allow' and 'acl deny' were combined to
'acl_add aclname match allow|deny [index]' for consistency reasons....

e9283f8b 06/29/2009 10:18 pm Jan Kiszka

monitor: Drop pci_addr prefix from hotplug commands

The "pci_addr=" prefix currently required by pci_add/remove and
drive_add has no practical use. Drop it, but still silently accept it
for backward compatibility.

Signed-off-by: Jan Kiszka <>...

a62acdc0 06/29/2009 10:18 pm Jan Kiszka

monitor: Make pci_add device options truely optional

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

f13b572c 06/29/2009 04:52 pm Jan Kiszka

slirp: Make hostfwd_add/remove multi-instance-aware

Extend the syntax of hostfwd_add/remove to optionally take a tuple of
VLAN ID and slirp stack name. If those are omitted, the commands will
continue to work on the first registered slirp stack.

Signed-off-by: Jan Kiszka <>...

6dbe553f 06/29/2009 04:52 pm Jan Kiszka

slirp: Add info usernet for dumping connection states

Break out sockstats from the slirp statistics and present them under the
new info category "usernet". This patch also improves the current output
/wrt proper reporting connection source and destination....

0fe6a7f2 06/29/2009 04:52 pm Jan Kiszka

slirp: Drop statistic code

As agreed on the mailing list, there is no interest in keeping the
usually disabled slirp statistics in the tree. So this patch removes
them.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Anthony Liguori <>

f3546deb 06/29/2009 04:52 pm Jan Kiszka

slirp: Rework monitor commands for host forwarding

Improve the monitor interface for adding and removing host forwarding
rules by splitting it up in two commands and rename them to hostfwd_add
and hostfwd_remove. Also split up the paths taken for legacy -redir...

3c6a0580 06/29/2009 04:52 pm Jan Kiszka

slirp: Bind support for host forwarding rules

Extend the hostfwd rule format so that the user can specify on which
host interface qemu should listen for incoming connections. If omitted,
binding will takes place against all interfaces.

Signed-off-by: Jan Kiszka <>...

e15f4a99 06/29/2009 04:52 pm Jan Kiszka

Revert "User networking: Show active connections"

This reverts commit 1c6ed9f3379faac83da0ed3e95cbd49003ac0dd1.

It's redundant to slirp statistics, which are going to be split up /
reworked later on.

Conflicts:

monitor.c
net.c

Signed-off-by: Jan Kiszka <>...

2ea42952 06/16/2009 11:52 pm Glauber Costa

set migration max downtime

provide a monitor command to allow one to set the maximum
downtime he is willing to suffer during migration, in seconds.
"ms", "us", "ns" and "s" are accepted as modifiers.

This parameter will be used by ram_save_live() code to determine...

2313086a 06/06/2009 11:22 am Blue Swirl

Use hxtool to generate monitor documentation and C structures

Signed-off-by: Blue Swirl <>