Statistics
| Branch: | Revision:

root / monitor.c @ 93148aa5

History | View | Annotate | Download (129.5 kB)

# Date Author Comment
b3e54c68 03/03/2012 07:53 pm Blue Swirl

Merge branch 'xtensa' of git://jcmvbkbc.spb.ru/dumb/qemu-xtensa

  • 'xtensa' of git://jcmvbkbc.spb.ru/dumb/qemu-xtensa:
    target-xtensa: add breakpoint tests
    target-xtensa: add DEBUG_SECTION to overlay tool
    target-xtensa: add DBREAK data breakpoints
    exec: let cpu_watchpoint_insert accept larger watchpoints...
53370b78 02/24/2012 09:36 pm Gerd Hoffmann

suspend: add qmp events

Send qmp events on suspend and wakeup so libvirt
has a chance to track the vm state.

Signed-off-by: Gerd Hoffmann <>
Signed-off-by: Anthony Liguori <>

6f382ed2 02/22/2012 09:23 pm Luiz Capitulino

qmp: add DEVICE_TRAY_MOVED event

It's emitted whenever the tray is moved by the guest or by HMP/QMP
commands.

Signed-off-by: Luiz Capitulino <>
Reviewed-by: Markus Armbruster <>
Acked-by: Kevin Wolf <>

f1f5f407 02/21/2012 11:36 am Daniel P. Berrange

Add SPICE support to add_client monitor command

With the acceptance of some new APIs to libspice-server.so it
is possible to add support for SPICE to the 'add_client'
monitor command, bringing parity with VNC. Since SPICE can
use TLS or plain connections, the command also gains a new...

692f737c 02/17/2012 11:25 pm Max Filippov

target-xtensa: implement info tlb monitor command

Command dumps valid ITLB and DTLB entries.

Signed-off-by: Max Filippov <>

370521a1 01/26/2012 03:49 pm Stefan Hajnoczi

qmp: add block_job_cancel command

Add block_job_cancel, which stops an active block streaming operation.
When the operation has been cancelled the new BLOCK_JOB_CANCELLED event
is emitted.

Signed-off-by: Stefan Hajnoczi <>
Acked-by: Luiz Capitulino <>...

fb5458cd 01/26/2012 03:49 pm Stefan Hajnoczi

qmp: add query-block-jobs

Add query-block-jobs, which shows the progress of ongoing block device
operations.

Signed-off-by: Stefan Hajnoczi <>
Acked-by: Luiz Capitulino <>
Signed-off-by: Kevin Wolf <>

12bd451f 01/26/2012 03:49 pm Stefan Hajnoczi

qmp: add block_stream command

Add the block_stream command, which starts copy backing file contents
into the image file. Also add the BLOCK_JOB_COMPLETED QMP event which
is emitted when image streaming completes. Later patches add control
over the background copy speed, cancelation, and querying running...

7060b478 01/18/2012 02:23 pm Anthony Liguori

monitor: expose readline state

HMP is now implemented in terms of QMP. The monitor has a bunch of logic to
deal with HMP right now like readline support. Export it from the monitor so
we can consume it in hmp.c.

In short time, hmp.c will take over all of the readline bits....

903a8814 01/18/2012 02:23 pm Luiz Capitulino

qerror: Extend QERR_DEVICE_ENCRYPTED

Include the name of the encrypted file.

Signed-off-by: Luiz Capitulino <>

333a96ec 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert change

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

a6aa9d3e 01/18/2012 02:23 pm Luiz Capitulino

vnc: Simplify vnc_display_password()

Drop the qerror_report() call from it and let its callers set the error
themselves. This also allows for dropping the 'ret' variable.

Signed-off-by: Luiz Capitulino <>

fbf796fd 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert set_password

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

9ad5372d 01/18/2012 02:23 pm Luiz Capitulino

qapi: Convert expire_password

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

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 <>

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

qapi: Convert human-monitor-command

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

22e1bb9c 12/06/2011 03:40 pm Luiz Capitulino

qapi: Complete system_powerdown conversion

Commit 5bc465e4b1b6f4582a400c0a7033a1c841744278 converted only
the HMP part of the system_powerdown command to the QAPI, this
commit completes it by converting the QMP part too.

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 <>

c951d9a6 11/17/2011 02:57 pm Markus Armbruster

monitor: Fix file_completion() to check for stat() failure

stat() can fail for a file name just read with readdir(). Easiest way
to trigger is a dangling symbolic link --- look ma, no race! When it
fails, file_completion() uses sb.st_mode uninitialized. If the...

816f8925 11/01/2011 11:52 pm Wayne Xia

Sort the help info shown in monitor at runtime

This patch would try sort the command list in monitor at runtime. As a result,
command help and help info would show a more friendly sorted command list.
For eg:
(qemu)help
acl_add
acl_policy
acl_remove
acl_reset...

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

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

