qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a49db9: fpu: softfloat: drop INLINE macro


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a49db9: fpu: softfloat: drop INLINE macro
Date: Tue, 24 Jun 2014 06:30:08 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a49db98d1f85ada0c4e5bb22bd93d541e7159c43
      
https://github.com/qemu/qemu/commit/a49db98d1f85ada0c4e5bb22bd93d541e7159c43
  Author: Luiz Capitulino <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M fpu/softfloat-macros.h
    M fpu/softfloat.c
    M include/fpu/softfloat.h

  Log Message:
  -----------
  fpu: softfloat: drop INLINE macro

This commit expands all uses of the INLINE macro and drop it.

The reason for this is to avoid clashes with external libraries with
bad name conventions and also because renaming keywords is not a good
practice.

PS: I'm fine with this change to be licensed under softfloat-2a or
softfloat-2b.

Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 37f6be977aefb5de8afe3ba62a95e88918381305
      
https://github.com/qemu/qemu/commit/37f6be977aefb5de8afe3ba62a95e88918381305
  Author: Luiz Capitulino <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M hw/audio/fmopl.c

  Log Message:
  -----------
  audio: fmopl: drop INLINE macro

This commit expands all uses of the INLINE macro and drop it.

The reason for this is to avoid clashes with external libraries with
bad name conventions and also because renaming keywords is not a good
practice.

Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 638ca8ad983e22202091e3d486e7101f7da804c5
      
https://github.com/qemu/qemu/commit/638ca8ad983e22202091e3d486e7101f7da804c5
  Author: Amos Kong <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M scripts/qapi-visit.py

  Log Message:
  -----------
  qapi: fix coding style in parameters list

A space after * when declaring a pointer type is redundant.

Signed-off-by: Amos Kong <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 0d14eeb23325b6b1f0f9adce8baf7d1b415cba81
      
https://github.com/qemu/qemu/commit/0d14eeb23325b6b1f0f9adce8baf7d1b415cba81
  Author: Amos Kong <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M scripts/qapi-commands.py
    M scripts/qapi.py

  Log Message:
  -----------
  qapi: add const prefix to 'char *' insider c_type()

It's ugly to add const prefix for parameter type by an if statement
outside c_type(). This patch adds a parameter to do it.

Signed-off-by: Amos Kong <address@hidden>
Suggested-by: Markus Armbruster <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 05dfb26cd2bf3f50a0fbf08a68a3bd415301edc5
      
https://github.com/qemu/qemu/commit/05dfb26cd2bf3f50a0fbf08a68a3bd415301edc5
  Author: Amos Kong <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M scripts/qapi-commands.py
    M scripts/qapi.py

  Log Message:
  -----------
  qapi: Suppress unwanted space between type and identifier

We always generate a space between type and identifier in parameter
and variable declarations, even when idiomatic C style doesn't have
a space there.  Suppress it.

Signed-off-by: Amos Kong <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: d59323343825d14b6fc2d0f14bc5020b634150fe
      
https://github.com/qemu/qemu/commit/d59323343825d14b6fc2d0f14bc5020b634150fe
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M qobject/json-lexer.c
    M tests/check-qjson.c

  Log Message:
  -----------
  json-lexer: fix escaped backslash in single-quoted string

This made the lexer wait for a closing *double* quote.

Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Reviewed-by: Amos Kong <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 506f40ff7ddf72a54015c6264193ff739fb8f652
      
https://github.com/qemu/qemu/commit/506f40ff7ddf72a54015c6264193ff739fb8f652
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M include/sysemu/os-posix.h

  Log Message:
  -----------
  os-posix: include sys/time.h

Since gettimeofday() is used in this header file as a macro define,
include the function's define header file, to avoid compile warning
when other file include os-posix.h.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: be13d46d6dfd1d4738c424079b6e87865a14f5c3
      
https://github.com/qemu/qemu/commit/be13d46d6dfd1d4738c424079b6e87865a14f5c3
  Author: Max Reitz <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  qapi: Add includes from qapi/ as dependencies

