All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PULL v3 00/79] Misc patches for 2018-09-30
@ 2018-10-01 15:29 Paolo Bonzini
  2018-10-01 17:16 ` Peter Maydell
  0 siblings, 1 reply; 2+ messages in thread
From: Paolo Bonzini @ 2018-10-01 15:29 UTC (permalink / raw)
  To: qemu-devel

The following changes since commit 042938f46e1c477419d1931381fdadffaa49d45e:

  Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180926a' into staging (2018-09-28 17:07:23 +0100)

are available in the Git repository at:

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

for you to fetch changes up to 72d09800e7b85fa1a14b88d341ca8c042d236cba:

  hw/scsi/mptendian: Avoid taking address of fields in packed structs (2018-10-01 17:28:02 +0200)

----------------------------------------------------------------
* configure fix for environment variables (Daniel)
* fix memory leaks (Alex)
* x86_64 MTTCG fixes (Emilio)
* introduce atomic64 (Emilio)
* Fix for virtio hang (Fam, myself)
* SH serial port fix (Geert)
* Deprecate rotation_rate for scsi-block (Fam)
* Extend memory-backend-file availability to all POSIX hosts (Hikaru)
* Memory API cleanups and fixes (Igor, Li Qiang, Peter, Philippe)
* MSI/IOMMU fix (Jan)
* Socket reconnection fixes (Marc-André)
* icount fixes (Emilio, myself)
* QSP fixes for Coverity (myself)
* Some record/replay improovements (Pavel)
* Packed struct fixes (Peter)
* Windows dump fixes and elf2dmp (Viktor)
* kvmclock fix (Yongji)

----------------------------------------------------------------
Alex Bennée (1):
      cpus: fix TCG kick timer leak

Daniel P. Berrangé (1):
      configure: preserve various environment variables in config.status

Emilio G. Cota (22):
      atomic: fix comment s/x64_64/x86_64/
      cpus: initialize timers_state.vm_clock_lock
      cacheinfo: add i/d cache_linesize_log
      util: add atomic64
      tests: add atomic64-bench
      qsp: use atomic64 accessors
      test-rcu-list: access n_reclaims and n_nodes_removed with atomic64
      cpus: access .qemu_icount with atomic64
      cpus: access .qemu_icount_bias with atomic64
      target/i386: move cpu_cc_srcT to DisasContext
      target/i386: move cpu_A0 to DisasContext
      target/i386: move cpu_T0 to DisasContext
      target/i386: move cpu_T1 to DisasContext
      target/i386: move cpu_tmp0 to DisasContext
      target/i386: move cpu_tmp4 to DisasContext
      target/i386: move cpu_ptr0 to DisasContext
      target/i386: move cpu_ptr1 to DisasContext
      target/i386: move cpu_tmp2_i32 to DisasContext
      target/i386: move cpu_tmp3_i32 to DisasContext
      target/i386: move cpu_tmp1_i64 to DisasContext
      target/i386: move x86_64_hregs to DisasContext
      configure: enable mttcg for i386 and x86_64

Fam Zheng (2):
      virtio: Return true from virtio_queue_empty if broken
      scsi-block: Deprecate rotation_rate

Geert Uytterhoeven (1):
      hw/char/sh_serial: Add timeout handling to unbreak serial input

Hikaru Nishida (1):
      hostmem-file: make available memory-backend-file on POSIX-based hosts

Igor Mammedov (1):
      memory: cleanup side effects of memory_region_init_foo() on failure

Jan Kiszka (1):
      kvm: x86: Fix kvm_arch_fixup_msi_route for remap-less case

Li Qiang (5):
      fw_cfg_mem: add read memory region callback
      hw: debugexit: add read callback
      hw: pc-testdev: add read memory region callback
      hw: hyperv_testdev: add read callback
      hw: edu: replace device name with macro

Li Zhijian (1):
      change get_image_size return type to int64_t

Liran Alon (1):
      i386: Compile CPUX86State xsave_buf only when support KVM or HVF

Marc-André Lureau (9):
      hostmem-memfd: add checks before adding hostmem-memfd & properties
      util: add qemu_write_pidfile()
      util: use fcntl() for qemu_write_pidfile() locking
      Delete PID file on exit
      Revert "chardev: tcp: postpone TLS work until machine done"
      Revert "chardev: tcp: postpone async connection setup"
      char-socket: update all ioc handlers when changing context
      test-char: add socket reconnect test
      qom/object: add some interface asserts

Mark Cave-Ayland (1):
      lsi53c895a: convert to trace-events

Paolo Bonzini (9):
      qsp: hide indirect function calls from Coverity
      es1370: fix ADC_FRAMEADR and ADC_FRAMECNT
      cpus: take seqlock across qemu_icount updates
      serial: fix DLL writes
      char-pty: remove unnecessary #ifdef
      target/i386: unify masking of interrupts
      target/i386: rename HF_SVMI_MASK to HF_GUEST_MASK
      hvf: drop unused variable
      virtio: do not take address of packed members

Pavel Dovgalyuk (10):
      ps2: prevent changing irq state on save and load
      replay: wake up vCPU when replaying
      replay: flush events when exiting
      translator: fix breakpoint processing
      replay: allow loading any snapshots before recording
      timer: introduce new virtual clock
      slirp: fix ipv6 timers
      ui: fix virtual timers
      target/i386: fix translation for icount mode
      replay: replay BH for IDE trim operation

Peter Maydell (4):
      memory: Remove old_mmio accessors
      hw/nvram/fw_cfg: Use memberwise copy of MemoryRegionOps struct
      docs/devel/memory.txt: Document _with_attrs accessors
      hw/scsi/mptendian: Avoid taking address of fields in packed structs

Philippe Mathieu-Daudé (3):
      memory: Use MAKE_64BIT_MASK()
      memory: Refactor common shifting code from accessors
      memory: Fix access_with_adjusted_size(small size) on big-endian memory regions

Thomas Huth (1):
      accel/tcg: Remove dead code

Viktor Prutyanov (4):
      dump: fix Windows dump memory run mapping
      dump: move Windows dump structures definitions
      contrib: add elf2dmp tool
      MAINTAINERS: add myself as elf2dmp maintainer

Yongji Xie (1):
      kvmclock: run KVM_KVMCLOCK_CTRL ioctl in vcpu thread

 MAINTAINERS                   |    5 +
 Makefile                      |    5 +
 Makefile.objs                 |    1 +
 accel/tcg/translate-all.c     |    9 -
 accel/tcg/translator.c        |    8 +-
 backends/Makefile.objs        |    2 +-
 backends/hostmem-file.c       |    2 +-
 backends/hostmem-memfd.c      |   32 +-
 chardev/char-pty.c            |    6 -
 chardev/char-socket.c         |   86 +-
 configure                     |   45 +
 contrib/elf2dmp/Makefile.objs |    1 +
 contrib/elf2dmp/addrspace.c   |  233 ++++
 contrib/elf2dmp/addrspace.h   |   44 +
 contrib/elf2dmp/download.c    |   47 +
 contrib/elf2dmp/download.h    |   13 +
 contrib/elf2dmp/err.h         |   13 +
 contrib/elf2dmp/kdbg.h        |  194 ++++
 contrib/elf2dmp/main.c        |  589 ++++++++++
 contrib/elf2dmp/pdb.c         |  322 ++++++
 contrib/elf2dmp/pdb.h         |  241 ++++
 contrib/elf2dmp/pe.h          |  121 ++
 contrib/elf2dmp/qemu_elf.c    |  164 +++
 contrib/elf2dmp/qemu_elf.h    |   51 +
 cpus.c                        |   84 +-
 docs/devel/memory.txt         |   13 +-
 exec.c                        |    4 +-
 hw/alpha/dp264.c              |    3 +-
 hw/audio/es1370.c             |   10 +-
 hw/char/serial.c              |    4 +-
 hw/char/sh_serial.c           |   20 +
 hw/char/virtio-serial-bus.c   |    6 +-
 hw/core/loader.c              |    5 +-
 hw/hppa/machine.c             |    2 +-
 hw/i386/kvm/clock.c           |   17 +-
 hw/i386/pc.c                  |    7 +-
 hw/ide/core.c                 |    3 +-
 hw/input/ps2.c                |    8 +-
 hw/mips/mips_fulong2e.c       |    4 +-
 hw/mips/mips_malta.c          |    4 +-
 hw/mips/mips_mipssim.c        |    3 +-
 hw/mips/mips_r4k.c            |    4 +-
 hw/misc/debugexit.c           |    6 +
 hw/misc/edu.c                 |    5 +-
 hw/misc/hyperv_testdev.c      |   10 +-
 hw/misc/pc-testdev.c          |   20 +-
 hw/moxie/moxiesim.c           |    2 +-
 hw/nvram/fw_cfg.c             |   13 +-
 hw/scsi/lsi53c895a.c          |  214 ++--
 hw/scsi/mptendian.c           |  163 +--
 hw/scsi/scsi-disk.c           |    6 +
 hw/scsi/trace-events          |   62 ++
 hw/virtio/virtio.c            |    8 +
 include/exec/memory.h         |    7 +-
 include/hw/loader.h           |    2 +-
 include/qemu/atomic.h         |   36 +-
 include/qemu/memfd.h          |   18 +-
 include/qemu/osdep.h          |    5 +-
 include/qemu/thread.h         |   17 +
 include/qemu/timer.h          |    9 +
 include/qemu/win_dump_defs.h  |  179 +++
 include/sysemu/replay.h       |    3 +
 memory.c                      |  163 +--
 os-posix.c                    |   24 -
 os-win32.c                    |   25 -
 qga/main.c                    |   54 +-
 qom/object.c                  |    9 +-
 replay/replay-events.c        |   14 +-
 replay/replay-internal.h      |    2 -
 replay/replay-snapshot.c      |   17 +-
 replay/replay.c               |   12 +
 scsi/qemu-pr-helper.c         |   40 +-
 slirp/ip6_icmp.c              |    7 +-
 target/i386/cpu.c             |   51 +-
 target/i386/cpu.h             |    9 +-
 target/i386/excp_helper.c     |    2 +-
 target/i386/hvf/README.md     |    2 +-
 target/i386/hvf/hvf.c         |    3 +-
 target/i386/hvf/x86hvf.c      |    4 +-
 target/i386/kvm.c             |   10 +-
 target/i386/seg_helper.c      |  112 +-
 target/i386/svm_helper.c      |    6 +-
 target/i386/translate.c       | 2474 +++++++++++++++++++++--------------------
 tests/Makefile.include        |    3 +-
 tests/atomic64-bench.c        |  171 +++
 tests/test-char.c             |   18 +-
 tests/test-rcu-list.c         |   20 +-
 tests/vhost-user-test.c       |    6 +-
 ui/input.c                    |    8 +-
 util/Makefile.objs            |    1 +
 util/atomic64.c               |   83 ++
 util/cacheinfo.c              |   11 +
 util/memfd.c                  |   35 +-
 util/oslib-posix.c            |   73 ++
 util/oslib-win32.c            |   27 +
 util/qemu-timer.c             |    2 +
 util/qsp.c                    |   49 +-
 vl.c                          |   25 +-
 win_dump.c                    |   40 +-
 win_dump.h                    |  166 +--
 100 files changed, 4814 insertions(+), 2184 deletions(-)
 create mode 100644 contrib/elf2dmp/Makefile.objs
 create mode 100644 contrib/elf2dmp/addrspace.c
 create mode 100644 contrib/elf2dmp/addrspace.h
 create mode 100644 contrib/elf2dmp/download.c
 create mode 100644 contrib/elf2dmp/download.h
 create mode 100644 contrib/elf2dmp/err.h
 create mode 100644 contrib/elf2dmp/kdbg.h
 create mode 100644 contrib/elf2dmp/main.c
 create mode 100644 contrib/elf2dmp/pdb.c
 create mode 100644 contrib/elf2dmp/pdb.h
 create mode 100644 contrib/elf2dmp/pe.h
 create mode 100644 contrib/elf2dmp/qemu_elf.c
 create mode 100644 contrib/elf2dmp/qemu_elf.h
 create mode 100644 include/qemu/win_dump_defs.h
 create mode 100644 tests/atomic64-bench.c
 create mode 100644 util/atomic64.c
-- 
2.17.1

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PULL v3 00/79] Misc patches for 2018-09-30
  2018-10-01 15:29 [Qemu-devel] [PULL v3 00/79] Misc patches for 2018-09-30 Paolo Bonzini
@ 2018-10-01 17:16 ` Peter Maydell
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Maydell @ 2018-10-01 17:16 UTC (permalink / raw)
  To: Paolo Bonzini; +Cc: QEMU Developers

