qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] b98fcf: build: add -Wexpansion-to-defined


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] b98fcf: build: add -Wexpansion-to-defined
Date: Fri, 14 Jul 2017 06:11:52 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: b98fcfd8840f290c406c32301340e96f00238a93
      
https://github.com/qemu/qemu/commit/b98fcfd8840f290c406c32301340e96f00238a93
  Author: Paolo Bonzini <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M configure

  Log Message:
  -----------
  build: add -Wexpansion-to-defined

This warning is included in -Wall by clang, but not by GCC (which only
enables it for -Wextra).  Include it in the list of warnings we enable
to minimize the differences between the compilers:

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


  Commit: c6a88ddaac4aa89765313952d5702181423df1a4
      
https://github.com/qemu/qemu/commit/c6a88ddaac4aa89765313952d5702181423df1a4
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update TCG entries

moved in a9ded601..244f1441 to accel/

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1962cb2001996528e4deda8476551eb838ea0758
      
https://github.com/qemu/qemu/commit/1962cb2001996528e4deda8476551eb838ea0758
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update KVM entries

moved in 92229a57 to accel/

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2c7ccb4e27bd980948720211641ea0812a70a328
      
https://github.com/qemu/qemu/commit/2c7ccb4e27bd980948720211641ea0812a70a328
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update Xen entries

moved in 56e2cd24..28b99f47 to hw/xen/ and hw/i386/xen/

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Anthony PERARD <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 752a2ae2734feb3daa7e91f323aca6734437c64b
      
https://github.com/qemu/qemu/commit/752a2ae2734feb3daa7e91f323aca6734437c64b
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: update TCI entry

moved in 244f1441 to tcg/

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Stefan Weil <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 747969db2a6cd6e93561f7edc50d824a7d67346b
      
https://github.com/qemu/qemu/commit/747969db2a6cd6e93561f7edc50d824a7d67346b
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS

  Log Message:
  -----------
  MAINTAINERS: add entry for "Unimplemented" device

Also voluntary myself as reviewer

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: bcdeb9be566ded2eb35233aaccf38742a21e5daa
      
https://github.com/qemu/qemu/commit/bcdeb9be566ded2eb35233aaccf38742a21e5daa
  Author: Marc-André Lureau <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char-socket.c

  Log Message:
  -----------
  chardev: block during sync read

A sync read should block until all requested data is
available (instead of retrying in qemu_chr_fe_read_all). Change the
channel to blocking during sync_read.

Signed-off-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Marc-André Lureau <address@hidden>


  Commit: 313e45b5fe45542602bfa801db7a13d485c29b04
      
https://github.com/qemu/qemu/commit/313e45b5fe45542602bfa801db7a13d485c29b04
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char.c

  Log Message:
  -----------
  char: move QemuOpts->ChardevBackend translation to a separate func

parse function will be used by the following patch

Signed-off-by: Anton Nefedov <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 81517ba37a6cec59f92396b4722861868eb0a500
      
https://github.com/qemu/qemu/commit/81517ba37a6cec59f92396b4722861868eb0a500
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M backends/rng-egd.c
    M chardev/char-fe.c
    M chardev/char-mux.c
    M gdbstub.c
    M hw/arm/pxa2xx.c
    M hw/arm/strongarm.c
    M hw/char/bcm2835_aux.c
    M hw/char/cadence_uart.c
    M hw/char/debugcon.c
    M hw/char/digic-uart.c
    M hw/char/escc.c
    M hw/char/etraxfs_ser.c
    M hw/char/exynos4210_uart.c
    M hw/char/grlib_apbuart.c
    M hw/char/imx_serial.c
    M hw/char/ipoctal232.c
    M hw/char/lm32_juart.c
    M hw/char/lm32_uart.c
    M hw/char/mcf_uart.c
    M hw/char/milkymist-uart.c
    M hw/char/pl011.c
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M hw/char/serial.c
    M hw/char/sh_serial.c
    M hw/char/spapr_vty.c
    M hw/char/stm32f2xx_usart.c
    M hw/char/terminal3270.c
    M hw/char/virtio-console.c
    M hw/char/xen_console.c
    M hw/char/xilinx_uartlite.c
    M hw/ipmi/ipmi_bmc_extern.c
    M hw/mips/boston.c
    M hw/mips/mips_malta.c
    M hw/misc/ivshmem.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-serial.c
    M hw/usb/redirect.c
    M include/chardev/char-fe.h
    M monitor.c
    M net/colo-compare.c
    M net/filter-mirror.c
    M net/slirp.c
    M net/vhost-user.c
    M qtest.c
    M target/xtensa/xtensa-semi.c
    M tests/test-char.c
    M tests/vhost-user-test.c

  Log Message:
  -----------
  char: add backend hotswap handler

Frontends should have an interface to setup the handler of a backend change.
The interface will be used in the next commits

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7bb86085e61befc95551055e26645cb23c3f0b86
      
https://github.com/qemu/qemu/commit/7bb86085e61befc95551055e26645cb23c3f0b86
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char.c
    M include/chardev/char.h
    M qapi-schema.json

  Log Message:
  -----------
  char: chardevice hotswap

This patch adds a possibility to change a char device without a frontend
removal.