qapi-schema.json has been split into three smaller JSON files in qapi/.
Add them as dependencies for the code generation in the Makefile, so
changes to them will result in a rebuilt of all QAPI-dependent code.

Signed-off-by: Max Reitz <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: f882126024dae3df45adb8bdd0f8ca9d63787fa0
      
https://github.com/qemu/qemu/commit/f882126024dae3df45adb8bdd0f8ca9d63787fa0
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    A include/qapi/qmp-event.h
    M qapi/Makefile.objs
    A qapi/qmp-event.c

  Log Message:
  -----------
  qapi: add event helper functions

This file holds some functions that do not need to be generated.

Signed-off-by: Wenchao Xia <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 21cd70dfc1a6dc90511bae55a460a3a55461339a
      
https://github.com/qemu/qemu/commit/21cd70dfc1a6dc90511bae55a460a3a55461339a
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M Makefile
    M Makefile.objs
    M docs/qapi-code-gen.txt
    A scripts/qapi-event.py
    M scripts/qapi.py
    M tests/Makefile
    A tests/qapi-schema/event-nest-struct.err
    A tests/qapi-schema/event-nest-struct.exit
    A tests/qapi-schema/event-nest-struct.json
    A tests/qapi-schema/event-nest-struct.out

  Log Message:
  -----------
  qapi script: add event support

qapi-event.py will parse the schema and generate qapi-event.c, then
the API in qapi-event.c can be used to handle events in qemu code.
All API have prefix "qapi_event".

The script mainly includes two parts: generate API for each event
define, generate an enum type for all defined events.

Since in some cases the real emit behavior may change, for example,
qemu-img would not send a event, a callback layer is used to
control the behavior. As a result, the stubs at compile time
can be saved, the binding of block layer code and monitor code
will become looser.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: f6dadb0242029e11640d9434efd39ec8211ea868
      
https://github.com/qemu/qemu/commit/f6dadb0242029e11640d9434efd39ec8211ea868
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M tests/Makefile
    M tests/qapi-schema/qapi-schema-test.json
    M tests/qapi-schema/qapi-schema-test.out
    A tests/test-qmp-event.c

  Log Message:
  -----------
  test: add test cases for qapi event

These cases will verify whether the expected qdict is built.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: a589569f2f40a0454b52398035cfe7fbe44ab1e9
      
https://github.com/qemu/qemu/commit/a589569f2f40a0454b52398035cfe7fbe44ab1e9
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block.c
    M block/backup.c
    M block/mirror.c
    M block/stream.c
    M blockjob.c
    M hmp.c
    M hw/block/virtio-blk.c
    M hw/ide/core.c
    M hw/scsi/scsi-disk.c
    M include/block/block.h
    M include/qemu/sockets.h
    M qapi-schema.json
    M qapi/block-core.json
    M ui/spice-core.c
    M ui/vnc.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  qapi: adjust existing defines

In order to let event defines use existing types later, instead of
redefine new ones, some old type defines for spice and vnc are changed,
and BlockErrorAction is moved from block.h to qapi schema. Note that
BlockErrorAction is not merged with BlockdevOnError.

At this point, VncInfo is not made a child of VncBasicInfo, because
VncBasicInfo has mandatory fields where VncInfo makes them optional.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 43a14cfc0f122f3a18fdfe9e16538a6798b95b59
      
https://github.com/qemu/qemu/commit/43a14cfc0f122f3a18fdfe9e16538a6798b95b59
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  monitor: add an implemention of qapi event emit method

The monitor is now hooked on the new event mechanism, so that later
patches can convert event callers one by one. Most code are copied from
old monitor_protocol_* functions with some modification.

Note that two build time warnings will be raised after this patch. One is
caused by no caller of monitor_qapi_event_throttle(), the other one is
caused by QAPI_EVENT_MAX = 0. They will be fixed automatically after
full event conversion later.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: f668470f403e83cc4622b1b4e563e2c61fbdfe62
      
