qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 0dd693: sandbox: disable -sandbox if CONFIG_S


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 0dd693: sandbox: disable -sandbox if CONFIG_SECCOMP undefi...
Date: Mon, 04 Jun 2018 02:13:39 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 0dd693ef1f15b6e9c4ba8b0118663e10338077cf
      
https://github.com/qemu/qemu/commit/0dd693ef1f15b6e9c4ba8b0118663e10338077cf
  Author: Yi Min Zhao <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

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

  Log Message:
  -----------
  sandbox: disable -sandbox if CONFIG_SECCOMP undefined

If CONFIG_SECCOMP is undefined, the option 'elevateprivileges' remains
compiled. This would make libvirt set the corresponding capability and
then trigger failure during guest startup. This patch moves the code
regarding seccomp command line options to qemu-seccomp.c file and
wraps qemu_opts_foreach finding sandbox option with CONFIG_SECCOMP.
Because parse_sandbox() is moved into qemu-seccomp.c file, change
seccomp_start() to static function.

Signed-off-by: Yi Min Zhao <address@hidden>
Reviewed-by: Ján Tomko <address@hidden>
Tested-by: Ján Tomko <address@hidden>
Acked-by: Eduardo Otubo <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d791937fa0db6e6f64fc0e60c6aaf881ce51f083
      
https://github.com/qemu/qemu/commit/d791937fa0db6e6f64fc0e60c6aaf881ce51f083
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M hw/vfio/ccw.c
    M hw/vfio/platform.c
    M include/hw/vfio/vfio-common.h

  Log Message:
  -----------
  vfio: Include "exec/address-spaces.h" directly in the source file

No declaration of "hw/vfio/vfio-common.h" directly requires to include
the "exec/address-spaces.h" header.  To simplify dependencies and
ease the upcoming cleanup of "exec/address-spaces.h", directly include
it in the source file where the declaration are used.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: df924c06430f55ed527f564adcab358c71cf3c85
      
https://github.com/qemu/qemu/commit/df924c06430f55ed527f564adcab358c71cf3c85
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M accel/tcg/cpu-exec.c

  Log Message:
  -----------
  accel: Do not include "exec/address-spaces.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/address-spaces.h"' accel | \
      cut -d: -f-1 | \
      xargs egrep -L "(get_system_|address_space_)" | \
      xargs sed -i.bak '/#include "exec\/address-spaces.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 25a3173a0cd318445f274d82543d9a8133b4c384
      
https://github.com/qemu/qemu/commit/25a3173a0cd318445f274d82543d9a8133b4c384
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M target/i386/hvf/x86_task.c
    M target/s390x/kvm.c
    M target/s390x/mem_helper.c
    M target/s390x/misc_helper.c
    M target/sparc/mmu_helper.c

  Log Message:
  -----------
  target: Do not include "exec/address-spaces.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/address-spaces.h"' target | \
      cut -d: -f-1 | \
      xargs egrep -L "(get_system_|address_space_)" | \
      xargs sed -i.bak '/#include "exec\/address-spaces.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 86b246534b488f1882ac545ffc76fe896185efd0
      
https://github.com/qemu/qemu/commit/86b246534b488f1882ac545ffc76fe896185efd0
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Do not include "exec/ioport.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/ioport.h"' memory.c | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 383952e7c8ad8bd856af460e290f2662cf6caec0
      
https://github.com/qemu/qemu/commit/383952e7c8ad8bd856af460e290f2662cf6caec0
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M target/i386/hax-all.c
    M target/i386/hvf/hvf.c
    M target/i386/hvf/x86_task.c
    M target/i386/kvm.c

  Log Message:
  -----------
  target/i386: Do not include "exec/ioport.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/ioport.h"' target | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35
      
https://github.com/qemu/qemu/commit/3a739112daf4a47d8fd33a52a7d7a72e4c1c5e35
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M target/xtensa/core-dc232b.c

  Log Message:
  -----------
  target/xtensa: Include "qemu/timer.h" to use NANOSECONDS_PER_SECOND

Since d0ce7e9cfc the dc232b structure uses the NANOSECONDS_PER_SECOND
definition from "qemu/timer.h".  Include it to allow further includes
cleanup.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 9b87338ff36ae1f84aec75395520c2ab232ed017
      
https://github.com/qemu/qemu/commit/9b87338ff36ae1f84aec75395520c2ab232ed017
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M target/ppc/helper_regs.h

  Log Message:
  -----------
  target/ppc: Include "exec/exec-all.h" which provides tlb_flush()

Since it inception this include uses tlb_flush() declared in "exec/exec-all.h".
Include the other header to allow further includes cleanup.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0d114d0d5b9f3d10a1148b2412865e177ea5e4b9
      
https://github.com/qemu/qemu/commit/0d114d0d5b9f3d10a1148b2412865e177ea5e4b9
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M target/hppa/int_helper.c

  Log Message:
  -----------
  target/hppa: Include "qemu/log.h" to use qemu_log()

Since his inception in 61766fe9e2d, this file uses the qemu_log()
API from "qemu/log.h".  Include it to allow further includes
cleanup.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 05757c5d8753a600a9ef6f1f0509cd51ba3c91b4
      
https://github.com/qemu/qemu/commit/05757c5d8753a600a9ef6f1f0509cd51ba3c91b4
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M bsd-user/mmap.c

  Log Message:
  -----------
  bsd-user: include "exec/exec-all.h" which provides mmap_lock/unlock"

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


  Commit: 23c11b04dcc508536a7a39e723058523a94013a4
      