Ideally, it would have to happen transparently to a frontend, i.e.
frontend would continue its regular operation.
However, backends are not stateless and are set up by the frontends
via qemu_chr_fe_<> functions, and it's not (generally) possible to replay
that setup entirely in a backend code, as different chardevs respond
to the setup calls differently, so do frontends work differently basing
on those setup responses.
Moreover, some frontend can generally get and save the backend pointer
(qemu_chr_fe_get_driver()), and it will become invalid after backend change.

So, a frontend which would like to support chardev hotswap has to register
a "backend change" handler, and redo its backend setup there.

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7c44a2a9d178118193febd71cfc6943dd21bdde9
      
https://github.com/qemu/qemu/commit/7c44a2a9d178118193febd71cfc6943dd21bdde9
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char-fe.c
    M include/chardev/char-fe.h

  Log Message:
  -----------
  char: forbid direct chardevice access for hotswap devices

qemu_chr_fe_get_driver() is unsafe, frontends with hotswap support
should not access CharDriver ptr directly as CharDriver might change.

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3065070153ef4235659d821c0d6fa28fd0630c57
      
https://github.com/qemu/qemu/commit/3065070153ef4235659d821c0d6fa28fd0630c57
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char-fe.c
    M hw/arm/strongarm.c
    M hw/char/cadence_uart.c
    M hw/char/debugcon.c
    M hw/char/escc.c
    M hw/char/exynos4210_uart.c
    M hw/char/grlib_apbuart.c
    M hw/char/ipoctal232.c
    M hw/char/parallel.c
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M hw/char/serial.c
    M hw/char/sh_serial.c
    M hw/char/spapr_vty.c
    M hw/char/terminal3270.c
    M hw/char/virtio-console.c
    M hw/char/xen_console.c
    M hw/ipmi/ipmi_bmc_extern.c
    M hw/misc/ivshmem.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-serial.c
    M hw/usb/redirect.c
    M include/chardev/char-fe.h
    M net/filter-mirror.c

  Log Message:
  -----------
  char: avoid chardevice direct access

frontends should avoid accessing CharDriver struct where possible

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 12f043c240580b5b4b2d67d8deb29537d679e3a2
      
https://github.com/qemu/qemu/commit/12f043c240580b5b4b2d67d8deb29537d679e3a2
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  test-char: destroy chardev-udp after test

this is only not a problem if the test is last in a suite,
otherwise it makes the following main_loop() calls to fail

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 92ddfade9f619977d47399bd360c03626629b1e2
      
https://github.com/qemu/qemu/commit/92ddfade9f619977d47399bd360c03626629b1e2
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  test-char: split char_udp_test

makes it possible to test the existing chardev-udp

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ae69e4823dedde369027522b646ee62a7ff66530
      
https://github.com/qemu/qemu/commit/ae69e4823dedde369027522b646ee62a7ff66530
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  test-char: split char_file_test

makes it possible to test the existing chardev-file

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7b5a9e453e4086c2e6a3b9830ee7e4b3583e2d14
      
https://github.com/qemu/qemu/commit/7b5a9e453e4086c2e6a3b9830ee7e4b3583e2d14
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M tests/test-char.c

  Log Message:
  -----------
  test-char: add hotswap test

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 75b601602be0462acb4e0298e738df86b1de61a1
      
https://github.com/qemu/qemu/commit/75b601602be0462acb4e0298e738df86b1de61a1
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M chardev/char.c
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M include/chardev/char.h
    M tests/test-hmp.c

  Log Message:
  -----------
  hmp: add hmp analogue for qmp-chardev-change

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Acked-by: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: af50855c251bd08e90fd915a2d58c870df0a78e5
      
https://github.com/qemu/qemu/commit/af50855c251bd08e90fd915a2d58c870df0a78e5
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/char/virtio-console.c

  Log Message:
  -----------
  virtio-console: chardev hotswap support

In case of a backend change, the handler functions and the watch have
to be reset.

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 757358425e3d6b22ac312f8f69dcaf44ed523ad0
      
https://github.com/qemu/qemu/commit/757358425e3d6b22ac312f8f69dcaf44ed523ad0
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: move TIOCM update to a separate function

will be used by the following patch

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1a29cc8f5ebd657e159dbe4be340102595846d42
      
https://github.com/qemu/qemu/commit/1a29cc8f5ebd657e159dbe4be340102595846d42
  Author: Anton Nefedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/char/serial.c

  Log Message:
  -----------
  serial: chardev hotswap support

This allows to change the port's backend runtime, e.g. change it from
file to a socket making it possible to establish a debug session with
WinDbg

> qemu-system [..] -chardev file,id=charchannel2,path=/tmp/charchannel2 \
  -device isa-serial,chardev=charchannel2,id=channel2

QEMU 2.9.50 monitor - type 'help' for more information
(qemu) chardev-change charchannel2 \
  socket,host=127.0.0.1,port=4242,server,nowait

For a backend change, a number of ioctls has to be replayed to sync
the current setup of a frontend to a backend tty. This is hopefully
enough so we don't have to track, store and replay the whole original
control byte sequence.

Signed-off-by: Anton Nefedov <address@hidden>
Reviewed-by: Vladimir Sementsov-Ogievskiy <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 04bf2526ce87f21b32c9acba1c5518708c243ad0
      
