Skip to contentSkip to conversation

SCSI, build, TCG, RCU, misc patches for 2015-08-12

GIT PULL Paolo Bonzini 2 participants 6 messages Aug 14, 2015

lore
Share & tools
lore
#0 lore raw

The following changes since commit cb48f67ad8c7b33c617d4f8144a27706e69fd688:

bsd-user: Fix operand to cpu_x86_exec (2015-07-30 12:38:49 +0100)

are available in the git repository at:

git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 2dfebe37e6210278cddd070761ee543f49a8a82d:

disas: Defeature print_target_address (2015-08-13 11:33:35 +0200)

----------------------------------------------------------------
* SCSI fixes from Stefan and Fam
* vhost-scsi fix from Igor and Lu Lina
* a build system fix from Daniel
* two more multi-arch-related patches from Peter C.
* TCG patches from myself and Sergey Fedorov
* RCU improvement from Wen Congyang
* enabling module builds by default
* a few more simple cleanups

----------------------------------------------------------------
Chen Hanxiao (1):
exec: use macro ROUND_UP for alignment

Daniel P. Berrange (1):
configure: only add CONFIG_RDMA to config-host.h once

Fam Zheng (3):
scsi-disk: Fix assertion failure on WRITE SAME
virtio-scsi-test: Add test case for tail unaligned WRITE SAME
configure: Default to enable module build

Igor Mammedov (1):
vhost/scsi: call vhost_dev_cleanup() at unrealize() time

Lu Lina (1):
vhost-scsi: Clarify vhost_virtqueue_mask argument

Paolo Bonzini (6):
exec: drop cpu_can_do_io, just read cpu->can_do_io
qemu-nbd: remove unnecessary qemu_notify_event()
scsi: create restart bottom half in the right AioContext
scsi-disk: identify AIO callbacks more clearly
scsi-generic: identify AIO callbacks more clearly
hw: fix mask for ColdFire UART command register

Peter Crosthwaite (2):
cpu_defs: Simplify CPUTLB padding logic
disas: Defeature print_target_address

Sergey Fedorov (1):
cpu-exec: Do not invalidate original TB in cpu_exec_nocache()

Stefan Hajnoczi (3):
virtio-scsi: use virtqueue_map_sg() when loading requests
scsi-disk: fix cmd.mode field typo
tests: virtio-scsi: clear unit attention after reset

Wen Congyang (1):
rcu: Allow calling rcu_(un)register_thread() during synchronize_rcu()

 .travis.yml              |   2 +-
 configure                | 127 +++++++++++++++++++++++++++++++----------------
 cpu-exec.c               |  10 ++--
 cpus.c                   |   2 +-
 disas.c                  |  12 +----
 exec.c                   |   2 +-
 hw/char/mcf_uart.c       |   2 +-
 hw/scsi/scsi-bus.c       |   3 +-
 hw/scsi/scsi-disk.c      |  97 ++++++++++++++++++++++++------------
 hw/scsi/scsi-generic.c   |  66 ++++++++++++++----------
 hw/scsi/vhost-scsi.c     |   3 +-
 hw/scsi/virtio-scsi.c    |   5 ++
 include/exec/cpu-defs.h  |  23 +++++----
 include/exec/exec-all.h  |  23 +--------
 include/qom/cpu.h        |   4 +-
 qemu-nbd.c               |   1 -
 qom/cpu.c                |   2 +-
 softmmu_template.h       |   4 +-
 tests/virtio-scsi-test.c | 100 +++++++++++++++++++++++--------------
 translate-all.c          |  11 +++-
 util/rcu.c               |  48 +++++++++++++-----
 21 files changed, 337 insertions(+), 210 deletions(-)
Signature · 1 line
2.4.3
#1 lore raw

[Qemu-devel] [PULL v2 09/20] configure: Default to enable module build

From: Fam Zheng <[email protected]>