https://github.com/qemu/qemu/commit/23c11b04dcc508536a7a39e723058523a94013a4
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M bsd-user/qemu.h
    M hw/i386/kvmvapic.c
    M target/arm/arm-powerctl.c
    M target/arm/arm_ldst.h
    M target/arm/crypto_helper.c
    M target/arm/iwmmxt_helper.c
    M target/arm/neon_helper.c
    M target/arm/psci.c
    M target/arm/vec_helper.c
    M target/cris/cpu.c
    M target/hppa/helper.c
    M target/hppa/int_helper.c
    M target/i386/hax-all.c
    M target/i386/hax-mem.c
    M target/i386/hax-windows.c
    M target/i386/hvf/hvf.c
    M target/i386/hvf/x86_task.c
    M target/i386/whpx-all.c
    M target/lm32/cpu.c
    M target/m68k/cpu.c
    M target/moxie/cpu.c
    M target/moxie/mmu.c
    M target/openrisc/cpu.c
    M target/ppc/int_helper.c
    M target/s390x/cpu.c
    M target/s390x/diag.c
    M target/s390x/helper.c
    M target/tilegx/cpu.c
    M target/xtensa/core-dc232b.c
    M target/xtensa/core-dc233c.c
    M target/xtensa/core-de212.c
    M target/xtensa/core-fsf.c
    M target/xtensa/core-sample_controller.c
    M target/xtensa/cpu.c
    M target/xtensa/import_core.sh
    M tcg/tcg-op-vec.c

  Log Message:
  -----------
  target: Do not include "exec/exec-all.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/exec-all.h"' | \
      cut -d: -f-1 | \
      xargs egrep -L 
"(cpu_address_space_init|cpu_loop_|tlb_|tb_|GETPC|singlestep|TranslationBlock)" 
| \
      xargs sed -i.bak '/#include "exec\/exec-all.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 23cecc2717cec380ba5898d48969f0a5432c1043
      
https://github.com/qemu/qemu/commit/23cecc2717cec380ba5898d48969f0a5432c1043
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M target/nios2/cpu.h
    M target/nios2/op_helper.c

  Log Message:
  -----------
  nios2: do not include exec-all.h from cpu.h

exec-all.h contains TCG-specific declarations, it should only be
includer from helper C files.

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


  Commit: 9c5900bce58a775e13cee6668a26c4d2cd4edfb1
      
https://github.com/qemu/qemu/commit/9c5900bce58a775e13cee6668a26c4d2cd4edfb1
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c

  Log Message:
  -----------
  hw: Do not include "exec/ioport.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/ioport.h"' hw | \
      cut -d: -f-1 | \
      xargs egrep -Li "(portio|cpu_(in|out).\()" | \
      xargs sed -i.bak '/#include "exec\/ioport.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum<address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ab728275e48c7cd23f5f4df860f77a771125e3ac
      
https://github.com/qemu/qemu/commit/ab728275e48c7cd23f5f4df860f77a771125e3ac
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/arm/bcm2836.c
    M hw/arm/xlnx-zcu102.c
    M hw/block/onenand.c
    M hw/block/pflash_cfi01.c
    M hw/block/pflash_cfi02.c
    M hw/char/mcf_uart.c
    M hw/char/serial.c
    M hw/char/sh_serial.c
    M hw/core/loader-fit.c
    M hw/core/platform-bus.c
    M hw/display/sm501.c
    M hw/m68k/mcf5206.c
    M hw/m68k/mcf_intc.c
    M hw/misc/arm_integrator_debug.c
    M hw/net/mcf_fec.c
    M hw/net/ne2000-isa.c
    M hw/pci-host/versatile.c
    M hw/riscv/riscv_htif.c
    M hw/sh4/sh7750.c
    M hw/timer/sh_timer.c
    M include/hw/arm/allwinner-a10.h
    M include/hw/arm/bcm2835_peripherals.h
    M include/hw/display/bcm2835_fb.h
    M include/hw/dma/bcm2835_dma.h
    M include/hw/misc/bcm2835_mbox.h
    M include/hw/misc/bcm2835_property.h
    M include/hw/sh4/sh_intc.h
    M include/hw/virtio/virtio-access.h

  Log Message:
  -----------
  hw: Do not include "exec/address-spaces.h" if it is not necessary

Code change produced with:
    $ git grep '#include "exec/address-spaces.h"' hw include/hw | \
      cut -d: -f-1 | \
      xargs egrep -L "(get_system_|address_space_)" | \
      xargs sed -i.bak '/#include "exec\/address-spaces.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0304f9ec9c5fddd2bd3d830d5c4dbe0d54006aa5
      
https://github.com/qemu/qemu/commit/0304f9ec9c5fddd2bd3d830d5c4dbe0d54006aa5
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/arm/collie.c
    M hw/arm/gumstix.c
    M hw/arm/mainstone.c
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    M hw/arm/omap_sx1.c
    M hw/arm/pxa2xx.c
    M hw/arm/spitz.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/arm/virt.c
    M hw/arm/xilinx_zynq.c
    M hw/arm/z2.c
    M hw/block/dataplane/virtio-blk.c
    M hw/block/virtio-blk.c
    M hw/core/qdev-properties.c
    M hw/cris/axis_dev88.c
    M hw/display/tc6393xb.c
    M hw/ide/pci.c
    M hw/ide/via.c
    M hw/isa/isa-superio.c
    M hw/lm32/lm32_boards.c
    M hw/lm32/milkymist.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M hw/mips/mips_r4k.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/s390x/virtio-ccw.c
    M hw/scsi/mptsas.c
    M hw/sd/pl181.c
    M hw/sd/sdhci.c
    M hw/sd/ssi-sd.c
    M hw/sh4/r2d.c
    M hw/virtio/virtio-pci.c
    M hw/xen/xen_devconfig.c
    M hw/xtensa/xtfpga.c

  Log Message:
  -----------
  hw: Do not include "sysemu/block-backend.h" if it is not necessary

Remove those unneeded includes to speed up the compilation
process a little bit. (Continue 7eceff5b5a1fa cleanup)

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Acked-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 7dbaea42f101c7e47bf6cf3aed77ff903dfa2023
      
https://github.com/qemu/qemu/commit/7dbaea42f101c7e47bf6cf3aed77ff903dfa2023
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    M hw/mips/mips_malta.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/sam460ex.c

  Log Message:
  -----------
  hw: Do not include "sysemu/blockdev.h" if it is not necessary

The header "hw/boards.h" already includes "sysemu/blockdev.h".