On 1 October 2018 at 16:29, Paolo Bonzini <pbonzini@redhat.com> wrote:
> The following changes since commit 042938f46e1c477419d1931381fdadffaa49d45e:
>
>   Merge remote-tracking branch 'remotes/dgilbert/tags/pull-migration-20180926a' into staging (2018-09-28 17:07:23 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/bonzini/qemu.git tags/for-upstream
>
> for you to fetch changes up to 72d09800e7b85fa1a14b88d341ca8c042d236cba:
>
>   hw/scsi/mptendian: Avoid taking address of fields in packed structs (2018-10-01 17:28:02 +0200)
>
> ----------------------------------------------------------------
> * configure fix for environment variables (Daniel)
> * fix memory leaks (Alex)
> * x86_64 MTTCG fixes (Emilio)
> * introduce atomic64 (Emilio)
> * Fix for virtio hang (Fam, myself)
> * SH serial port fix (Geert)
> * Deprecate rotation_rate for scsi-block (Fam)
> * Extend memory-backend-file availability to all POSIX hosts (Hikaru)
> * Memory API cleanups and fixes (Igor, Li Qiang, Peter, Philippe)
> * MSI/IOMMU fix (Jan)
> * Socket reconnection fixes (Marc-André)
> * icount fixes (Emilio, myself)
> * QSP fixes for Coverity (myself)
> * Some record/replay improovements (Pavel)
> * Packed struct fixes (Peter)
> * Windows dump fixes and elf2dmp (Viktor)
> * kvmclock fix (Yongji)
>
> ----------------------------------------------------------------

Hi; compile failures due to format string issues, I'm afraid:

/home/petmay01/qemu-for-merges/hw/mips/mips_r4k.c: In function 'load_kernel':
/home/petmay01/qemu-for-merges/hw/mips/mips_r4k.c:139:47: error:
format '%li' expects argument of type 'long int', but argument 5 has
type 'int64_t {aka long long int}' [-Werror=format=]
         snprintf((char *)params_buf + 8, 256, "rd_start=0x%" PRIx64 "
rd_size=%li %s",
                                               ^
cc1: all warnings being treated as errors

/home/petmay01/qemu-for-merges/hw/mips/mips_malta.c: In function 'load_kernel':
/home/petmay01/qemu-for-merges/hw/mips/mips_malta.c:1073:42: error:
format '%li' expects argument of type 'long int', but argument 5 has
type 'int64_t {aka long long int}' [-Werror=format=]
         prom_set(prom_buf, prom_index++, "rd_start=0x%" PRIx64 "
rd_size=%li %s",
                                          ^

I also saw this in the freebsd VM test:

MALLOC_PERTURB_=${MALLOC_PERTURB_:-$(( ${RANDOM:-0} % 255 + 1))}
gtester -k --verbose -m=quick tests/test-char
TEST: tests/test-char... (pid=15938)
  /char/null:                                                          OK
  /char/invalid:                                                       OK
  /char/ringbuf:                                                       OK
  /char/mux:                                                           OK
  /char/stdio:                                                         OK
  /char/pipe:                                                          OK
  /char/file:                                                          OK
  /char/file-fifo:                                                     OK
  /char/udp:                                                           OK
  /char/serial:                                                        OK
  /char/hotswap:                                                       OK
  /char/socket/basic:                                                  OK
  /char/socket/reconnect:                                              FAIL
GTester: last random seed: R02S615917be6302ea7de5d0fc9c58149953
(pid=16010)
  /char/socket/fdpass:                                                 OK
FAIL: tests/test-char
**
ERROR:tests/test-char.c:353:char_socket_test_common: assertion failed:
(object_property_get_bool(OBJECT(chr_client), "connected",
&error_abort))
gmake: *** [/var/tmp/qemu-test.YRve5C/tests/Makefile.include:925:
check-tests/test-char] Error 1


Haven't seen that before, so maybe it's something in this patchset;
it could be a pre-existing intermittent though I suppose.

thanks
-- PMM

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-01 17:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-01 15:29 [Qemu-devel] [PULL v3 00/79] Misc patches for 2018-09-30 Paolo Bonzini
2018-10-01 17:16 ` Peter Maydell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.