https://github.com/qemu/qemu/commit/04bf2526ce87f21b32c9acba1c5518708c243ad0
  Author: Prasad J Pandit <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec: use qemu_ram_ptr_length to access guest ram

When accessing guest's ram block during DMA operation, use
'qemu_ram_ptr_length' to get ram block pointer. It ensures
that DMA operation of given length is possible; And avoids
any OOB memory access situations.

Reported-by: Alex <address@hidden>
Signed-off-by: Prasad J Pandit <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 406bc339b0505fcfc2ffcbca1f05a3756e338a65
      
https://github.com/qemu/qemu/commit/406bc339b0505fcfc2ffcbca1f05a3756e338a65
  Author: Pranith Kumar <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M exec.c
    M include/exec/exec-all.h

  Log Message:
  -----------
  Revert "exec.c: Fix breakpoint invalidation race"

Now that we have proper locking after MTTCG patches have landed, we
can revert the commit.  This reverts commit

a9353fe897ca2687e5b3385ed39e3db3927a90e0.

CC: Peter Maydell <address@hidden>
CC: Alex Bennée <address@hidden>
Signed-off-by: Pranith Kumar <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5
      
https://github.com/qemu/qemu/commit/cb58a6d3611b2d0ff4ed29bb6b659c95a23cb2d5
  Author: Pranith Kumar <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/i386/kvmvapic.c

  Log Message:
  -----------
  mttcg/i386: Patch instruction using async_safe_* framework

In mttcg, calling pause_all_vcpus() during execution from the
generated TBs causes a deadlock if some vCPU is waiting for exclusive
execution in start_exclusive(). Fix this by using the aync_safe_*
framework instead of pausing vcpus for patching instructions.

CC: Paolo Bonzini <address@hidden>
CC: Peter Maydell <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Signed-off-by: Pranith Kumar <address@hidden>
Message-Id: <address@hidden>
[Get rid completely of the TCG-specific code. - Paolo]
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 118e226884a762f3ef21351c05043e32be44c1f1
      
https://github.com/qemu/qemu/commit/118e226884a762f3ef21351c05043e32be44c1f1
  Author: Alex Bennée <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: modernise DEBUG_GDB

Convert the a gdb_debug helper which compiles away to nothing when not
used but still ensures the format strings are checked. There is some
minor code motion for the incorrect checksum message to report it
before we attempt to send the reply.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d2a6c8570b15413f43891fbb3c41521c68ef8297
      
https://github.com/qemu/qemu/commit/d2a6c8570b15413f43891fbb3c41521c68ef8297
  Author: Alex Bennée <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M gdbstub.c
    M include/exec/gdbstub.h

  Log Message:
  -----------
  gdbstub: rename cpu_index -> cpu_gdb_index

This is to make it clear the index is purely a gdbstub function and
should not be confused with the value of cpu->cpu_index. At the same
time we move the function from the header to gdbstub itself which will
help with later changes.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Reviewed-by: Claudio Imbrenda <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: bd88c780e6a17188f7fd676f3a056e5db21500e0
      
https://github.com/qemu/qemu/commit/bd88c780e6a17188f7fd676f3a056e5db21500e0
  Author: Alex Bennée <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M bsd-user/qemu.h
    M gdbstub.c
    M include/qom/cpu.h
    M linux-user/syscall.c

  Log Message:
  -----------
  qom/cpu: remove host_tid field

This was only used by the gdbstub and even then was only being set for
subsequent threads. Rather the continue duplicating the number just
make the gdbstub get the information from TaskState structure.

Now the tid is correctly reported for all threads the bug I was seeing
with "vCont;C04:0;c" packets is fixed as the correct tid is reported
to gdb.

I moved cpu_gdb_index into the gdbstub to facilitate easy access to
the TaskState which is used elsewhere in gdbstub.

To prevent BSD failing to build I've included ts_tid into its
TaskStruct but not populated it - which was the same state as the old
cpu->host_tid. I'll leave it up to the BSD maintainers to actually
populate this properly if they want a working gdbstub with
user-threads.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Reviewed-by: Claudio Imbrenda <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>

Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5a6a1ad181c658b810041d852b290ac836965aca
      
https://github.com/qemu/qemu/commit/5a6a1ad181c658b810041d852b290ac836965aca
  Author: Alex Bennée <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: don't fail on vCont; C04:0; c packets

The thread-id of 0 means any CPU but we then ignore the fact we find
the first_cpu in this case who can have an index of 0. Instead of
bailing out just test if we have managed to match up thread-id to a
CPU.

Otherwise you get:
  gdb_handle_packet: command='vCont;C04:0;c'
  put_packet: reply='E22'

The actual reason for gdb sending vCont;C04:0;c was fixed in a
previous commit where we ensure the first_cpu's tid is correctly
reported to gdb however we should still behave correctly next time it
does send 0.

Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Greg Kurz <address@hidden>
Reviewed-by: Claudio Imbrenda <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 98fab4c163adb980568afa40824208edbcd6d70c
      
https://github.com/qemu/qemu/commit/98fab4c163adb980568afa40824208edbcd6d70c
  Author: Peng Hao <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/char/parallel.c

  Log Message:
  -----------
  chardev: fix parallel device can't be reconnect