Code change produced with:

    $ git grep '#include "sysemu/blockdev.h"' hw | \
      cut -d: -f-1 | \
      xargs fgrep -l '#include "hw/boards.h"' | \
      xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6dd046a3c4ecf9864653c00c83aba05d0539a372
      
https://github.com/qemu/qemu/commit/6dd046a3c4ecf9864653c00c83aba05d0539a372
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/block/m25p80.c
    M hw/block/onenand.c
    M hw/i386/xen/xen-mapcache.c
    M hw/s390x/virtio-ccw.c
    M hw/scsi/scsi-generic.c
    M hw/sd/sdhci.c
    M hw/usb/dev-storage.c
    M monitor.c

  Log Message:
  -----------
  hw: Do not include "sysemu/blockdev.h" if it is not necessary

Remove those unneeded includes to speed up the compilation
process a little bit.

Code change produced with:

    $ git grep '#include "sysemu/blockdev.h"' | \
      cut -d: -f-1 | \
      xargs egrep -L 
"(BlockInterfaceType|DriveInfo|drive_get|blk_legacy_dinfo|blockdev_mark_auto_del)"
 | \
      xargs sed -i.bak '/#include "sysemu\/blockdev.h"/d'

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6b39bad02e6a503eeea1be0631779e9ad4e1513c
      
https://github.com/qemu/qemu/commit/6b39bad02e6a503eeea1be0631779e9ad4e1513c
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/block/nvme.c
    M hw/block/nvme.h

  Log Message:
  -----------
  hw/block/nvme: Include "qemu/cutils.h" directly in the source file

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


  Commit: 921e1a2ab3ffd3b670e227078f564aaf846d154c
      
https://github.com/qemu/qemu/commit/921e1a2ab3ffd3b670e227078f564aaf846d154c
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/misc/mips_itu.c
    M include/hw/misc/mips_itu.h

  Log Message:
  -----------
  hw/misc/mips_itu: Cleanup includes

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b18aad5c99f63a00105d0b94aa5ca408ac3ce89d
      
https://github.com/qemu/qemu/commit/b18aad5c99f63a00105d0b94aa5ca408ac3ce89d
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/misc/sga.c

  Log Message:
  -----------
  hw/misc/sga: Use the correct ISA include

The SGA BIOS loader is an ISA device, it does not require the PCI header.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum<address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 6984e4a93237b1e251d6d68eb8c29f67d4cb3443
      
https://github.com/qemu/qemu/commit/6984e4a93237b1e251d6d68eb8c29f67d4cb3443
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/hppa/hppa_sys.h

  Log Message:
  -----------
  hw/hppa: Remove unused include

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 0f2cc50cfaa94bbd20e28ca2073e37cc0d47a534
      
https://github.com/qemu/qemu/commit/0f2cc50cfaa94bbd20e28ca2073e37cc0d47a534
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/i386/pc.c

  Log Message:
  -----------
  hw/i386/pc: Remove unused include

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Marcel Apfelbaum<address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ca473f23207eaf0ec7fab73ce642f914d73315dd
      
https://github.com/qemu/qemu/commit/ca473f23207eaf0ec7fab73ce642f914d73315dd
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/ide/core.c

  Log Message:
  -----------
  hw/ide: Remove unused include

There is no need to include pci.h in this file.
(Continue f23c81073a cleanup).

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: b969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2
      
https://github.com/qemu/qemu/commit/b969ea6bcddbac3c1956f5b8d0cc49dbd17f59a2
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M include/hw/devices.h

  Log Message:
  -----------
  hw: Clean "hw/devices.h" includes

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Acked-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 24ed11723230e43f44e9a1aef72e7c71714288d1
      
https://github.com/qemu/qemu/commit/24ed11723230e43f44e9a1aef72e7c71714288d1
  Author: Alexey Kardashevskiy <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M qapi/misc.json

  Log Message:
  -----------
  qom: Document qom/device-list-properties implementation specific

The recently introduced qom-list-properties QMP command raised
a question what properties it (and its cousin - device-list-properties)
can possibly print - only those defined by DeviceClass::props
or dynamically created in TypeInfo::instance_init() so properties created
elsewhere won't show up and this behaviour might confuse the user.

For example, PIIX4 does that from piix4_pm_realize() via
  piix4_pm_add_propeties():

object_property_add_uint8_ptr(OBJECT(s), ACPI_PM_PROP_ACPI_ENABLE_CMD,
                        &acpi_enable_cmd, NULL);

This adds a note to the command descriptions about the limitation.

Reviewed-by: Markus Armbruster <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Alexey Kardashevskiy <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: e40077fd2ccbf4ffa8d07f186110fac240a45bf9
      
https://github.com/qemu/qemu/commit/e40077fd2ccbf4ffa8d07f186110fac240a45bf9
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M qom/object.c

  Log Message:
  -----------
  qom: support orphan objects in object_get_canonical_path

Mostly a rewrite, in order to keep the loop simple.

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


  Commit: 45641dba38f6f44c3ea44c2d1c37b31619276ce3
      
https://github.com/qemu/qemu/commit/45641dba38f6f44c3ea44c2d1c37b31619276ce3
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/virtio/virtio.c

  Log Message:
  -----------
  virtio: free MemoryRegionCache when initialization fails


  Commit: 0330002cb5176fcbc376478ac36f5f512ed53b9f
      
https://github.com/qemu/qemu/commit/0330002cb5176fcbc376478ac36f5f512ed53b9f
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M include/exec/memory.h

  Log Message:
  -----------
  memory.h: Fix typo in documentation comment

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


  Commit: 257a7430e7a6bc5a9e4c17d884f4a092529501c7
      
https://github.com/qemu/qemu/commit/257a7430e7a6bc5a9e4c17d884f4a092529501c7
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M docs/devel/memory.txt
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/i8259.c
    M hw/i386/kvm/ioapic.c
    M include/exec/memory.h

  Log Message:
  -----------
  memory: get rid of memory_region_init_reservation