Conflicts:
ui/spice-core.c

eca968d0 10/31/2011 05:12 pm Anthony Liguori

Merge remote-tracking branch 'spice/spice.v45' into staging

de0b36b6 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-cpus

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

b2023818 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-block

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

f11f57e4 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-blockstats

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

2b54aa87 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-vnc

There are three important remarks in relation to the non-qapi command:

1. This commit also fixes the behavior of the 'query-vnc' and 'info vnc'
commands to return an error when qemu is built without VNC support
(ie. --disable-vnc). The non-qapi command would return the OK...
d1f29646 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-spice

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

96637bcd 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-balloon

Please, note that some of the code supporting memory statistics is
still around (eg. virtio_balloon_receive_stats() and reset_stats()).

Also, the qmp_query_balloon() function is synchronous and thus doesn't
make any use of the (not fully working) monitor's asynchronous command...

79627472 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-pci

This also fixes a bug with the old version: QMP would invert device id
and vendor id. This would look ok on HMP because it was printing
"device:vendor" instead of "vendor:device".

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

40e5a01d 10/27/2011 04:48 pm Luiz Capitulino

QMP: Drop the query commands dispatch table

Because QMP development originated in the monitor, it has
inherited the monitor's distinction between query- and
non-query commands.

However, previous commits unified both commands and the
distinction is gone. This commit drops the query commands...

b5c30586 10/27/2011 04:48 pm Luiz Capitulino

Monitor: do_info(): Drop QMP command handling code

Previous commits converted all existing QMP commands to the QAPI,
now each info command does its own QMP call.

Let's then drop all QMP command handling code from do_info().

Signed-off-by: Luiz Capitulino <>

e235cec3 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-mice

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

791e7c82 10/27/2011 04:48 pm Luiz Capitulino

qapi: Convert query-migrate

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

b025c8b4 10/27/2011 04:48 pm Luiz Capitulino

Monitor: Make mon_set_cpu() public

Also rename it to monitor_set_cpu().

Signed-off-by: Luiz Capitulino <>

99b7796f 10/27/2011 04:48 pm Luiz Capitulino

Monitor: Introduce monitor_get_cpu_index()

Returns 'cur_mons's CPU index. A future commit will use it.

Signed-off-by: Luiz Capitulino <>

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

qapi: Convert the cpu command

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

30038fd8 10/26/2011 11:55 pm Richard Henderson

target-sparc: Change fpr representation to doubles.

This allows a more efficient representation for 64-bit hosts.
It should be about the same for 32-bit hosts, as we can still
access the individual pieces of the double.

Signed-off-by: Richard Henderson <>

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....

661f1929 10/16/2011 02:11 pm Jan Kiszka

monitor: Restrict pic/irq_info to supporting targets

This allows to drop various stubs and move the i8359 into hwlib.

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

28a7282a 10/11/2011 10:41 am Luiz Capitulino

block: Keep track of devices' I/O status

This commit adds support to the BlockDriverState type to keep track
of devices' I/O status.

There are three possible status: BDRV_IOS_OK (no error), BDRV_IOS_ENOSPC
(no space error) and BDRV_IOS_FAILED (any other error). The distinction...

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 <>

292a2602 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-kvm

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

0461d5a6 10/04/2011 05:02 pm Luiz Capitulino

RunState: Rename enum values as generated by the QAPI

Next commit will convert the query-status command to use the
RunState type as generated by the QAPI.

In order to "transparently" replace the current enum by the QAPI
one, we have to make some changes to some enum values....

1fa9a5e4 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-status

Please, note that the RunState type as defined in sysemu.h and its
runstate_as_string() function are being dropped in favor of the
RunState type generated by the QAPI.

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

efab767e 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-uuid

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

c5a415a0 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-chardev

Reviewed-by: Michael Roth <>
Tested-by: Michael Roth <>
Signed-off-by: Anthony Liguori <>
Signed-off-by: Luiz Capitulino <>

aa9b79bc 10/04/2011 05:02 pm Luiz Capitulino

qapi: Convert query-commands

Signed-off-by: Luiz Capitulino <>

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 <>

48a32bed 10/04/2011 05:01 pm Anthony Liguori

qapi: convert query-name

A simple example conversion 'info name'. This also adds the new files for
QMP and HMP.

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

b9c15f16 10/04/2011 05:01 pm Luiz Capitulino

qapi: Convert query-version

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

e3193601 10/04/2011 05:00 pm Anthony Liguori

qapi: use middle mode in QMP server

Use the new middle mode within the existing QMP server.

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

89bd820a 10/03/2011 12:56 pm Stefan Hajnoczi

trace: trace monitor qmp dispatch/completion

Add trace events for handle_qmp_command(), which dispatches qmp
commands, and monitor_protocol_emitter(), which produces the reply to a
qmp command.