Parallel device don't register be->chr_can_read function, but remote
disconnect event is handled in chr_read.So connected parallel device
can not detect remote disconnect event. The chardevs with chr_can_read=NULL
has the same problem.

Signed-off-by: Peng Hao <address@hidden>
Reviewed-by: Wang Yechao <address@hidden>
Reviewed-by: Jiang Biao <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3df9d748067f5a7f01b98ddc63597c98c8244a95
      
https://github.com/qemu/qemu/commit/3df9d748067f5a7f01b98ddc63597c98c8244a95
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M exec.c
    M hw/alpha/typhoon.c
    M hw/dma/rc4030.c
    M hw/i386/amd_iommu.c
    M hw/i386/intel_iommu.c
    M hw/mips/mips_jazz.c
    M hw/pci-host/apb.c
    M hw/ppc/spapr_iommu.c
    M hw/s390x/s390-pci-bus.c
    M hw/s390x/s390-pci-bus.h
    M hw/s390x/s390-pci-inst.c
    M hw/vfio/common.c
    M hw/vfio/spapr.c
    M include/exec/memory.h
    M include/hw/i386/intel_iommu.h
    M include/hw/mips/mips.h
    M include/hw/ppc/spapr.h
    M include/hw/vfio/vfio-common.h
    M include/qemu/typedefs.h
    M memory.c

  Log Message:
  -----------
  memory/iommu: QOM'fy IOMMU MemoryRegion

This defines new QOM object - IOMMUMemoryRegion - with MemoryRegion
as a parent.

This moves IOMMU-related fields from MR to IOMMU MR. However to avoid
dymanic QOM casting in fast path (address_space_translate, etc),
this adds an @is_iommu boolean flag to MR and provides new helper to
do simple cast to IOMMU MR - memory_region_get_iommu. The flag
is set in the instance init callback. This defines
memory_region_is_iommu as memory_region_get_iommu()!=NULL.

This switches MemoryRegion to IOMMUMemoryRegion in most places except
the ones where MemoryRegion may be an alias.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Reviewed-by: David Gibson <address@hidden>
Message-Id: <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1221a4746769f70231beab4db8da1c937e60340c
      
https://github.com/qemu/qemu/commit/1221a4746769f70231beab4db8da1c937e60340c
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M exec.c
    M hw/alpha/typhoon.c
    M hw/dma/rc4030.c
    M hw/i386/amd_iommu.c
    M hw/i386/amd_iommu.h
    M hw/i386/intel_iommu.c
    M hw/pci-host/apb.c
    M hw/ppc/spapr_iommu.c
    M hw/s390x/s390-pci-bus.c
    M hw/s390x/s390-pci-bus.h
    M hw/s390x/s390-pci-inst.c
    M include/exec/memory.h
    M include/hw/i386/intel_iommu.h
    M include/hw/ppc/spapr.h
    M memory.c

  Log Message:
  -----------
  memory/iommu: introduce IOMMUMemoryRegionClass

This finishes QOM'fication of IOMMUMemoryRegion by introducing
a IOMMUMemoryRegionClass. This also provides a fastpath analog for
IOMMU_MEMORY_REGION_GET_CLASS().

This makes IOMMUMemoryRegion an abstract class.

Signed-off-by: Alexey Kardashevskiy <address@hidden>
Message-Id: <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 004a89fce9b5ec1b027bf4d104d83aa682db7b7a
      
https://github.com/qemu/qemu/commit/004a89fce9b5ec1b027bf4d104d83aa682db7b7a
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M block/nbd-client.c
    M block/nbd-client.h
    M block/nbd.c
    M include/block/nbd.h
    M nbd/client.c
    M qemu-nbd.c

  Log Message:
  -----------
  nbd: Create struct for tracking export info

The NBD Protocol is introducing some additional information
about exports, such as minimum request size and alignment, as
well as an advertised maximum request size.  It will be easier
to feed this information back to the block layer if we gather
all the information into a struct, rather than adding yet more
pointer parameters during negotiation.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 37ec36f622d46b7d13421533efe686af2326771e
      
https://github.com/qemu/qemu/commit/37ec36f622d46b7d13421533efe686af2326771e
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Don't bother tracing an NBD_OPT_ABORT response failure

We really don't care if our spec-compliant reply to NBD_OPT_ABORT
was received, so shave off some lines of code by not even tracing it.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
      
https://github.com/qemu/qemu/commit/3736cc5be31f0399999e37d8b28ca9a3ed0b4ccb
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M include/block/nbd.h
    M nbd/client.c
    M nbd/common.c
    M nbd/nbd-internal.h
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Expose and debug more NBD constants

The NBD protocol has several constants defined in various extensions
that we are about to implement.  Expose them to the code, along with
an easy way to map various constants to strings during diagnostic
messages.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 621c4f4eabff26493494909fc91aeac7e8205438
      
https://github.com/qemu/qemu/commit/621c4f4eabff26493494909fc91aeac7e8205438
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Simplify trace of client flags in negotiation

Simplify the tracing of client flags in the server, and return -EINVAL
instead of -EIO if we successfully read but don't like those flags.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 23e099c34c6c5d774af37be8f7b57a9e563c58f4
      