https://github.com/qemu/qemu/commit/f668470f403e83cc4622b1b4e563e2c61fbdfe62
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M Makefile
    A qapi-event.json
    M qapi-schema.json

  Log Message:
  -----------
  qapi: add new schema file qapi-event.json

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 8432183137c4ae91e63e36a683fa0869b3db768e
      
https://github.com/qemu/qemu/commit/8432183137c4ae91e63e36a683fa0869b3db768e
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert SHUTDOWN

This patch also eliminates build time warning caused by
QAPI_EVENT_MAX = 0.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 0aab9ec33e1bcfc46644ed49b777d67caf3a75d0
      
https://github.com/qemu/qemu/commit/0aab9ec33e1bcfc46644ed49b777d67caf3a75d0
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert POWERDOWN

There is no existing comments for POWERDOWN in doc/qmp/qmp-events.txt,
so no change on it like other conversion patch.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: a6330785f025d038b8a6facfb769817f6bf27df6
      
https://github.com/qemu/qemu/commit/a6330785f025d038b8a6facfb769817f6bf27df6
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert RESET

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: a4e15de9a2ab65b4ab276cded6f5c3758691bd74
      
https://github.com/qemu/qemu/commit/a4e15de9a2ab65b4ab276cded6f5c3758691bd74
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M cpus.c
    M docs/qmp/qmp-events.txt
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert STOP

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 591c48fbc5390eced7c787a5fbb72552ef62e56a
      
https://github.com/qemu/qemu/commit/591c48fbc5390eced7c787a5fbb72552ef62e56a
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert RESUME

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 1d11a95a3e84e01289e07884de37f2eb65c21357
      
https://github.com/qemu/qemu/commit/1d11a95a3e84e01289e07884de37f2eb65c21357
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert SUSPEND

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 2ea4100f44af4280c5f566c94ac02f188e8ff24c
      
https://github.com/qemu/qemu/commit/2ea4100f44af4280c5f566c94ac02f188e8ff24c
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/acpi/core.c
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert SUSPEND_DISK

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 7a906f7ffb467576507956fe455dd1f55f6ba4ff
      
https://github.com/qemu/qemu/commit/7a906f7ffb467576507956fe455dd1f55f6ba4ff
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert WAKEUP

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: e010ad8f1e14def33117576916a954d7a3778458
      
https://github.com/qemu/qemu/commit/e010ad8f1e14def33117576916a954d7a3778458
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/ppc/spapr_rtas.c
    M hw/timer/mc146818rtc.c
    M include/sysemu/sysemu.h
    M monitor.c
    M qapi-event.json
    M vl.c

  Log Message:
  -----------
  qapi event: convert RTC_CHANGE

This patch also eliminates build time warning caused by no caller
of monitor_qapi_event_throttle().

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 99eaf09c73b213e32e297b1d08d035abb5b268e9
      
https://github.com/qemu/qemu/commit/99eaf09c73b213e32e297b1d08d035abb5b268e9
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/watchdog/watchdog.c
    M monitor.c
    M qapi-event.json
    M qapi-schema.json

  Log Message:
  -----------
  qapi event: convert WATCHDOG

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 24b699fb2b3229c6da0d93e80b69a16cc84cd3dd
      
https://github.com/qemu/qemu/commit/24b699fb2b3229c6da0d93e80b69a16cc84cd3dd
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/core/qdev.c
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert DEVICE_DELETED

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: a5ee7bd454ab484022e05537cfcb256e3d6dc90e
      
https://github.com/qemu/qemu/commit/a5ee7bd454ab484022e05537cfcb256e3d6dc90e
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block.c
    M docs/qmp/qmp-events.txt
    M qapi/block.json

  Log Message:
  -----------
  qapi event: convert DEVICE_TRAY_MOVED

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 5a2d2cbd8850db7c03d1333d6c29aab6e3bc75ad
      