We have module build support around for a while, but also had it bitrot several times. It probably makes sense to enable it by default so that people can notice and use it.

Add --disable-modules as a counterpart to --enable-modules, which is now turned on by default. If both are omitted, support is guessed as usual.

pie is now checked for all platforms, because it's depended on by module build.

Message-Id: <[email protected]>

---
 .travis.yml |   2 +-
 configure   | 123 +++++++++++++++++++++++++++++++++++++++++-------------------
 2 files changed, 86 insertions(+), 39 deletions(-)
.travis.yml +1 -1
index 0ac170b..12bf1db 100644
@@ -99,5 +99,5 @@ matrix:
           EXTRA_CONFIG="--enable-trace-backends=ust"
       compiler: gcc
     - env: TARGETS=i386-softmmu,x86_64-softmmu
-           EXTRA_CONFIG="--enable-modules"
+           EXTRA_CONFIG="--disable-modules"
       compiler: gcc
configure +85 -38

166 lines not on this page · raw message

Signature · 1 line
2.4.3
#2 lore raw
In reply to Paolo Bonzini
Quoted 12 lines · Paolo Bonzini

The following changes since commit cb48f67ad8c7b33c617d4f8144a27706e69fd688:

bsd-user: Fix operand to cpu_x86_exec (2015-07-30 12:38:49 +0100)

are available in the git repository at:

git://github.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 2dfebe37e6210278cddd070761ee543f49a8a82d:

disas: Defeature print_target_address (2015-08-13 11:33:35 +0200)

Quoted 9 lines

----------------------------------------------------------------
* SCSI fixes from Stefan and Fam
* vhost-scsi fix from Igor and Lu Lina
* a build system fix from Daniel
* two more multi-arch-related patches from Peter C.
* TCG patches from myself and Sergey Fedorov
* RCU improvement from Wen Congyang
* enabling module builds by default
* a few more simple cleanups

Hi; I'm afraid this failed to build on my w32 config:

/home/petmay01/linaro/qemu-for-merges/block/dmg.c:1: warning: -fPIC ignored for target (all code is position independent)

(I have warnings-are-errors enabled.)

thanks
-- PMM

#3 lore raw
Quoted 6 lines · Peter Maydell

Hi; I'm afraid this failed to build on my w32 config:

/home/petmay01/linaro/qemu-for-merges/block/dmg.c:1: warning: -fPIC ignored for target (all code is position independent)

(I have warnings-are-errors enabled.)

This is a very weird warning, also warnings-are-errors does not build for me with Win32.

Paolo

#4 lore raw
Quoted 5 lines · Paolo Bonzini
Quoted 2 lines · Peter Maydell

Hi; I'm afraid this failed to build on my w32 config:

Quoted 7 lines
Quoted 4 lines

/home/petmay01/linaro/qemu-for-merges/block/dmg.c:1: warning: -fPIC ignored for target (all code is position independent)

(I have warnings-are-errors enabled.)

This is a very weird warning, also warnings-are-errors does not build for me with Win32.

Having googled about it, I will have to submit v3. The warning is totally idiotic, to the point that I might make an exception to the usual "attack code, not people" rule.

Paolo

#5 lore raw
In reply to Paolo Bonzini
Quoted 5 lines · Paolo Bonzini
Quoted 2 lines · Peter Maydell

Hi; I'm afraid this failed to build on my w32 config:

Quoted 7 lines
Quoted 4 lines

/home/petmay01/linaro/qemu-for-merges/block/dmg.c:1: warning: -fPIC ignored for target (all code is position independent)

(I have warnings-are-errors enabled.)

This is a very weird warning, also warnings-are-errors does not build for me with Win32.

I agree it's a bit weird, but there it is. Even if we don't have warnings-as-errors we don't want a warning line for every .c-to-.o compilation...

I think some mingw setups still emit warnings, but I've been able to get to the point with the setup I use for build tests where I can build with -Werror in the --extra-cflags string.

-- PMM