The function has been deprecated for 2.5 years, and there are just a handful
of users.  Convert them to memory_region_init_io with NULL callbacks,
and while at it pass the right device as the owner.

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


  Commit: 12d3a03830818f8fb347fbf724f3627dd064a29f
      
https://github.com/qemu/qemu/commit/12d3a03830818f8fb347fbf724f3627dd064a29f
  Author: Jay Zhou <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: delete struct AddressSpaceOps

Since struct AddressSpaceOps isn't used anywhere else,
so just delete it.

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


  Commit: d4c8fcd91abba584f2788dfe5fba5245cea380f0
      
https://github.com/qemu/qemu/commit/d4c8fcd91abba584f2788dfe5fba5245cea380f0
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/isa/isa-superio.c

  Log Message:
  -----------
  hw/isa/superio: Fix inconsistent use of Chardev->be

4c3119a6e3e and cd9526ab7c0 introduced an incorrect and inconsistent
use of Chardev->be. Also, this CharBackend member is private and is
not supposed to be accessible.

Fix it by removing the inconsistent check.

Cc: address@hidden
Reported-by: Marc-André Lureau <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>


  Commit: eeaa6715050ed3f9cbedd322220f31570a503217
      
https://github.com/qemu/qemu/commit/eeaa6715050ed3f9cbedd322220f31570a503217
  Author: Marc-André Lureau <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M chardev/char-mux.c
    M tests/test-char.c

  Log Message:
  -----------
  mux: fix ctrl-a b again

Commit fb5e19d2e1472e96d72d5e4d89c20033f8ab345c originally fixed the
regression, but was inadvertently broken again in merge commit
2d6752d38d8acda.

Fixes:
https://bugs.launchpad.net/qemu/+bug/1654137

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


  Commit: 4f938cbd90e7cf3004a6877ce579a11a87a4aa33
      
https://github.com/qemu/qemu/commit/4f938cbd90e7cf3004a6877ce579a11a87a4aa33
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M util/memfd.c

  Log Message:
  -----------
  memfd: Avoid Coverity warning about integer overflow

Coverity complains about qemu_memfd_create() (CID 1385858) because
we calculate a bit position htsize which could be up to 63, but
then use it in "1 << htsize" which is a 32-bit integer calculation
and could push the 1 off the top of the value.

Silence the complaint bu using "1ULL"; this isn't a bug in
practice since a hugetlbsize of 4GB is not very plausible.

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


  Commit: 8347c18506c3f8619527d19134cb4aac071dc54a
      
https://github.com/qemu/qemu/commit/8347c18506c3f8619527d19134cb4aac071dc54a
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M exec.c

  Log Message:
  -----------
  exec.c: Initialize sa_flags passed to sigaction()

Coverity points out that in the user-only version of cpu_abort() we
call sigaction() with a partially initialized struct sigaction
(CID 1005351). Correct the omission.

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


  Commit: 327fccb288976f95808efa968082fc9d4a9ced84
      
https://github.com/qemu/qemu/commit/327fccb288976f95808efa968082fc9d4a9ced84
  Author: Lucian Petrut <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M configure
    M target/i386/whpx-all.c

  Log Message:
  -----------
  WHPX: dynamically load WHP libraries

We're currently linking against import libraries of the WHP DLLs.

By dynamically loading the libraries, we ensure that QEMU will work
on previous Windows versions, where the WHP DLLs will be missing
(assuming that WHP is not requested).

Also, we're simplifying the build process, as we no longer require
the import libraries.

Signed-off-by: Alessandro Pilotti <address@hidden>
Signed-off-by: Justin Terry (VM) <address@hidden>
Signed-off-by: Lucian Petrut <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c3942bf2bdcc80fcf38379cf26db5d02b07f41cf
      
https://github.com/qemu/qemu/commit/c3942bf2bdcc80fcf38379cf26db5d02b07f41cf
  Author: Lucian Petrut <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M target/i386/whpx-all.c

  Log Message:
  -----------
  WHPX: fix some compiler warnings

This patch fixes a few compiler warnings, especially in case of
x86 targets, where the number of registers was not properly handled
and could cause an overflow.

Signed-off-by: Alessandro Pilotti <address@hidden>
Signed-off-by: Justin Terry (VM) <address@hidden>
Signed-off-by: Lucian Petrut <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: d7e19545215e529d7bbc4ef555c123b95cbe35a1
      
https://github.com/qemu/qemu/commit/d7e19545215e529d7bbc4ef555c123b95cbe35a1
  Author: Thomas Huth <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M qemu-doc.texi
    M vl.c

  Log Message:
  -----------
  qemu-options: Mark the non-functional -clock option as deprecated

The function is only ignored since QEMU version 1.7.0. Let's mark
it as deprecated, so that we can finally completely remove it soon.

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


  Commit: 8f971cf0c9265fa5d9f06a195f119237e403c0ce
      
https://github.com/qemu/qemu/commit/8f971cf0c9265fa5d9f06a195f119237e403c0ce
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M Makefile.target

  Log Message:
  -----------
  tcg: remove softfloat from --disable-tcg builds

Even though the presence of softfloat does not cause --disable-tcg builds to 
fail,
it is the single largest .o file in them.  Remove it, since TCG is the only 
client.

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


  Commit: 2dc6660bd8db0bfab0be91135cb0f6d83940d190
      
https://github.com/qemu/qemu/commit/2dc6660bd8db0bfab0be91135cb0f6d83940d190
  Author: Corey Minyard <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M include/migration/vmstate.h
    M migration/vmstate.c

  Log Message:
  -----------
  vmstate: Add a VSTRUCT type

The VMS_STRUCT has no way to specify which version of a structure
to use.  Add a type and a new field to allow the specific version
of a structure to be used.

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


  Commit: 7e57b82ec3f1a87f623e4baef9ef1ba2b157935c
      
https://github.com/qemu/qemu/commit/7e57b82ec3f1a87f623e4baef9ef1ba2b157935c
  Author: Corey Minyard <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/ipmi/isa_ipmi_kcs.c

  Log Message:
  -----------
  ipmi: Use proper struct reference for KCS vmstate