https://github.com/qemu/qemu/commit/5a2d2cbd8850db7c03d1333d6c29aab6e3bc75ad
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block.c
    M blockjob.c
    M docs/qmp/qmp-events.txt
    M include/block/block_int.h
    M qapi-schema.json
    M qapi/block-core.json

  Log Message:
  -----------
  qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERROR

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: c120f0fa14cd763d57270933713dbb25de5446fd
      
https://github.com/qemu/qemu/commit/c120f0fa14cd763d57270933713dbb25de5446fd
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block/qcow2-refcount.c
    M docs/qmp/qmp-events.txt
    M qapi/block-core.json

  Log Message:
  -----------
  qapi event: convert BLOCK_IMAGE_CORRUPTED

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: bcada37b19e79329c47a956c4c2dd5c81727e8c8
      
https://github.com/qemu/qemu/commit/bcada37b19e79329c47a956c4c2dd5c81727e8c8
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block/mirror.c
    M blockdev.c
    M blockjob.c
    M docs/qmp/qmp-events.txt
    M include/block/blockjob.h
    M qapi/block-core.json

  Log Message:
  -----------
  qapi event: convert other BLOCK_JOB events

Since BLOCK_JOB_COMPLETED, BLOCK_JOB_CANCELLED, BLOCK_JOB_READY are
related, convert them in one patch. The block_job_event_* functions
are used to keep encapsulation of BlockJob structure.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 061502790328ac8d09d39b2b580121dc2ac3f19f
      
https://github.com/qemu/qemu/commit/061502790328ac8d09d39b2b580121dc2ac3f19f
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/net/virtio-net.c
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert NIC_RX_FILTER_CHANGED

Param name is declared as optional, since in code it is an optional
one.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2
      
https://github.com/qemu/qemu/commit/fb6ba0d5256cca2f1e844c03a7a51dd0a7982ac2
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M qapi-event.json
    M ui/vnc.c
    M ui/vnc.h

  Log Message:
  -----------
  qapi event: convert VNC events

Since VNC_CONNECTED, VNC_DISCONNECTED, VNC_INITIALIZED share some
common functions, convert them in one patch.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 7cfadb6b5291765d360137ac5cab78729bde0272
      
https://github.com/qemu/qemu/commit/7cfadb6b5291765d360137ac5cab78729bde0272
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M include/qemu/sockets.h
    M qapi-event.json
    M ui/spice-core.c
    M util/qemu-sockets.c

  Log Message:
  -----------
  qapi event: convert SPICE events

SPICE_INITIALIZED, SPICE_CONNECTED, SPICE_DISCONNECTED and
SPICE_MIGRATE_COMPLETED are converted in one patch, since they
use some common functions. inet_strfamily() is removed since no
callers exist anymore.

Note that there is no existing doc for SPICE_MIGRATE_COMPLETED
in docs/qmp/qmp-events.txt before this patch.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 5f41fbba903fc4e55b94c54cd97ea2d904371351
      
https://github.com/qemu/qemu/commit/5f41fbba903fc4e55b94c54cd97ea2d904371351
  Author: Igor Mammedov <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/acpi/memory_hotplug.c
    M include/monitor/monitor.h
    M monitor.c
    M qapi-event.json

  Log Message:
  -----------
  qmp: convert ACPI_DEVICE_OST event

... using new QAPI event infrastructure

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: aef9d3115fbaf2b1b904e333b46fe2b070fcbe96
      
https://github.com/qemu/qemu/commit/aef9d3115fbaf2b1b904e333b46fe2b070fcbe96
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M balloon.c
    M docs/qmp/qmp-events.txt
    M hw/virtio/virtio-balloon.c
    M include/sysemu/balloon.h
    M monitor.c
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert BALLOON_CHANGE

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 3a4496903795e05c1e8367bb4c9862d5670f48d7
      