https://github.com/qemu/qemu/commit/23e099c34c6c5d774af37be8f7b57a9e563c58f4
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/server.c

  Log Message:
  -----------
  nbd: Refactor reply to NBD_OPT_EXPORT_NAME

Reply directly in nbd_negotiate_handle_export_name(), rather than
waiting until nbd_negotiate_options() completes.  This will make it
easier to implement NBD_OPT_GO.  Pass additional parameters around,
rather than stashing things inside NBDClient.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f37708f6b8e0bef0dd85c6aad7fc2062071f8227
      
https://github.com/qemu/qemu/commit/f37708f6b8e0bef0dd85c6aad7fc2062071f8227
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Implement NBD_OPT_GO on server

NBD_OPT_EXPORT_NAME is lousy: per the NBD protocol, any failure
requires us to close the connection rather than report an error.
Therefore, upstream NBD recently added NBD_OPT_GO as the improved
version of the option that does what we want [1], along with
NBD_OPT_INFO that returns the same information but does not
transition to transmission phase.

[1] https://github.com/NetworkBlockDevice/nbd/blob/extension-info/doc/proto.md

This is a first cut at the information types, and only passes the
same information already available through NBD_OPT_LIST and
NBD_OPT_EXPORT_NAME; items like NBD_INFO_BLOCK_SIZE (and thus any
use of NBD_REP_ERR_BLOCK_SIZE_REQD) are intentionally left for
later patches.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8ecaeae82241b6e317d19e5558e52f9e2f979f74
      
https://github.com/qemu/qemu/commit/8ecaeae82241b6e317d19e5558e52f9e2f979f74
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/client.c
    M nbd/nbd-internal.h
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Implement NBD_OPT_GO on client

NBD_OPT_EXPORT_NAME is lousy: per the NBD protocol, any failure
requires the server to close the connection rather than report an
error to us.  Therefore, upstream NBD recently added NBD_OPT_GO as
the improved version of the option that does what we want [1]: it
reports sane errors on failures, and on success provides at least
as much info as NBD_OPT_EXPORT_NAME.

[1] https://github.com/NetworkBlockDevice/nbd/blob/extension-info/doc/proto.md

This is a first cut at use of the information types.  Note that we
do not need to use NBD_OPT_INFO, and that use of NBD_OPT_GO means
we no longer have to use NBD_OPT_LIST to learn whether a server
requires TLS (this requires servers that gracefully handle unknown
NBD_OPT, many servers prior to qemu 2.5 were buggy, but I have patched
qemu, upstream nbd, and nbdkit in the meantime, in part because of
interoperability testing with this patch).  We still fall back to
NBD_OPT_LIST when NBD_OPT_GO is not supported on the server, as it
is still one last chance for a nicer error message.  Later patches
will use further info, like NBD_INFO_BLOCK_SIZE.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0c1d50bda7ae03146b4bf7bc3a12389897ea059c
      
https://github.com/qemu/qemu/commit/0c1d50bda7ae03146b4bf7bc3a12389897ea059c
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M nbd/server.c
    M nbd/trace-events

  Log Message:
  -----------
  nbd: Implement NBD_INFO_BLOCK_SIZE on server

The upstream NBD Protocol has defined a new extension to allow
the server to advertise block sizes to the client, as well as
a way for the client to inform the server that it intends to
obey block sizes.

Thanks to a recent fix (commit df7b97ff), our real minimum
transfer size is always 1 (the block layer takes care of
read-modify-write on our behalf), but we're still more efficient
if we advertise 512 when the client supports it, as follows:
- OPT_INFO, but no NBD_INFO_BLOCK_SIZE: advertise 512, then
fail with NBD_REP_ERR_BLOCK_SIZE_REQD; client is free to try
something else since we don't disconnect
- OPT_INFO with NBD_INFO_BLOCK_SIZE: advertise 512
- OPT_GO, but no NBD_INFO_BLOCK_SIZE: advertise 1
- OPT_GO with NBD_INFO_BLOCK_SIZE: advertise 512

We can also advertise the optimum block size (presumably the
cluster size, when exporting a qcow2 file), and our absolute
maximum transfer size of 32M, to help newer clients avoid
EINVAL failures or abrupt disconnects on oversize requests.

We do not reject clients for using the older NBD_OPT_EXPORT_NAME;
we are no worse off for those clients than we used to be.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 081dd1fe36f0ccc04130d1edd136c787c5f8cc50
      
https://github.com/qemu/qemu/commit/081dd1fe36f0ccc04130d1edd136c787c5f8cc50
  Author: Eric Blake <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M block/nbd-client.c
    M block/nbd.c
    M include/block/nbd.h
    M nbd/client.c
    M nbd/trace-events
    M qemu-nbd.c

  Log Message:
  -----------
  nbd: Implement NBD_INFO_BLOCK_SIZE on client

The upstream NBD Protocol has defined a new extension to allow
the server to advertise block sizes to the client, as well as
a way for the client to inform the server whether it intends to
obey block sizes.