The vmstate for isa_ipmi_kcs was referencing into the kcs structure,
instead create a kcs structure separate and use that.

There were also some issues in the state transfer.  The inlen field
was not being transferred, so if a transaction was in process during
the transfer it would be messed up.  And the use_irq field was
transferred, but that should come from the configuration.

To fix this, the new VMS_VSTRUCT macros are used so the exact
version of the structure can be specified, depending on what
version was being received.  So an upgrade should work for KCS.

Signed-off-by: Corey Minyard <address@hidden>
Cc: Dr. David Alan Gilbert <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 3a0adfc9bfcf217017bfc49d00c9a9b845e7118d
      
https://github.com/qemu/qemu/commit/3a0adfc9bfcf217017bfc49d00c9a9b845e7118d
  Author: Laszlo Ersek <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    A docs/interop/firmware.json

  Log Message:
  -----------
  docs/interop: add "firmware.json"

Add a schema that describes the different uses and properties of virtual
machine firmware.

Each firmware executable installed on a host system should come with at
least one JSON file that conforms to this schema. Each file informs the
management applications about
- the firmware's properties and one possible use case / feature set,
- configuration bits that are required to run the firmware binary.

In addition, define rules for management apps for picking the highest
priority firmware JSON file when multiple such files match the search
criteria.

Cc: "Daniel P. Berrange" <address@hidden>
Cc: David Gibson <address@hidden>
Cc: Eric Blake <address@hidden>
Cc: Gerd Hoffmann <address@hidden>
Cc: Kashyap Chamarthy <address@hidden>
Cc: Markus Armbruster <address@hidden>
Cc: Paolo Bonzini <address@hidden>
Cc: Thomas Huth <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Laszlo Ersek <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ead75d84cb076d51357ca0a48a2bbaf75e5466f5
      
https://github.com/qemu/qemu/commit/ead75d84cb076d51357ca0a48a2bbaf75e5466f5
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M gdbstub.c

  Log Message:
  -----------
  gdbstub: Prevent fd leakage

Since 2f652224f7, we now check if socket_set_nodelay() errored,
but forgot to close the socket before reporting an error.

Fixes: Coverity CID 1391290 (RESOURCE_LEAK)
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: a8bff79e9f27dfe0f1427bc824cebe45400d6c19
      
https://github.com/qemu/qemu/commit/a8bff79e9f27dfe0f1427bc824cebe45400d6c19
  Author: Alex Williamson <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M include/hw/virtio/virtio-gpu.h

  Log Message:
  -----------
  virtio-gpu-3d: Define VIRTIO_GPU_CAPSET_VIRGL2 elsewhere