https://github.com/qemu/qemu/commit/3a4496903795e05c1e8367bb4c9862d5670f48d7
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M docs/qmp/qmp-events.txt
    M hw/misc/pvpanic.c
    M qapi-event.json
    M qapi-schema.json
    M target-s390x/kvm.c

  Log Message:
  -----------
  qapi event: convert GUEST_PANICKED

'monitor.h' is still included in target-s390x/kvm.c, since I have
no good way to verify whether other code need it on my x86 host.

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: fe069d9d5946df0414b149acf49bce127e546f6b
      
https://github.com/qemu/qemu/commit/fe069d9d5946df0414b149acf49bce127e546f6b
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M block/quorum.c
    R docs/qmp/qmp-events.txt
    M monitor.c
    M qapi-event.json

  Log Message:
  -----------
  qapi event: convert QUORUM events

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 751751732c48d8fc2facf76d72fc56ba68494f45
      
https://github.com/qemu/qemu/commit/751751732c48d8fc2facf76d72fc56ba68494f45
  Author: Wenchao Xia <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M include/monitor/monitor.h
    M monitor.c
    M stubs/Makefile.objs
    R stubs/mon-protocol-event.c

  Log Message:
  -----------
  qapi event: clean up

Signed-off-by: Wenchao Xia <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Eric Blake <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: db39fcf1f690b02d612e2bfc00980700887abe03
      
https://github.com/qemu/qemu/commit/db39fcf1f690b02d612e2bfc00980700887abe03
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M backends/baum.c
    M backends/msmouse.c
    M include/sysemu/char.h
    M qemu-char.c
    M spice-qemu-char.c
    M ui/console.c

  Log Message:
  -----------
  qemu-char: introduce qemu_chr_alloc

The next patch will modify this function to initialize state that is
common to all backends.

Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 6975b713e695e7f1c24a5437fe71fe45381aeebf
      
https://github.com/qemu/qemu/commit/6975b713e695e7f1c24a5437fe71fe45381aeebf
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: do not call chr_write directly

Make the mux always go through qemu_chr_fe_write, so that we'll get
the mutex for the underlying chardev.

Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 1bb7fe725c5f24a441c93fcffddcf4726f11cab5
      
https://github.com/qemu/qemu/commit/1bb7fe725c5f24a441c93fcffddcf4726f11cab5
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: move pty_chr_update_read_handler around

Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 9005b2a7589540a3733b3abdcfbccfe7746cd1a1
      
https://github.com/qemu/qemu/commit/9005b2a7589540a3733b3abdcfbccfe7746cd1a1
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M include/sysemu/char.h
    M qemu-char.c

  Log Message:
  -----------
  qemu-char: make writes thread-safe

This will let threads other than the I/O thread raise QMP events.

GIOChannel is thread-safe, and send and receive state is usually
well-separated.  The only driver that requires some care is the
pty driver, where some of the state is shared by the read and write
sides.  That state is protected with the chr_write_lock too.

Reviewed-by: Fam Zheng <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 6cff3e8594cd974a507d531da09455d1c7aeb30d
      
https://github.com/qemu/qemu/commit/6cff3e8594cd974a507d531da09455d1c7aeb30d
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  monitor: protect outbuf and mux_out with mutex

This lets the block layer emit QMP events from outside the I/O thread.

Reviewed-by: Luiz Capitulino <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: d622cb5879ca8006d5482158e4e3b272a068c301
      
https://github.com/qemu/qemu/commit/d622cb5879ca8006d5482158e4e3b272a068c301
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-06-23 (Mon, 23 Jun 2014)

  Changed paths:
    M monitor.c

  Log Message:
  -----------
  monitor: protect event emission

Event emission must be protected by a mutex because of access to
the shared rate-limiting state, and to guard against concurrent
monitor "hot-plug" by means of human-monitor-command.

Reviewed-by: Luiz Capitulino <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Luiz Capitulino <address@hidden>


  Commit: 089a39486f2c47994c6c0d34ac7abf34baf40d9d
      
