1. 15 3月, 2017 4 次提交
    • M
      tests: Use error_free_or_abort() where appropriate · 157db293
      Markus Armbruster 提交于
      Done with this Coccinelle semantic patch:
      
          @@
          expression E;
          @@
          -    g_assert(E);
          -    error_free(E);
          +    error_free_or_abort(&E);
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <1487362554-5688-1-git-send-email-armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      157db293
    • P
      Update version for v2.9.0-rc0 release · d84f714e
      Peter Maydell 提交于
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d84f714e
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · 64c358a3
      Peter Maydell 提交于
      * "x" monitor command fix for KVM (Christian)
      * MemoryRegion name documentation (David)
      * mem-prealloc optimization (Jitendra)
      * -icount/MTTCG fixes (me)
      * "info mtree" niceness (Peter)
      * NBD drop_sync buffer overflow (Vladimir/Eric)
      * small cleanups and bugfixes (Li, Lin, Suramya, Thomas)
      * fix for "-device kvmclock" w/TCG (Eduardo)
      * debug output before crashing on KVM_{GET,SET}_MSRS (Eduardo)
      
      # gpg: Signature made Tue 14 Mar 2017 13:42:05 GMT
      # gpg:                using RSA key 0xBFFBD25F78C7AE83
      # gpg: Good signature from "Paolo Bonzini <bonzini@gnu.org>"
      # gpg:                 aka "Paolo Bonzini <pbonzini@redhat.com>"
      # 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:
        nbd/client: fix drop_sync [CVE-2017-2630]
        memory: info mtree check mr range overflow
        icount: process QEMU_CLOCK_VIRTUAL timers in vCPU thread
        main-loop: remove now unnecessary optimization
        cpus: define QEMUTimerListNotifyCB for QEMU system emulation
        qemu-timer: do not include sysemu/cpus.h from util/qemu-timer.h
        qemu-timer: fix off-by-one
        target/nios2: take BQL around interrupt check
        scsi: mptsas: fix the wrong reading size in fetch request
        util: Removed unneeded header from path.c
        configure: add the missing help output for optional features
        scripts/dump-guest-memory.py: fix int128_get64 on recent gcc
        kvmclock: Don't crash QEMU if KVM is disabled
        kvm: Print MSR information if KVM_{GET,SET}_MSRS failed
        exec: add cpu_synchronize_state to cpu_memory_rw_debug
        mem-prealloc: reduce large guest start-up and migration time.
        docs: Add a note about mixing bootindex with "-boot order"
        memory_region: Fix name comments
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      64c358a3
    • P
      hw/misc/imx6_src: Don't crash trying to reset missing CPUs · 5e2fb7c5
      Peter Maydell 提交于
      Commit 4881658a introduced a call to arm_get_cpu_by_id(),
      and Coverity noticed that we weren't checking that it didn't
      return NULL (CID 1371652).
      
      Normally this won't happen (because all 4 CPUs are expected
      to exist), but it's possible the user requested fewer CPUs
      on the command line. Handle this possibility by silently
      doing nothing, which is the same behaviour as before commit
      4881658a and also how we handle the other CPU operations
      (since we ignore the INVALID_PARAM returns from arm_set_cpu_on()
      and friends).
      
      There is a slight behavioural difference to the pre-4881658a
      situation: the "reset this core" bit will remain set rather
      than not being permitted to be set. The imx6 datasheet is
      unclear about the behaviour in this odd corner case, so we
      opt for the simpler code rather than complicated logic to
      maintain identical behaviour.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Message-id: 1488542374-1256-1-git-send-email-peter.maydell@linaro.org
      Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
      5e2fb7c5
  2. 14 3月, 2017 32 次提交
  3. 13 3月, 2017 4 次提交
    • P
      Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging · 5bac3c39
      Peter Maydell 提交于
      Block layer fixes for 2.9.0-rc1
      
      # gpg: Signature made Mon 13 Mar 2017 11:53:16 GMT
      # 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
      
      * remotes/kevin/tags/for-upstream:
        commit: Implement .bdrv_refresh_filename
        mirror: Implement .bdrv_refresh_filename
        block: Refresh filename after changing backing file
        commit: Implement bdrv_commit_top.bdrv_co_get_block_status
        block: Request block status from *file for BDRV_BLOCK_RAW
        block: Remove check_new_perm from bdrv_replace_child()
        migration: Document handling of bdrv_is_allocated() errors
        vvfat: React to bdrv_is_allocated() errors
        backup: React to bdrv_is_allocated() errors
        block: Drop unmaintained 'archipelago' driver
        file-posix: Consider max_segments for BlockLimits.max_transfer
        backup: allow target without .bdrv_get_info
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      5bac3c39
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into staging · f962709c
      Peter Maydell 提交于
      x86: Haswell TSX blacklist fix for 2.9
      
      # gpg: Signature made Fri 10 Mar 2017 18:45:08 GMT
      # 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/x86-pull-request:
        i386: Change stepping of Haswell to non-blacklisted value
        i386/kvm: Blacklist TSX on known broken hosts
        i386: host_vendor_fms() helper function
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      f962709c
    • K
      commit: Implement .bdrv_refresh_filename · dcbf37ce
      Kevin Wolf 提交于
      We want query-block to return the right filename, even if a commit job
      put a bdrv_commit_top on top of the actual image format driver. Let
      bdrv_commit_top.bdrv_refresh_filename get the filename from its backing
      file.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      dcbf37ce
    • K
      mirror: Implement .bdrv_refresh_filename · fd4a6493
      Kevin Wolf 提交于
      We want query-block to return the right filename, even if a mirror job
      put a bdrv_mirror_top on top of the actual image format driver. Let
      bdrv_mirror_top.bdrv_refresh_filename get the filename from its backing
      file.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      fd4a6493