Commit 5643cc94ac1c ("virtio-gpu-3d: add support for second capability
set (v4)") updated virtio_gpu.h with a define that does not yet(?)
exist upstream resulting in build breakage every time Linux headers
are updated via the standard update script.  Conditionally define this
within QEMU code instead to avoid future breakage.

Cc: Dave Airlie <address@hidden>
Cc: Gerd Hoffmann <address@hidden>
Fixes: 5643cc94ac1c ("virtio-gpu-3d: add support for second capability set 
(v4)")
Signed-off-by: Alex Williamson <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: c5022c31c2b7be863a2f58ae5af52717e017825b
      
https://github.com/qemu/qemu/commit/c5022c31c2b7be863a2f58ae5af52717e017825b
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-headers: Handle __aligned_u64

We'll currently replace any 'u64' with a 'uint64_t' including when
it's embedded in an '__aligned_u64', creating a '__aligned_uint64_t'
which doesn't exist. We need to instead expand out the kernel's
definition of __aligned_u64:
   #define __aligned_u64 __u64 __attribute__((aligned(8)))
before we convert the __u64 to uint64_t.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: f5bba4ca92b1fb9b6ff063895103a31d66ceac06
      
https://github.com/qemu/qemu/commit/f5bba4ca92b1fb9b6ff063895103a31d66ceac06
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M scripts/update-linux-headers.sh

  Log Message:
  -----------
  scripts/update-linux-headers: Handle kernel license no longer being one file

The kernel has changed its license documentation, so instead of COPYING
being a stand-alone file that defines the license, it refers to various
other files under LICENSES/. This means we need to copy not just COPYING
but also these other files to our copy of the kernel headers.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 2af1acadc22e86b9fff7b2cd73ea9c779ba1a065
      
https://github.com/qemu/qemu/commit/2af1acadc22e86b9fff7b2cd73ea9c779ba1a065
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  target/i386/kvm.c: Handle renaming of KVM_HINTS_DEDICATED

In kernel header commit 633711e8287, the define KVM_HINTS_DEDICATED
was renamed to KVM_HINTS_REALTIME. Work around this compatibility
break by (a) using the new constant name, and (b) defining it
if the headers don't.

Part (b) can be removed once we've updated our copy of the kernel
headers to a version that defines KVM_HINTS_REALTIME.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Acked-by: Paolo Bonzini <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 65a6d8dd3f322e91efa320f2811bec83dde36b6b
      
https://github.com/qemu/qemu/commit/65a6d8dd3f322e91efa320f2811bec83dde36b6b
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    R include/standard-headers/asm-x86/hyperv.h
    M include/standard-headers/asm-x86/kvm_para.h
    M include/standard-headers/linux/ethtool.h
    M include/standard-headers/linux/input.h
    M include/standard-headers/linux/pci_regs.h
    M include/standard-headers/linux/virtio_balloon.h
    M include/standard-headers/linux/virtio_gpu.h
    M include/standard-headers/rdma/vmw_pvrdma-abi.h
    M linux-headers/COPYING
    A linux-headers/LICENSES/exceptions/Linux-syscall-note
    A linux-headers/LICENSES/preferred/BSD-2-Clause
    A linux-headers/LICENSES/preferred/BSD-3-Clause
    A linux-headers/LICENSES/preferred/GPL-2.0
    M linux-headers/asm-arm/kvm.h
    M linux-headers/asm-arm64/kvm.h
    R linux-headers/asm-x86/hyperv.h
    M linux-headers/asm-x86/kvm.h
    M linux-headers/linux/kvm.h
    M linux-headers/linux/vfio.h

  Log Message:
  -----------
  Update Linux headers to 4.17-rc6

Update our copy of the Linux headers to upstream 4.17-rc6
(kernel commit 771c577c23bac90597c68).

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 244e2ad0dcddad68c3c4842eba7675fda79fa511
      
https://github.com/qemu/qemu/commit/244e2ad0dcddad68c3c4842eba7675fda79fa511
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M target/i386/kvm.c

  Log Message:
  -----------
  target/i386/kvm.c: Remove compatibility shim for KVM_HINTS_REALTIME

Now we've updated our copy of the kernel headers we can remove the
compatibility shim that handled KVM_HINTS_REALTIME not being defined.

Signed-off-by: Peter Maydell <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 19473e51cc1b019b1987261e1af8bc8b4a858f12
      
https://github.com/qemu/qemu/commit/19473e51cc1b019b1987261e1af8bc8b4a858f12
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/i2c/smbus.c
    M hw/i2c/smbus_eeprom.c
    M include/hw/i2c/smbus.h

  Log Message:
  -----------
  hw/i2c/smbus: Use DeviceClass::realize instead of SMBusDeviceClass::init

SMBusDeviceClass::init is no more used, remove it.

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


  Commit: c8c9e1039434b907ee982f3be04f81576bd1f588
      
https://github.com/qemu/qemu/commit/c8c9e1039434b907ee982f3be04f81576bd1f588
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/audio/wm8750.c
    M hw/display/ssd0303.c
    M hw/gpio/max7310.c
    M hw/i2c/core.c
    M hw/input/lm832x.c
    M hw/misc/tmp105.c
    M hw/misc/tmp421.c
    M hw/nvram/eeprom_at24c.c
    M hw/timer/twl92230.c
    M include/hw/i2c/i2c.h

  Log Message:
  -----------
  hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init

I2CSlaveClass::init is no more used, remove it.

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


  Commit: dbfe00130e4b0cd34d06d693a060655b4f7e95b4
      
https://github.com/qemu/qemu/commit/dbfe00130e4b0cd34d06d693a060655b4f7e95b4
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M hw/core/sysbus.c

  Log Message:
  -----------
  qdev: Simplify the SysBusDeviceClass::init path

Instead of using
  SysBusDeviceClass::realize
   -> DeviceClass::realize
       -> DeviceClass::init
     -> sysbus_device_init
        -> SysBusDeviceClass::init

Simplify the path by directly calling SysBusDeviceClass::init
in SysBusDeviceClass::realize:

  SysBusDeviceClass::realize
   -> SysBusDeviceClass::init

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
[Removal of DeviceClass::init() moved into next patch,
sysbus_realize() tweaked for clarity]
Signed-off-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: ff46d9d4d6dda7716c534a300087f447c285ad2b
      
https://github.com/qemu/qemu/commit/ff46d9d4d6dda7716c534a300087f447c285ad2b
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

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

  Log Message:
  -----------
  qdev: Remove DeviceClass::init() and ::exit()

Since no devices use it, we can safely remove it.

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
[Removal of DeviceClass::init() moved from previous patch, missing
documentation updates supplied]
Signed-off-by: Markus Armbruster <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 12fb0ac0575df83cec72ec5ede293561ee634cc9
      
https://github.com/qemu/qemu/commit/12fb0ac0575df83cec72ec5ede293561ee634cc9
  Author: Patryk Olszewski <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M chardev/char-serial.c
    M chardev/char-stdio.c

  Log Message:
  -----------
  char: Remove unwanted crlf conversion

This patch fixes a bug in serial that made it almost impossible for guest
to communicate with devices through host's serial.

OPOST flag in c_oflag enables output processing letting other flags in
c_oflag take effect. Usually in c_oflag ONLCR flag is also set, which
causes crlf to be sent in place of lf. This breaks binary transmissions.
Unsetting OPOST flag turns off any output processing which fixes the bug.

Bug reports related:
https://bugs.launchpad.net/qemu/+bug/1772086
https://bugs.launchpad.net/qemu/+bug/1407813
https://bugs.launchpad.net/qemu/+bug/1715296
also
https://lists.nongnu.org/archive/html/qemu-devel/2006-06/msg00196.html

Signed-off-by: Patryk Olszewski <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 73bb753d24a702b37913ce4b5ddb6dca40dab067
      
https://github.com/qemu/qemu/commit/73bb753d24a702b37913ce4b5ddb6dca40dab067
  Author: Tristan Burgess <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M memory.c

  Log Message:
  -----------
  memory: Make operations using MemoryRegionIoeventfd struct pass by pointer.

This changes the functions memory_region_ioeventfd_equal, 
memory_region_ioeventfd_before, and their callers,
to pass the MemoryRegionIoeventfd struct via pointer, instead of directly 
passing the struct. This saves on stack space
and is considered safe practice.

Signed-off-by: Tristan Burgess <address@hidden>
Message-Id: <address@hidden>
Fixes: Launchpad bug 1720969
Signed-off-by: Paolo Bonzini <address@hidden>


  Commit: 890b126e6ad305cc60599985c997a34a8ad9ff71
      
https://github.com/qemu/qemu/commit/890b126e6ad305cc60599985c997a34a8ad9ff71
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M default-configs/mips-softmmu-common.mak
    M default-configs/pci.mak
    M default-configs/riscv32-softmmu.mak
    M default-configs/riscv64-softmmu.mak
    M default-configs/s390x-softmmu.mak
    M default-configs/sparc-softmmu.mak
    M default-configs/usb.mak
    M hw/Makefile.objs

  Log Message:
  -----------
  hw: allow compiling out SCSI

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


  Commit: b5dfdb082fc350f3e68dfa61dc988d97cad28cfe
      
https://github.com/qemu/qemu/commit/b5dfdb082fc350f3e68dfa61dc988d97cad28cfe
  Author: Paolo Bonzini <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M default-configs/hppa-softmmu.mak
    M default-configs/pci.mak
    M default-configs/riscv32-softmmu.mak
    M default-configs/riscv64-softmmu.mak
    M default-configs/s390x-softmmu.mak
    A default-configs/virtio.mak
    M hw/9pfs/Makefile.objs
    M hw/block/Makefile.objs
    M hw/char/Makefile.objs
    M hw/display/Makefile.objs
    M hw/input/Makefile.objs
    M hw/net/Makefile.objs
    M hw/scsi/Makefile.objs
    M hw/virtio/Makefile.objs

  Log Message:
  -----------
  hw: make virtio devices configurable via default-configs/

This is only half of the work, because the proxy devices (virtio-*-pci,
virtio-*-ccw, etc.) are still included unconditionally.  It is still a
move in the right direction.

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


  Commit: afd76ffba966a072a7bbd0048bdf3b2ab69d3d4a
      
https://github.com/qemu/qemu/commit/afd76ffba966a072a7bbd0048bdf3b2ab69d3d4a
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-01 (Fri, 01 Jun 2018)

  Changed paths:
    M Makefile.target
    M accel/tcg/cpu-exec.c
    M bsd-user/mmap.c
    M bsd-user/qemu.h
    M chardev/char-mux.c
    M chardev/char-serial.c
    M chardev/char-stdio.c
    M configure
    M default-configs/arm-softmmu.mak
    M default-configs/hppa-softmmu.mak
    M default-configs/mips-softmmu-common.mak
    M default-configs/pci.mak
    M default-configs/riscv32-softmmu.mak
    M default-configs/riscv64-softmmu.mak
    M default-configs/s390x-softmmu.mak
    M default-configs/sparc-softmmu.mak
    M default-configs/usb.mak
    A default-configs/virtio.mak
    M docs/devel/memory.txt
    A docs/interop/firmware.json
    M exec.c
    M gdbstub.c
    M hw/9pfs/Makefile.objs
    M hw/Makefile.objs
    M hw/acpi/pcihp.c
    M hw/acpi/piix4.c
    M hw/arm/aspeed.c
    M hw/arm/bcm2836.c
    M hw/arm/collie.c
    M hw/arm/gumstix.c
    M hw/arm/mainstone.c
    M hw/arm/nseries.c
    M hw/arm/omap1.c
    M hw/arm/omap2.c
    M hw/arm/omap_sx1.c
    M hw/arm/pxa2xx.c
    M hw/arm/spitz.c
    M hw/arm/versatilepb.c
    M hw/arm/vexpress.c
    M hw/arm/virt.c
    M hw/arm/xilinx_zynq.c
    M hw/arm/xlnx-zcu102.c
    M hw/arm/z2.c
    M hw/audio/wm8750.c
    M hw/block/Makefile.objs
    M hw/block/dataplane/virtio-blk.c
    M hw/block/m25p80.c
    M hw/block/nvme.c
    M hw/block/nvme.h
    M hw/block/onenand.c
    M hw/block/pflash_cfi01.c
    M hw/block/pflash_cfi02.c
    M hw/block/virtio-blk.c
    M hw/char/Makefile.objs
    M hw/char/mcf_uart.c
    M hw/char/serial.c
    M hw/char/sh_serial.c
    M hw/core/loader-fit.c
    M hw/core/platform-bus.c
    M hw/core/qdev-properties.c
    M hw/core/qdev.c
    M hw/core/sysbus.c
    M hw/cris/axis_dev88.c
    M hw/display/Makefile.objs
    M hw/display/sm501.c
    M hw/display/ssd0303.c
    M hw/display/tc6393xb.c
    M hw/gpio/max7310.c
    M hw/hppa/hppa_sys.h
    M hw/i2c/core.c
    M hw/i2c/smbus.c
    M hw/i2c/smbus_eeprom.c
    M hw/i386/kvm/i8254.c
    M hw/i386/kvm/i8259.c
    M hw/i386/kvm/ioapic.c
    M hw/i386/kvmvapic.c
    M hw/i386/pc.c
    M hw/i386/xen/xen-mapcache.c
    M hw/ide/core.c
    M hw/ide/pci.c
    M hw/ide/via.c
    M hw/input/Makefile.objs
    M hw/input/lm832x.c
    M hw/ipmi/isa_ipmi_kcs.c
    M hw/isa/isa-superio.c
    M hw/lm32/lm32_boards.c
    M hw/lm32/milkymist.c
    M hw/m68k/mcf5206.c
    M hw/m68k/mcf_intc.c
    M hw/microblaze/petalogix_ml605_mmu.c
    M hw/microblaze/petalogix_s3adsp1800_mmu.c
    M hw/mips/mips_malta.c
    M hw/mips/mips_r4k.c
    M hw/misc/arm_integrator_debug.c
    M hw/misc/mips_itu.c
    M hw/misc/sga.c
    M hw/misc/tmp105.c
    M hw/misc/tmp421.c
    M hw/net/Makefile.objs
    M hw/net/mcf_fec.c
    M hw/net/ne2000-isa.c
    M hw/nvram/eeprom_at24c.c
    M hw/pci-host/versatile.c
    M hw/ppc/ppc405_boards.c
    M hw/ppc/sam460ex.c
    M hw/ppc/spapr.c
    M hw/ppc/virtex_ml507.c
    M hw/riscv/riscv_htif.c
    M hw/s390x/virtio-ccw.c
    M hw/scsi/Makefile.objs
    M hw/scsi/mptsas.c
    M hw/scsi/scsi-generic.c
    M hw/sd/pl181.c
    M hw/sd/sdhci.c
    M hw/sd/ssi-sd.c
    M hw/sh4/r2d.c
    M hw/sh4/sh7750.c
    M hw/timer/sh_timer.c
    M hw/timer/twl92230.c
    M hw/usb/dev-storage.c
    M hw/vfio/ccw.c
    M hw/vfio/platform.c
    M hw/virtio/Makefile.objs
    M hw/virtio/virtio-pci.c
    M hw/virtio/virtio.c
    M hw/xen/xen_devconfig.c
    M hw/xtensa/xtfpga.c
    M include/exec/memory.h
    M include/hw/arm/allwinner-a10.h
    M include/hw/arm/bcm2835_peripherals.h
    M include/hw/devices.h
    M include/hw/display/bcm2835_fb.h
    M include/hw/dma/bcm2835_dma.h
    M include/hw/i2c/i2c.h
    M include/hw/i2c/smbus.h
    M include/hw/misc/bcm2835_mbox.h
    M include/hw/misc/bcm2835_property.h
    M include/hw/misc/mips_itu.h
    M include/hw/qdev-core.h
    M include/hw/sh4/sh_intc.h
    M include/hw/vfio/vfio-common.h
    M include/hw/virtio/virtio-access.h
    M include/hw/virtio/virtio-gpu.h
    M include/migration/vmstate.h
    R include/standard-headers/asm-x86/hyperv.h
    M include/standard-headers/asm-x86/kvm_para.h
    M include/standard-headers/linux/ethtool.h
    M include/standard-headers/linux/input.h
    M include/standard-headers/linux/pci_regs.h
    M include/standard-headers/linux/virtio_balloon.h
    M include/standard-headers/linux/virtio_gpu.h
    M include/standard-headers/rdma/vmw_pvrdma-abi.h
    M linux-headers/COPYING
    A linux-headers/LICENSES/exceptions/Linux-syscall-note
    A linux-headers/LICENSES/preferred/BSD-2-Clause
    A linux-headers/LICENSES/preferred/BSD-3-Clause
    A linux-headers/LICENSES/preferred/GPL-2.0
    M linux-headers/asm-arm/kvm.h
    M linux-headers/asm-arm64/kvm.h
    R linux-headers/asm-x86/hyperv.h
    M linux-headers/asm-x86/kvm.h
    M linux-headers/linux/kvm.h
    M linux-headers/linux/vfio.h
    M memory.c
    M migration/vmstate.c
    M monitor.c
    M qapi/misc.json
    M qemu-doc.texi
    M qom/object.c
    M scripts/update-linux-headers.sh
    M target/arm/arm-powerctl.c
    M target/arm/arm_ldst.h
    M target/arm/crypto_helper.c
    M target/arm/iwmmxt_helper.c
    M target/arm/neon_helper.c
    M target/arm/psci.c
    M target/arm/vec_helper.c
    M target/cris/cpu.c
    M target/hppa/helper.c
    M target/hppa/int_helper.c
    M target/i386/hax-all.c
    M target/i386/hax-mem.c
    M target/i386/hax-windows.c
    M target/i386/hvf/hvf.c
    M target/i386/hvf/x86_task.c
    M target/i386/kvm.c
    M target/i386/whpx-all.c
    M target/lm32/cpu.c
    M target/m68k/cpu.c
    M target/moxie/cpu.c
    M target/moxie/mmu.c
    M target/nios2/cpu.h
    M target/nios2/op_helper.c
    M target/openrisc/cpu.c
    M target/ppc/helper_regs.h
    M target/ppc/int_helper.c
    M target/s390x/cpu.c
    M target/s390x/diag.c
    M target/s390x/helper.c
    M target/s390x/kvm.c
    M target/s390x/mem_helper.c
    M target/s390x/misc_helper.c
    M target/sparc/mmu_helper.c
    M target/tilegx/cpu.c
    M target/xtensa/core-dc232b.c
    M target/xtensa/core-dc233c.c
    M target/xtensa/core-de212.c
    M target/xtensa/core-fsf.c
    M target/xtensa/core-sample_controller.c
    M target/xtensa/cpu.c
    M target/xtensa/import_core.sh
    M tcg/tcg-op-vec.c
    M tests/test-char.c
    M util/memfd.c
    M vl.c

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

* Linux header upgrade (Peter)
* firmware.json definition (Laszlo)
* IPMI migration fix (Corey)
* QOM improvements (Alexey, Philippe, me)
* Memory API cleanups (Jay, me, Tristan, Peter)
* WHPX fixes and improvements (Lucian)
* Chardev fixes (Marc-André)
* IOMMU documentation improvements (Peter)
* Coverity fixes (Peter, Philippe)
* Include cleanup (Philippe)
* -clock deprecation (Thomas)
* Disable -sandbox unless CONFIG_SECCOMP (Yi Min Zhao)
* Configurability improvements (me)

# gpg: Signature made Fri 01 Jun 2018 17:42:13 BST
# gpg:                using RSA key BFFBD25F78C7AE83
# 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: (56 commits)
  hw: make virtio devices configurable via default-configs/
  hw: allow compiling out SCSI
  memory: Make operations using MemoryRegionIoeventfd struct pass by pointer.
  char: Remove unwanted crlf conversion
  qdev: Remove DeviceClass::init() and ::exit()
  qdev: Simplify the SysBusDeviceClass::init path
  hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init
  hw/i2c/smbus: Use DeviceClass::realize instead of SMBusDeviceClass::init
  target/i386/kvm.c: Remove compatibility shim for KVM_HINTS_REALTIME
  Update Linux headers to 4.17-rc6
  target/i386/kvm.c: Handle renaming of KVM_HINTS_DEDICATED
  scripts/update-linux-headers: Handle kernel license no longer being one file
  scripts/update-linux-headers: Handle __aligned_u64
  virtio-gpu-3d: Define VIRTIO_GPU_CAPSET_VIRGL2 elsewhere
  gdbstub: Prevent fd leakage
  docs/interop: add "firmware.json"
  ipmi: Use proper struct reference for KCS vmstate
  vmstate: Add a VSTRUCT type
  tcg: remove softfloat from --disable-tcg builds
  qemu-options: Mark the non-functional -clock option as deprecated
  ...

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


Compare: https://github.com/qemu/qemu/compare/392fba9f5832...afd76ffba966
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

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