Also remove duplicate #include "trace/control.h".

Signed-off-by: Stefan Hajnoczi <>

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 <>...

314e2987 10/02/2011 05:27 pm Blue Swirl

memory: simple memory tree printer

Add a monitor command 'info mtree' to show the memory hierarchy
much like /proc/iomem in Linux.

Signed-off-by: Blue Swirl <>
Signed-off-by: Avi Kivity <>

1dfb4dd9 09/15/2011 10:39 pm Luiz Capitulino

Replace the VMSTOP macros with a proper state type

Today, when notifying a VM state change with vm_state_notify(),
we pass a VMSTOP macro as the 'reason' argument. This is not ideal
because the VMSTOP macros tell why qemu stopped and not exactly
what the current VM state is....

1bcef683 09/15/2011 10:39 pm Luiz Capitulino

Drop the incoming_expected global variable

Test against RSTATE_IN_MIGRATE instead.

Please, note that the RSTATE_IN_MIGRATE state is only set when all the
initial VM setup is done, while 'incoming_expected' was set right in
the beginning when parsing command-line options. Shouldn't be a problem...

1354869c 09/15/2011 10:39 pm Luiz Capitulino

Drop the vm_running global variable

Use runstate_is_running() instead, which is introduced by this commit.

Signed-off-by: Luiz Capitulino <>

6667b23f 09/15/2011 10:39 pm Luiz Capitulino

Monitor/QMP: Don't allow cont on bad VM state

We have two states where issuing cont before system_reset can
cause problems: RSTATE_SHUTDOWN (when -no-shutdown is used) and
RSTATE_PANICKED (which only happens with kvm).

This commit fixes that by doing the following when state is...

9e37b9dc 09/15/2011 10:39 pm Luiz Capitulino

QMP: query-status: Introduce 'status' key

This new key reports the current VM status to clients. Please, check
the documentation being added in this commit for more details.

Signed-off-by: Luiz Capitulino <>

6e0ca882 09/15/2011 10:39 pm Luiz Capitulino

HMP: info status: Print the VM state

Today our printf format for the "info status" command is:

VM status: %s

Where the string can be "running", "running (single step mode)" or
"paused".

This commit extends it to:

VM status: %s (%s)

The second string corresponds to the "status" field as returned...

3f9c3595 09/09/2011 11:50 am Nathan Kunkee

SPARC: Trivial patch to clean up npc monitor output

This patch fixes the spacing of the PC output from 'info cpus' for
SPARC.

Signed-off-by: Nathan Kunkee <>
Signed-off-by: Stefan Hajnoczi <>

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 <>...

860341f6 08/25/2011 06:40 pm Jamie Iles

monitor: fix build breakage for !CONFIG_VNC

Commit c62f6d1 (monitor: fix build breakage with --disable-vnc)
conditionalised some VNC setup code but left an unused variable. Move
the variable into the conditional code to fix the build breakage.

Cc: Luiz Capitulino <>...

74c0d6f0 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_get_msgfd() -> qemu_chr_fe_get_msgfd()

Signed-off-by: Anthony Liguori <>

15f31519 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_set_echo() -> qemu_chr_fe_set_echo()

Signed-off-by: Anthony Liguori <>

2cc6e0a1 08/22/2011 06:17 pm Anthony Liguori

char: rename qemu_chr_write() -> qemu_chr_fe_write()

Signed-off-by: Anthony Liguori <>

94ac5cd2 08/21/2011 10:50 pm Austin Clements

monitor: Prevent sign-extension of 32-bit addresses printed by info tlb

This is the same fix that was recently applied to info mem. Before
this change, info tlb output looked like:

ffffffffffffc000: 000000000fffc000 --------W
ffffffffffffd000: 000000000fffd000 --------W...

c76c8416 08/21/2011 07:42 pm Austin Clements

monitor: Show combined protection bits in "info mem"

Previously, "info mem" considered and displayed only the last-level
protection bits for a memory range, which doesn't accurrately
represent the protection of that range. Now it shows the combined
protection....

8a94b8ca 08/21/2011 07:42 pm Austin Clements

monitor: Fix "info mem" to print the last memory range

"info mem" groups its output into contiguous ranges with identical
protection bits, but previously forgot to print the last range.

Signed-off-by: Austin Clements <>
Signed-off-by: Blue Swirl <>

b49ca72d 08/21/2011 07:42 pm Austin Clements

monitor: Prevent sign-extension of 32-bit addresses printed by info mem

Previously, on 32-bit i386, info mem used signed 32-bit int's to store
the page table indexes. As a result, address calculation was done in
32 bits and then incorrectly sign-extended to 64 bits, yielding output...

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

c62f6d1d 07/29/2011 05:33 pm TeLeMan

monitor: fix build breakage with --disable-vnc