When using the block layer as the client, we will obey block
sizes; but when used as 'qemu-nbd -c' to hand off to the
kernel nbd module as the client, we are still waiting for the
kernel to implement a way for us to learn if it will honor
block sizes (perhaps by an addition to sysfs, rather than an
ioctl), as well as any way to tell the kernel what additional
block sizes to obey (NBD_SET_BLKSIZE appears to be accurate
for the minimum size, but preferred and maximum sizes would
probably be new ioctl()s), so until then, we need to make our
request for block sizes conditional.

When using ioctl(NBD_SET_BLKSIZE) to hand off to the kernel,
use the minimum block size as the sector size if it is larger
than 512, which also has the nice effect of cooperating with
(non-qemu) servers that don't do read-modify-write when
exposing a block device with 4k sectors; it might also allow
us to visit a file larger than 2T on a 32-bit kernel.

Signed-off-by: Eric Blake <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f940488feaca394ccc68e0595b4c3a9017f16e45
      
https://github.com/qemu/qemu/commit/f940488feaca394ccc68e0595b4c3a9017f16e45
  Author: Emilio G. Cota <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M vl.c

  Log Message:
  -----------
  vl: fix breakage of -tb-size

Commit e7b161d573 ("vl: add tcg_enabled() for tcg related code") adds
a check to exit the program when !tcg_enabled() while parsing the -tb-size
flag.

It turns out that when the -tb-size flag is evaluated, tcg_enabled() can
only return 0, since it is set (or not) much later by configure_accelerator().

Fix it by unconditionally exiting if the flag is passed to a QEMU binary
built with !CONFIG_TCG.

Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d40d3da00c10f0169a26985ecb65033bff536f2c
      
https://github.com/qemu/qemu/commit/d40d3da00c10f0169a26985ecb65033bff536f2c
  Author: Emilio G. Cota <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M accel/tcg/translate-all.c

  Log Message:
  -----------
  translate-all: remove redundant !tcg_enabled check in dump_exec_info

