Skip to content
Snippets Groups Projects
  1. Jun 02, 2017
  2. Jun 01, 2017
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2017-05-31' into staging · 43771d5d
      Peter Maydell authored
      
      QAPI patches for 2017-05-31
      
      # gpg: Signature made Wed 31 May 2017 18:06:39 BST
      # gpg:                using RSA key 0x3870B400EB918653
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>"
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>"
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-qapi-2017-05-31:
        qapi: Reject alternates that can't work with keyval_parse()
        tests/qapi-schema: Avoid 'str' in alternate test cases
        qapi: Document visit_type_any() issues with keyval input
        qobject-input-visitor: Reject non-finite numbers with keyval
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      43771d5d
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/riku/tags/pull-linux-user-20170531' into staging · c077a998
      Peter Maydell authored
      
      Misc linux-user updates
      
      # gpg: Signature made Wed 31 May 2017 12:33:17 BST
      # gpg:                using RSA key 0xB44890DEDE3C9BC0
      # gpg: Good signature from "Riku Voipio <riku.voipio@iki.fi>"
      # gpg:                 aka "Riku Voipio <riku.voipio@linaro.org>"
      # Primary key fingerprint: FF82 03C8 C391 98AE 0581  41EF B448 90DE DE3C 9BC0
      
      * remotes/riku/tags/pull-linux-user-20170531:
        linux-user: add strace support for uinfo structure of rt_sigqueueinfo() and rt_tgsigqueueinfo()
        linux-user: fix inconsistent spaces in print_siginfo() output
        linux-user: add rt_tgsigqueueinfo() strace
        linux-user: add support for rt_tgsigqueueinfo() system call
        linux-user: fix argument type declaration of rt_sigqueinfo() syscall
        linux-user: fix mismatch of lock/unlock_user() invocations in rt_sigqueinfo() syscall
        linux-user: fix ssetmask() system call
        linux-user: add tkill(), tgkill() and rt_sigqueueinfo() strace
        linux-user: add strace for getuid(), gettid(), getppid(), geteuid()
        linux-user: remove all traces of qemu from /proc/self/cmdline
        linux-user: allocate heap memory for execve arguments
        linux-user: fix inotify
        linux-user: fix fadvise64_64() on ppc
        linux-user: fix eventfd
        linux-user: call fd_trans_target_to_host_data() for write()
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      c077a998
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/juanquintela/tags/migration/20170531' into staging · e5cac10a
      Peter Maydell authored
      
      migration/next for 20170531
      
      # gpg: Signature made Wed 31 May 2017 08:53:06 BST
      # gpg:                using RSA key 0xF487EF185872D723
      # gpg: Good signature from "Juan Quintela <quintela@redhat.com>"
      # gpg:                 aka "Juan Quintela <quintela@trasno.org>"
      # Primary key fingerprint: 1899 FF8E DEBF 58CC EE03  4B82 F487 EF18 5872 D723
      
      * remotes/juanquintela/tags/migration/20170531:
        migration: use dirty_rate_high_cnt more aggressively
        migration: set bytes_xfer_* outside of autoconverge logic
        migration: set dirty_pages_rate before autoconverge logic
        migration: keep bytes_xfer_prev init'd to zero
        migration: Create savevm.h for functions exported from savevm.c
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e5cac10a
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/aurel/tags/pull-target-sh4-20170530' into staging · 61462af6
      Peter Maydell authored
      
      Queued target/sh4 patches
      
      # gpg: Signature made Tue 30 May 2017 20:12:10 BST
      # gpg:                using RSA key 0xBA9C78061DDD8C9B
      # gpg: Good signature from "Aurelien Jarno <aurelien@aurel32.net>"
      # gpg:                 aka "Aurelien Jarno <aurelien@jarno.fr>"
      # gpg:                 aka "Aurelien Jarno <aurel32@debian.org>"
      # gpg: WARNING: This key is not certified with sufficiently trusted signatures!
      # gpg:          It is not certain that the signature belongs to the owner.
      # Primary key fingerprint: 7746 2642 A9EF 94FD 0F77  196D BA9C 7806 1DDD 8C9B
      
      * remotes/aurel/tags/pull-target-sh4-20170530:
        target/sh4: fix RTE instruction delay slot
        target/sh4: ignore interrupts in a delay slot
        target/sh4: introduce DELAY_SLOT_MASK
        target/sh4: fix reset when using a kernel and an initrd
        target/sh4: log unauthorized accesses using qemu_log_mask
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      61462af6
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · 066ae4f8
      Peter Maydell authored
      
      Various bugfixes and code cleanups. Most notably, it fixes metadata handling in
      mapped-file security mode (especially for the virtfs root).
      
      # gpg: Signature made Tue 30 May 2017 14:36:22 BST
      # gpg:                using DSA key 0x02FC3AEB0101DBC2
      # gpg: Good signature from "Greg Kurz <groug@kaod.org>"
      # gpg:                 aka "Greg Kurz <groug@free.fr>"
      # gpg:                 aka "Greg Kurz <gkurz@linux.vnet.ibm.com>"
      # gpg:                 aka "Gregory Kurz (Groug) <groug@free.fr>"
      # gpg:                 aka "[jpeg image of size 3330]"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2
      
      * remotes/gkurz/tags/for-upstream:
        9pfs: local: metadata file for the VirtFS root
        9pfs: local: simplify file opening
        9pfs: local: resolve special directories in paths
        9pfs: check return value of v9fs_co_name_to_path()
        util: drop old utimensat() compat code
        9pfs: assume utimensat() and futimens() are present
        fsdev: fix virtfs-proxy-helper cwd
        9pfs: local: fix unlink of alien files in mapped-file mode
        9pfs: drop pdu_push_and_notify()
        fsdev: don't allow unknown format in marshal/unmarshal
        virtio-9p/xen-9p: move 9p specific bits to core 9p code
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      066ae4f8
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/numa-pull-request' into staging · 70f31414
      Peter Maydell authored
      
      NUMA fixes, 2017-05-30
      
      # gpg: Signature made Tue 30 May 2017 20:10:44 BST
      # gpg:                using RSA key 0x2807936F984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/numa-pull-request:
        numa: Fix format string for "Invalid node" message
        numa-test: fix query-cpus leaks
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      70f31414
  3. May 31, 2017
  4. May 30, 2017
    • Eduardo Habkost's avatar
      numa: Fix format string for "Invalid node" message · f892291e
      Eduardo Habkost authored
      
      Some compilers complain about the PRIu16 format string with the
      MAX(src, dst) and MAX_NODES arguments.  Example output from Apple LLVM
      version 7.3.0 (clang-703.0.31):
      
        numa.c:236:20: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
                           MAX(src, dst), MAX_NODES);
        ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
        include/qapi/error.h:163:35: note: expanded from macro 'error_setg'
                                (fmt), ## __VA_ARGS__)
                                          ^~~~~~~~~~~
        glib/2.52.2/include/glib-2.0/glib/gmacros.h:288:20: note: expanded from macro 'MAX'
        #define MAX(a, b)  (((a) > (b)) ? (a) : (b))
                           ^~~~~~~~~~~~~~~~~~~~~~~~~
        numa.c:236:35: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat]
                           MAX(src, dst), MAX_NODES);
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
        include/qapi/error.h:163:35: note: expanded from macro 'error_setg'
                                (fmt), ## __VA_ARGS__)
                                          ^~~~~~~~~~~
        include/sysemu/sysemu.h:165:19: note: expanded from macro 'MAX_NODES'
        #define MAX_NODES 128
                          ^~~
      MAX(src, dst) promotes the src and dst arguments to int, and MAX_NODES
      is an int.  Use %d to silence those warnings.
      
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      Message-Id: <20170530184013.31044-1-ehabkost@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      f892291e
    • Marc-André Lureau's avatar
      numa-test: fix query-cpus leaks · 5e39d89d
      Marc-André Lureau authored
      
      Fix test leaks introduced in commit 2941020a.
      
      (and small extra space removed)
      
      Spotted by ASAN.
      
      Signed-off-by: default avatarMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-Id: <20170526110456.32004-1-marcandre.lureau@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      5e39d89d
    • Aurelien Jarno's avatar
      target/sh4: fix RTE instruction delay slot · be53081a
      Aurelien Jarno authored
      
      The ReTurn from Exception (RTE) instruction loads the system register
      (SR) with the saved system register (SSR). It has a delay slot, and
      behaves specially according to the SH4 manual:
      
        The SR value accessed by the instruction in the RTE delay slot is the
        value restored from SSR by the RTE instruction. The SR and MD values
        defined prior to RTE execution are used to fetch the instruction in
        the RTE delay slot.
      
      The instruction in the delay slot being often a NOP, it doesn't cause
      any issue most of the time except in some rare cases where the NOP is
      being splitted in a different TB (for example when the TCG op buffer
      is full). In that case the NOP is fetched with the user permissions
      and causes an instruction TLB protection violation exception.
      
      This patches fixes that by introducing a new delay slot flag for the
      RTE instruction. Given it's a privileged instruction, the RTE delay
      slot instruction is always fetched in privileged mode. It is therefore
      enough to to check for this flag in cpu_mmu_index.
      
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      be53081a
    • Aurelien Jarno's avatar
      target/sh4: ignore interrupts in a delay slot · 5c6f3eb7
      Aurelien Jarno authored
      
      Delay slots are indivisible, therefore avoid scheduling an interrupt in
      the delay slot. However exceptions are possible.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      5c6f3eb7
    • Aurelien Jarno's avatar
      target/sh4: introduce DELAY_SLOT_MASK · 9a562ae7
      Aurelien Jarno authored
      
      This will make easier the introduction of a new flag in the next
      patches.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      9a562ae7
    • Aurelien Jarno's avatar
      target/sh4: fix reset when using a kernel and an initrd · 73479c5c
      Aurelien Jarno authored
      
      When a masked exception happens, the SH4 CPU generates a non-masked
      reset exception, which then jumps to the reset vector at address
      0xA0000000. While this is emulated correctly in QEMU, this does not
      work when using a kernel and initrd as this address then contain an
      illegal instruction (and there is no guarantee the kernel and initrd
      haven't been overwritten).
      
      Therefore call qemu_system_reset_request to reload the kernel and initrd
      and load the program counter to the kernel entry point.
      
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      73479c5c
    • Aurelien Jarno's avatar
      target/sh4: log unauthorized accesses using qemu_log_mask · 324189ba
      Aurelien Jarno authored
      
      qemu_log_mask() is preferred over fprintf() for logging errors.
      
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Reviewed-by: default avatarRichard Henderson <rth@twiddle.net>
      Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
      324189ba
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'kwolf/tags/for-upstream' into staging · 0748b352
      Stefan Hajnoczi authored
      
      Block layer patches
      
      # gpg: Signature made Mon 29 May 2017 03:34:59 PM BST
      # gpg:                using RSA key 0x7F09B272C88F2FD6
      # gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
      # Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6
      
      * kwolf/tags/for-upstream:
        block/file-*: *_parse_filename() and colons
        block: Fix backing paths for filenames with colons
        block: Tweak error message related to qemu-img amend
        qemu-img: Fix leakage of options on error
        qemu-img: copy *key-secret opts when opening newly created files
        qemu-img: introduce --target-image-opts for 'convert' command
        qemu-img: fix --image-opts usage with dd command
        qemu-img: add support for --object with 'dd' command
        qemu-img: Fix documentation of convert
        qcow2: remove extra local_error variable
        mirror: Drop permissions on s->target on completion
        nvme: Add support for Controller Memory Buffers
        iotests: 147: Don't test inet6 if not available
        qemu-iotests: Test streaming with missing job ID
        stream: fix crash in stream_start() when block_job_create() fails
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      0748b352
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'kraxel/tags/pull-usb-20170529-1' into staging · 697e42de
      Stefan Hajnoczi authored
      
      usb: depricate legacy options and hmp commands
      usb: fixes for ehci and hub, split xhci variants
      
      # gpg: Signature made Mon 29 May 2017 02:07:17 PM BST
      # gpg:                using RSA key 0x4CB6D8EED3E87138
      # gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>"
      # gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>"
      # gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>"
      # Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138
      
      * kraxel/tags/pull-usb-20170529-1:
        ehci: fix frame timer invocation.
        usb: don't wakeup during coldplug
        usb-hub: set PORT_STAT_C_SUSPEND on host-initiated wake-up
        xhci: add CONFIG_USB_XHCI_NEC option
        xhci: split into multiple files
        usb: Simplify the parameter parsing of the legacy usb serial device
        usb: Deprecate HMP commands usb_add and usb_del
        usb: Deprecate the legacy -usbdevice option
        ehci: fix overflow in frame timer code
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      697e42de
    • Stefan Hajnoczi's avatar
      Merge remote-tracking branch 'mst/tags/for_upstream' into staging · a3203e7d
      Stefan Hajnoczi authored
      
      pci, virtio, vhost: fixes
      
      A bunch of fixes all over the place. Most notably this fixes
      the new MTU feature when using vhost.
      
      Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
      
      # gpg: Signature made Mon 29 May 2017 01:10:24 AM BST
      # gpg:                using RSA key 0x281F0DB8D28D5469
      # gpg: Good signature from "Michael S. Tsirkin <mst@kernel.org>"
      # gpg:                 aka "Michael S. Tsirkin <mst@redhat.com>"
      # Primary key fingerprint: 0270 606B 6F3C DF3D 0B17  0970 C350 3912 AFBE 8E67
      #      Subkey fingerprint: 5D09 FD08 71C8 F85B 94CA  8A0D 281F 0DB8 D28D 5469
      
      * mst/tags/for_upstream:
        acpi-test: update expected files
        pc: ACPI BIOS: use highest NUMA node for hotplug mem hole SRAT entry
        vhost-user: pass message as a pointer to process_message_reply()
        virtio_net: Bypass backends for MTU feature negotiation
        intel_iommu: turn off pt before 2.9
        intel_iommu: support passthrough (PT)
        intel_iommu: allow dev-iotlb context entry conditionally
        intel_iommu: use IOMMU_ACCESS_FLAG()
        intel_iommu: provide vtd_ce_get_type()
        intel_iommu: renaming context entry helpers
        x86-iommu: use DeviceClass properties
        memory: remove the last param in memory_region_iommu_replay()
        memory: tune last param of iommu_ops.translate()
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      a3203e7d
Loading