https://github.com/qemu/qemu/commit/089a39486f2c47994c6c0d34ac7abf34baf40d9d
  Author: Peter Maydell <address@hidden>
  Date:   2014-06-24 (Tue, 24 Jun 2014)

  Changed paths:
    M Makefile
    M Makefile.objs
    M backends/baum.c
    M backends/msmouse.c
    M balloon.c
    M block.c
    M block/backup.c
    M block/mirror.c
    M block/qcow2-refcount.c
    M block/quorum.c
    M block/stream.c
    M blockdev.c
    M blockjob.c
    M cpus.c
    M docs/qapi-code-gen.txt
    R docs/qmp/qmp-events.txt
    M fpu/softfloat-macros.h
    M fpu/softfloat.c
    M hmp.c
    M hw/acpi/core.c
    M hw/acpi/memory_hotplug.c
    M hw/audio/fmopl.c
    M hw/block/virtio-blk.c
    M hw/core/qdev.c
    M hw/ide/core.c
    M hw/misc/pvpanic.c
    M hw/net/virtio-net.c
    M hw/ppc/spapr_rtas.c
    M hw/scsi/scsi-disk.c
    M hw/timer/mc146818rtc.c
    M hw/virtio/virtio-balloon.c
    M hw/watchdog/watchdog.c
    M include/block/block.h
    M include/block/block_int.h
    M include/block/blockjob.h
    M include/fpu/softfloat.h
    M include/monitor/monitor.h
    A include/qapi/qmp-event.h
    M include/qemu/sockets.h
    M include/sysemu/balloon.h
    M include/sysemu/char.h
    M include/sysemu/os-posix.h
    M include/sysemu/sysemu.h
    M monitor.c
    A qapi-event.json
    M qapi-schema.json
    M qapi/Makefile.objs
    M qapi/block-core.json
    M qapi/block.json
    A qapi/qmp-event.c
    M qemu-char.c
    M qobject/json-lexer.c
    M scripts/qapi-commands.py
    A scripts/qapi-event.py
    M scripts/qapi-visit.py
    M scripts/qapi.py
    M spice-qemu-char.c
    M stubs/Makefile.objs
    R stubs/mon-protocol-event.c
    M target-s390x/kvm.c
    M tests/Makefile
    M tests/check-qjson.c
    A tests/qapi-schema/event-nest-struct.err
    A tests/qapi-schema/event-nest-struct.exit
    A tests/qapi-schema/event-nest-struct.json
    A tests/qapi-schema/event-nest-struct.out
    M tests/qapi-schema/qapi-schema-test.json
    M tests/qapi-schema/qapi-schema-test.out
    A tests/test-qmp-event.c
    M ui/console.c
    M ui/spice-core.c
    M ui/vnc.c
    M ui/vnc.h
    M util/qemu-sockets.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging

* remotes/qmp-unstable/queue/qmp: (43 commits)
  monitor: protect event emission
  monitor: protect outbuf and mux_out with mutex
  qemu-char: make writes thread-safe
  qemu-char: move pty_chr_update_read_handler around
  qemu-char: do not call chr_write directly
  qemu-char: introduce qemu_chr_alloc
  qapi event: clean up
  qapi event: convert QUORUM events
  qapi event: convert GUEST_PANICKED
  qapi event: convert BALLOON_CHANGE
  qmp: convert ACPI_DEVICE_OST event
  qapi event: convert SPICE events
  qapi event: convert VNC events
  qapi event: convert NIC_RX_FILTER_CHANGED
  qapi event: convert other BLOCK_JOB events
  qapi event: convert BLOCK_IMAGE_CORRUPTED
  qapi event: convert BLOCK_IO_ERROR and BLOCK_JOB_ERROR
  qapi event: convert DEVICE_TRAY_MOVED
  qapi event: convert DEVICE_DELETED
  qapi event: convert WATCHDOG
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/27acb9dd2407...089a39486f2c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]