This check is redundant because it is already performed by the only
caller of dump_exec_info -- the caller was updated by b7da97eef
("monitor: Check whether TCG is enabled before running the "info jit"
code").

Checking twice wouldn't necessarily be too bad, but here the check also
returns with tb_lock held. So we can either do the check before tb_lock is
acquired, or just get rid of it. Given that it is redundant, I am going
for the latter option.

Signed-off-by: Emilio G. Cota <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 8f5d58ef2c92d7b82d9a6eeefd7c8854a183ba4a
      
https://github.com/qemu/qemu/commit/8f5d58ef2c92d7b82d9a6eeefd7c8854a183ba4a
  Author: Igor Mammedov <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/core/qdev-properties.c
    M hw/display/xlnx_dp.c
    M hw/ipmi/ipmi.c
    M hw/mem/pc-dimm.c
    M hw/misc/ivshmem.c
    M hw/virtio/virtio-crypto.c
    M include/hw/qdev-properties.h
    M include/qom/object.h
    M qom/object.c

  Log Message:
  -----------
  qom: enforce readonly nature of link's check callback

link's check callback is supposed to verify/permit setting it,
however currently nothing restricts it from misusing it
and modifying target object from within.
Make sure that readonly semantics are checked by compiler
to prevent callback's misuse.

Signed-off-by: Igor Mammedov <address@hidden>
Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: faabdbb792889bf011a593578d1de51e14616bb7
      
https://github.com/qemu/qemu/commit/faabdbb792889bf011a593578d1de51e14616bb7
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/core/qdev.c
    M include/hw/qdev-core.h
    M qmp.c

  Log Message:
  -----------
  qdev: Introduce PropertyInfo.create

This allows property implementation to provide a specialized property
creation method.

Update conditions guarding property types accordingly.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 5b4ff3c661374b2df247e12b58667e4643b30af1
      
https://github.com/qemu/qemu/commit/5b4ff3c661374b2df247e12b58667e4643b30af1
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/core/qdev-properties.c
    M include/hw/qdev-core.h
    M include/hw/qdev-properties.h

  Log Message:
  -----------
  qdev: Introduce DEFINE_PROP_LINK

This property can be used to replace the object_property_add_link in
device code, to add a link to other objects, which is a common pattern.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 75ab905383ea92d1c44cdd07e0f9fd509d51c9cc
      
https://github.com/qemu/qemu/commit/75ab905383ea92d1c44cdd07e0f9fd509d51c9cc
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M qmp.c

  Log Message:
  -----------
  qmp: Use ObjectProperty.type if present

The dynamic value is more informative in the case of link property,
otherwise it is the same.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 1b6b7d109ea53157525ad787802e45773fb7becb
      
https://github.com/qemu/qemu/commit/1b6b7d109ea53157525ad787802e45773fb7becb
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M include/hw/qdev-core.h
    M include/hw/qdev-properties.h
    M include/hw/s390x/css.h
    M target/i386/cpu.c
    M target/ppc/translate_init.c

  Log Message:
  -----------
  qdev: Add const qualifier to PropertyInfo definitions

The remaining non-const ones are in e1000e which modifies description at
runtime. They can be addressed separatedly.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d679ac09f06c53c7cc4ac43bedb068db943272bc
      
https://github.com/qemu/qemu/commit/d679ac09f06c53c7cc4ac43bedb068db943272bc
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/block/virtio-blk.c
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  virtio-blk: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 08f1ecd873e98d2e04ee884c8e268a96b5fb4160
      
https://github.com/qemu/qemu/commit/08f1ecd873e98d2e04ee884c8e268a96b5fb4160
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M hw/scsi/virtio-scsi.c
    M hw/virtio/virtio-pci.c

  Log Message:
  -----------
  virtio-scsi: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d1fd7f775ea975f7c710c380a1967e1576dec48f
      
https://github.com/qemu/qemu/commit/d1fd7f775ea975f7c710c380a1967e1576dec48f
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-rng.c

  Log Message:
  -----------
  virtio-rng: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: aa8f057e74ae08014736a690ff41f76c756f75f1
      
https://github.com/qemu/qemu/commit/aa8f057e74ae08014736a690ff41f76c756f75f1
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/s390x/virtio-ccw.c
    M hw/virtio/virtio-crypto-pci.c
    M hw/virtio/virtio-crypto.c

  Log Message:
  -----------
  virtio-crypto: Convert to DEFINE_PROP_LINK

Unlike other object_property_add_link() occurrences in virtio devices,
virtio-crypto checks the "in use" state of the linked backend object in
addition to qdev_prop_allow_set_link_before_realize. To convert it
without needing to specialize DEFINE_PROP_LINK which always uses the
qdev callback, move the "in use" check to device realize time.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2de7e26891db3d5b7f214fa485a5e946b17a57b9
      
https://github.com/qemu/qemu/commit/2de7e26891db3d5b7f214fa485a5e946b17a57b9
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/mem/pc-dimm.c

  Log Message:
  -----------
  dimm: Convert to DEFINE_PROP_LINK

Unlike the usual object_property_add_link() invocations in other
devices, dimm checks the "is mapped" state of the backend in addition to
qdev_prop_allow_set_link_before_realize. To convert it without
specializing DEFINE_PROP_LINK which always uses the qdev general check
callback, move the extra check to device realize time.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e9cb190ad4cea8e6fd24afb973c5007b9a439bc9
      
https://github.com/qemu/qemu/commit/e9cb190ad4cea8e6fd24afb973c5007b9a439bc9
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/misc/ivshmem.c

  Log Message:
  -----------
  ivshmem: Convert to DEFINE_PROP_LINK

Unlike the usual object_property_add_link() invocations in other
devices, ivshmem checks the "is mapped" state of the backend in addition
to qdev_prop_allow_set_link_before_realize. To convert it without
specializing DEFINE_PROP_LINK which always uses the qdev callback, move
the extra check to device realize time.

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e4934bb39c76bd86cccae384f2b5ef414d6f2dcb
      
https://github.com/qemu/qemu/commit/e4934bb39c76bd86cccae384f2b5ef414d6f2dcb
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/misc/mips_cmgcr.c

  Log Message:
  -----------
  mips_cmgcr: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c7e002c55acd82c8b7f512d52fe3fb6f94c1939e
      
https://github.com/qemu/qemu/commit/c7e002c55acd82c8b7f512d52fe3fb6f94c1939e
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M exec.c
    M include/qom/cpu.h
    M qom/cpu.c

  Log Message:
  -----------
  cpu: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 68c761e19c2ea453f880dbbd04e867d34d1468b8
      
https://github.com/qemu/qemu/commit/68c761e19c2ea453f880dbbd04e867d34d1468b8
  Author: Fam Zheng <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M hw/ppc/spapr_rng.c

  Log Message:
  -----------
  spapr_rng: Convert to DEFINE_PROP_LINK

Signed-off-by: Fam Zheng <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6c6076662d98c068059983d411cb2a8987ba5670
      
https://github.com/qemu/qemu/commit/6c6076662d98c068059983d411cb2a8987ba5670
  Author: Peter Maydell <address@hidden>
  Date:   2017-07-14 (Fri, 14 Jul 2017)

  Changed paths:
    M MAINTAINERS
    M accel/tcg/translate-all.c
    M backends/rng-egd.c
    M block/nbd-client.c
    M block/nbd-client.h
    M block/nbd.c
    M bsd-user/qemu.h
    M chardev/char-fe.c
    M chardev/char-mux.c
    M chardev/char-socket.c
    M chardev/char.c
    M configure
    M exec.c
    M gdbstub.c
    M hmp-commands.hx
    M hmp.c
    M hmp.h
    M hw/alpha/typhoon.c
    M hw/arm/pxa2xx.c
    M hw/arm/strongarm.c
    M hw/block/virtio-blk.c
    M hw/char/bcm2835_aux.c
    M hw/char/cadence_uart.c
    M hw/char/debugcon.c
    M hw/char/digic-uart.c
    M hw/char/escc.c
    M hw/char/etraxfs_ser.c
    M hw/char/exynos4210_uart.c
    M hw/char/grlib_apbuart.c
    M hw/char/imx_serial.c
    M hw/char/ipoctal232.c
    M hw/char/lm32_juart.c
    M hw/char/lm32_uart.c
    M hw/char/mcf_uart.c
    M hw/char/milkymist-uart.c
    M hw/char/parallel.c
    M hw/char/pl011.c
    M hw/char/sclpconsole-lm.c
    M hw/char/sclpconsole.c
    M hw/char/serial.c
    M hw/char/sh_serial.c
    M hw/char/spapr_vty.c
    M hw/char/stm32f2xx_usart.c
    M hw/char/terminal3270.c
    M hw/char/virtio-console.c
    M hw/char/xen_console.c
    M hw/char/xilinx_uartlite.c
    M hw/core/qdev-properties-system.c
    M hw/core/qdev-properties.c
    M hw/core/qdev.c
    M hw/display/xlnx_dp.c
    M hw/dma/rc4030.c
    M hw/i386/amd_iommu.c
    M hw/i386/amd_iommu.h
    M hw/i386/intel_iommu.c
    M hw/i386/kvmvapic.c
    M hw/ipmi/ipmi.c
    M hw/ipmi/ipmi_bmc_extern.c
    M hw/mem/pc-dimm.c
    M hw/mips/boston.c
    M hw/mips/mips_jazz.c
    M hw/mips/mips_malta.c
    M hw/misc/ivshmem.c
    M hw/misc/mips_cmgcr.c
    M hw/pci-host/apb.c
    M hw/ppc/spapr_iommu.c
    M hw/ppc/spapr_rng.c
    M hw/s390x/css.c
    M hw/s390x/s390-pci-bus.c
    M hw/s390x/s390-pci-bus.h
    M hw/s390x/s390-pci-inst.c
    M hw/s390x/virtio-ccw.c
    M hw/scsi/virtio-scsi.c
    M hw/usb/ccid-card-passthru.c
    M hw/usb/dev-serial.c
    M hw/usb/redirect.c
    M hw/vfio/common.c
    M hw/vfio/spapr.c
    M hw/virtio/virtio-crypto-pci.c
    M hw/virtio/virtio-crypto.c
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio-rng.c
    M include/block/nbd.h
    M include/chardev/char-fe.h
    M include/chardev/char.h
    M include/exec/exec-all.h
    M include/exec/gdbstub.h
    M include/exec/memory.h
    M include/hw/i386/intel_iommu.h
    M include/hw/mips/mips.h
    M include/hw/ppc/spapr.h
    M include/hw/qdev-core.h
    M include/hw/qdev-properties.h
    M include/hw/s390x/css.h
    M include/hw/vfio/vfio-common.h
    M include/qemu/typedefs.h
    M include/qom/cpu.h
    M include/qom/object.h
    M linux-user/syscall.c
    M memory.c
    M monitor.c
    M nbd/client.c
    M nbd/common.c
    M nbd/nbd-internal.h
    M nbd/server.c
    M nbd/trace-events
    M net/colo-compare.c
    M net/filter-mirror.c
    M net/slirp.c
    M net/vhost-user.c
    M qapi-schema.json
    M qemu-nbd.c
    M qmp.c
    M qom/cpu.c
    M qom/object.c
    M qtest.c
    M target/i386/cpu.c
    M target/ppc/translate_init.c
    M target/xtensa/xtensa-semi.c
    M tests/test-char.c
    M tests/test-hmp.c
    M tests/vhost-user-test.c
    M vl.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging

* gdbstub fixes (Alex)
* IOMMU MemoryRegion subclass (Alexey)
* Chardev hotswap (Anton)
* NBD_OPT_GO support (Eric)
* Misc bugfixes
* DEFINE_PROP_LINK (minus the ARM patches - Fam)
* MAINTAINERS updates (Philippe)

# gpg: Signature made Fri 14 Jul 2017 11:06:27 BST
# gpg:                using RSA key 0xBFFBD25F78C7AE83
# gpg: Good signature from "Paolo Bonzini <address@hidden>"
# gpg:                 aka "Paolo Bonzini <address@hidden>"
# Primary key fingerprint: 46F5 9FBD 57D6 12E7 BFD4  E2F7 7E15 100C CD36 69B1
#      Subkey fingerprint: F133 3857 4B66 2389 866C  7682 BFFB D25F 78C7 AE83

* remotes/bonzini/tags/for-upstream: (55 commits)
  spapr_rng: Convert to DEFINE_PROP_LINK
  cpu: Convert to DEFINE_PROP_LINK
  mips_cmgcr: Convert to DEFINE_PROP_LINK
  ivshmem: Convert to DEFINE_PROP_LINK
  dimm: Convert to DEFINE_PROP_LINK
  virtio-crypto: Convert to DEFINE_PROP_LINK
  virtio-rng: Convert to DEFINE_PROP_LINK
  virtio-scsi: Convert to DEFINE_PROP_LINK
  virtio-blk: Convert to DEFINE_PROP_LINK
  qdev: Add const qualifier to PropertyInfo definitions
  qmp: Use ObjectProperty.type if present
  qdev: Introduce DEFINE_PROP_LINK
  qdev: Introduce PropertyInfo.create
  qom: enforce readonly nature of link's check callback
  translate-all: remove redundant !tcg_enabled check in dump_exec_info
  vl: fix breakage of -tb-size
  nbd: Implement NBD_INFO_BLOCK_SIZE on client
  nbd: Implement NBD_INFO_BLOCK_SIZE on server
  nbd: Implement NBD_OPT_GO on client
  nbd: Implement NBD_OPT_GO on server
  ...

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


Compare: https://github.com/qemu/qemu/compare/7d367e7002c3...6c6076662d98

reply via email to

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