The breakage was introduced by the commit 13661089810d3e59931f3e80d7cb541b99af7071

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

13661089 07/23/2011 07:19 pm Daniel P. Berrange

Introduce a 'client_add' monitor command accepting an open FD

Allow client connections for VNC and socket based character
devices to be passed in over the monitor using SCM_RIGHTS.

One intended usage scenario is to start QEMU with VNC on a
UNIX domain socket. An unprivileged user which cannot access...

2b41f10e 06/26/2011 09:25 pm Blue Swirl

Remove exec-all.h include directives

Most exec-all.h include directives are now useless, remove them.

Signed-off-by: Blue Swirl <>

a4046664 06/01/2011 05:42 pm Lai Jiangshan

QMP: add inject-nmi qmp command

inject-nmi command injects an NMI on all CPUs of guest.
It is only supported for x86 guest currently, it will
returns "Unsupported" error for non-x86 guest.

Signed-off-by: Luiz Capitulino <>

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...

90dc8812 05/09/2011 11:31 pm Scott Wood

monitor: add PPC BookE SPRs

Read them via KVM_GET_SREGS in kvm_arch_get_registers(),
and display them in "info registers".

Also get CR and PID from the existing KVM_GET_REGS.

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

b8b79323 04/12/2011 10:51 pm Stefan Weil

monitor: Remove some type casts which are no longer needed

All other type casts in calls of cpu_physical_memory_read are
used by hardware emulations and will be fixed by separate patches.

Cc: Blue Swirl <>
Signed-off-by: Stefan Weil <>...

54f7b4a3 04/12/2011 10:51 pm Stefan Weil

Replace cpu_physical_memory_rw were possible

Using cpu_physical_memory_read, cpu_physical_memory_write and ldub_phys
improves readability and allows removing some type casts.

lduw_phys and ldl_phys were not used because both require aligned
addresses. Therefore it is not possible to simply replace existing...

bb593904 04/01/2011 07:34 pm David Gibson

Parse SDR1 on mtspr instead of at translate time

On ppc machines with hash table MMUs, the special purpose register SDR1
contains both the base address of the encoded size (hashed) page tables.

At present, we interpret the SDR1 value within the address translation...

821601ea 03/22/2011 03:39 pm Jes Sorensen

Make VNC support optional

Per default VNC is enabled.

Signed-off-by: Jes Sorensen <>
Signed-off-by: Anthony Liguori <>

31b7c261 03/22/2011 12:42 am Anthony Liguori

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

74475455 03/21/2011 10:23 am Paolo Bonzini

change all other clock references to use nanosecond resolution accessors

This was done with:

sed -i 's/qemu_get_clock\>/qemu_get_clock_ns/' \
$(git grep -l 'qemu_get_clock\>' )
sed -i 's/qemu_new_timer\>/qemu_new_timer_ns/' \
$(git grep -l 'qemu_new_timer\>' )...
dc7a09cf 03/16/2011 10:11 pm Jan Kiszka

Expose thread_id in info cpus

Based on patch by Glauber Costa:

To allow management applications like libvirt to apply CPU affinities to
the VCPU threads, expose their ID via info cpus. This patch provides the
pre-existing and used interface from qemu-kvm....

2fa11da0 03/15/2011 06:19 am Jan Kiszka

x86: Small cleanups of MCE helpers

Fix some code style issues, use proper headers, and align to cpu_x86
naming scheme. No functional changes.

Signed-off-by: Jan Kiszka <>
CC: Huang Ying <>
CC: Hidetoshi Seto <>...

316378e4 03/15/2011 06:19 am Jan Kiszka

x86: Refine error reporting of MCE injection services

As this service is used by the human monitor, make sure that errors get
reported to the right channel, and also raise the verbosity.

This requires to move Monitor typedef in qemu-common.h to resolve the...

747461c7 03/15/2011 06:19 am Jan Kiszka

x86: Optionally avoid injecting AO MCEs while others are pending

Allow to tell cpu_x86_inject_mce that it should ignore Action Optional
MCE events when the target VCPU is still processing another one. This
will be used by KVM soon.

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

e07bbac5 02/14/2011 04:39 pm Jan Kiszka

Improve vm_stop reason declarations

Define and use dedicated constants for vm_stop reasons, they actually
have nothing to do with the EXCP_* defines used so far. At this chance,
specify more detailed reasons so that VM state change handlers can
evaluate them....

c48855e1 02/02/2011 12:50 am Paolo Bonzini

add qemu_chr_set_echo

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Anthony Liguori <>

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

1cd20f8b 02/01/2011 11:16 pm Anthony Liguori

vnc: Fix password expiration through 'change vnc ""' (v2)

commit 52c18be9e99dabe295321153fda7fce9f76647ac introduced a regression in the
change vnc password command that changed the behavior of setting the VNC
password to an empty string from disabling login to disabling authentication....