1. 24 10月, 2018 25 次提交
  2. 23 10月, 2018 3 次提交
    • P
      Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging · 9b29b44e
      Peter Maydell 提交于
      Fam Zheng (2):
        slirp: Add sanity check for str option length
        slirp: Implement RFC2132 TFTP server name
      
      # gpg: Signature made Sun 21 Oct 2018 20:29:34 BST
      # gpg:                using RSA key E3F65A9E9560DB4C
      # gpg: Good signature from "Samuel Thibault <samuel.thibault@aquilenet.fr>"
      # gpg:                 aka "Samuel Thibault <sthibault@debian.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@gnu.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@inria.fr>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@labri.fr>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@ens-lyon.org>"
      # gpg:                 aka "Samuel Thibault <samuel.thibault@u-bordeaux.fr>"
      # 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: 900C B024 B679 31D4 0F82  304B D017 8C76 7D06 9EE6
      #      Subkey fingerprint: 33FA 7B64 6195 01F8 CE9C  8F97 E3F6 5A9E 9560 DB4C
      
      * remotes/thibault/tags/samuel-thibault:
        slirp: Implement RFC2132 TFTP server name
        slirp: Add sanity check for str option length
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      9b29b44e
    • P
      Merge remote-tracking branch 'remotes/berrange/tags/qcrypto-next-pull-request' into staging · 7acd80e8
      Peter Maydell 提交于
      Update min required crypto library versions
      
      The min required versions for crypto libraries are now
      
       - gnutls >= 3.1.18
       - nettle >= 2.7.1
       - gcrypt >= 1.5.0
      
      # gpg: Signature made Fri 19 Oct 2018 14:42:35 BST
      # gpg:                using RSA key BE86EBB415104FDF
      # gpg: Good signature from "Daniel P. Berrange <dan@berrange.com>"
      # gpg:                 aka "Daniel P. Berrange <berrange@redhat.com>"
      # Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E  8E3F BE86 EBB4 1510 4FDF
      
      * remotes/berrange/tags/qcrypto-next-pull-request:
        crypto: require nettle >= 2.7.1 for building QEMU
        crypto: require libgcrypt >= 1.5.0 for building QEMU
        crypto: require gnutls >= 3.1.18 for building QEMU
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7acd80e8
    • R
      osdep: Work around MinGW assert · 3ebee3b1
      Richard Henderson 提交于
      In several places we use assert(FEATURE), and assume that if FEATURE
      is disabled, all following code is removed as unreachable.  Which allows
      us to compile-out functions that are only present with FEATURE, and
      have a link-time failure if the functions remain used.
      
      MinGW does not mark its internal function _assert() as noreturn, so the
      compiler cannot see when code is unreachable, which leads to link errors
      for this host that are not present elsewhere.
      
      The current build-time failure concerns 62823083, but I remember
      having seen this same error before.  Fix it once and for all for MinGW.
      Signed-off-by: NRichard Henderson <richard.henderson@linaro.org>
      Reviewed-by: NPhilippe Mathieu-Daudé <f4bug@amsat.org>
      Message-id: 20181022181623.8810-1-richard.henderson@linaro.org
      Reviewed-by: NPeter Maydell <peter.maydell@linaro.org>
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      3ebee3b1
  3. 22 10月, 2018 2 次提交
  4. 21 10月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/vivier2/tags/linux-user-for-3.1-pull-request' into staging · 99e2487e
      Peter Maydell 提交于
      A series to enable ioctl usbfs in linux-user
      
      # gpg: Signature made Fri 19 Oct 2018 13:18:53 BST
      # gpg:                using RSA key F30C38BD3F2FBE3C
      # gpg: Good signature from "Laurent Vivier <lvivier@redhat.com>"
      # gpg:                 aka "Laurent Vivier <laurent@vivier.eu>"
      # gpg:                 aka "Laurent Vivier (Red Hat) <lvivier@redhat.com>"
      # Primary key fingerprint: CD2F 75DD C8E3 A4DC 2E4F  5173 F30C 38BD 3F2F BE3C
      
      * remotes/vivier2/tags/linux-user-for-3.1-pull-request:
        linux-user: Implement special usbfs ioctls.
        linux-user: Define ordinary usbfs ioctls.
        linux-user: Check for Linux USBFS in configure
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      99e2487e
  5. 20 10月, 2018 1 次提交
    • P
      Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging · b312532f
      Peter Maydell 提交于
      * RTC fixes (Artem)
      * icount fixes (Artem)
      * rr fixes (Pavel, myself)
      * hotplug cleanup (Igor)
      * SCSI fixes (myself)
      * 4.20-rc1 KVM header update (myself)
      * coalesced PIO support (Peng Hao)
      * HVF fixes (Roman B.)
      * Hyper-V refactoring (Roman K.)
      * Support for Hyper-V IPI (Vitaly)
      
      # gpg: Signature made Fri 19 Oct 2018 12:47:58 BST
      # gpg:                using RSA key BFFBD25F78C7AE83
      # 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: (47 commits)
        replay: pass raw icount value to replay_save_clock
        target/i386: kvm: just return after migrate_add_blocker failed
        hyperv_testdev: add SynIC message and event testmodes
        hyperv: process POST_MESSAGE hypercall
        hyperv: add support for KVM_HYPERV_EVENTFD
        hyperv: process SIGNAL_EVENT hypercall
        hyperv: add synic event flag signaling
        hyperv: add synic message delivery
        hyperv: make overlay pages for SynIC
        hyperv: only add SynIC in compatible configurations
        hyperv: qom-ify SynIC
        hyperv:synic: split capability testing and setting
        i386: add hyperv-stub for CONFIG_HYPERV=n
        default-configs: collect CONFIG_HYPERV* in hyperv.mak
        hyperv: factor out arch-independent API into hw/hyperv
        hyperv: make hyperv_vp_index inline
        hyperv: split hyperv-proto.h into x86 and arch-independent parts
        hyperv: rename kvm_hv_sint_route_set_sint
        hyperv: make HvSintRoute reference-counted
        hyperv: address HvSintRoute by X86CPU pointer
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b312532f
  6. 19 10月, 2018 8 次提交
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20181018' into staging · 31e213e3
      Peter Maydell 提交于
      Queued tcg patches.
      
      # gpg: Signature made Fri 19 Oct 2018 07:03:20 BST
      # gpg:                using RSA key 64DF38E8AF7E215F
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>"
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth/tags/pull-tcg-20181018: (21 commits)
        cputlb: read CPUTLBEntry.addr_write atomically
        target/s390x: Check HAVE_ATOMIC128 and HAVE_CMPXCHG128 at translate
        target/s390x: Skip wout, cout helpers if op helper does not return
        target/s390x: Split do_cdsg, do_lpq, do_stpq
        target/s390x: Convert to HAVE_CMPXCHG128 and HAVE_ATOMIC128
        target/ppc: Convert to HAVE_CMPXCHG128 and HAVE_ATOMIC128
        target/arm: Check HAVE_CMPXCHG128 at translate time
        target/arm: Convert to HAVE_CMPXCHG128
        target/i386: Convert to HAVE_CMPXCHG128
        tcg: Split CONFIG_ATOMIC128
        tcg: Add tlb_index and tlb_entry helpers
        cputlb: serialize tlb updates with env->tlb_lock
        cputlb: fix assert_cpu_is_self macro
        exec: introduce tlb_init
        target/unicore32: remove tlb_flush from uc32_init_fn
        target/alpha: remove tlb_flush from alpha_cpu_initfn
        tcg: distribute tcg_time into TCG contexts
        tcg: plug holes in struct TCGProfile
        tcg: fix use of uninitialized variable under CONFIG_PROFILER
        tcg: access cpu->icount_decr.u16.high with atomics
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      31e213e3
    • P
      Merge remote-tracking branch 'remotes/jasowang/tags/net-pull-request' into staging · 784c2e4f
      Peter Maydell 提交于
      # gpg: Signature made Fri 19 Oct 2018 04:16:03 BST
      # gpg:                using RSA key EF04965B398D6211
      # gpg: Good signature from "Jason Wang (Jason Wang on RedHat) <jasowang@redhat.com>"
      # 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: 215D 46F4 8246 689E C77F  3562 EF04 965B 398D 6211
      
      * remotes/jasowang/tags/net-pull-request: (26 commits)
        qemu-options: Fix bad "macaddr" property in the documentation
        e1000: indicate dropped packets in HW counters
        net: ignore packet size greater than INT_MAX
        pcnet: fix possible buffer overflow
        rtl8139: fix possible out of bound access
        ne2000: fix possible out of bound access in ne2000_receive
        clean up callback when del virtqueue
        docs: Add COLO status diagram to COLO-FT.txt
        COLO: quick failover process by kick COLO thread
        COLO: notify net filters about checkpoint/failover event
        filter-rewriter: handle checkpoint and failover event
        filter: Add handle_event method for NetFilterClass
        COLO: flush host dirty ram from cache
        savevm: split the process of different stages for loadvm/savevm
        qapi: Add new command to query colo status
        qapi/migration.json: Rename COLO unknown mode to none mode.
        qmp event: Add COLO_EXIT event to notify users while exited COLO
        COLO: Flush memory data from ram cache
        ram/COLO: Record the dirty pages that SVM received
        COLO: Load dirty pages into SVM's RAM cache firstly
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      784c2e4f
    • M
      error: Drop bogus "use error_setg() instead" admonitions · 80313fb5
      Markus Armbruster 提交于
      Commit 97f40301 "error: Functions to report warnings and
      informational messages" copied the "use error_setg() instead"
      admonition from the error reporting functions to new functions even
      though it doesn't actually apply there.  Drop it.  Also drop it from
      vreport(), where it doesn't apply anymore.
      Reported-by: NKevin Wolf <kwolf@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20181019123923.26649-1-armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      80313fb5
    • D
      crypto: require nettle >= 2.7.1 for building QEMU · 64dd2f3b
      Daniel P. Berrangé 提交于
      nettle 2.7.1 was released in 2013 and all the distros that are build
      target platforms for QEMU [1] include it:
      
        RHEL-7: 2.7.1
        Debian (Stretch): 3.3
        Debian (Jessie): 2.7.1
        OpenBSD (ports): 3.4
        FreeBSD (ports): 3.4
        OpenSUSE Leap 15: 3.4
        Ubuntu (Xenial): 3.2
        macOS (Homebrew): 3.4
      
      Based on this, it is reasonable to require nettle >= 2.7.1 in QEMU
      which allows for some conditional version checks in the code to be
      removed.
      
      [1] https://qemu.weilnetz.de/doc/qemu-doc.html#Supported-build-platformsReviewed-by: NEric Blake <eblake@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      64dd2f3b
    • M
      vpc: Fail open on bad header checksum · 04788ba2
      Markus Armbruster 提交于
      vpc_open() merely prints a warning when it finds a bad header
      checksum.  Turn that into a hard error.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20181017082702.5581-39-armbru@redhat.com>
      [Error message capitalized for local consistency]
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      04788ba2
    • M
      block: Clean up bdrv_img_create()'s error reporting · da7e92ca
      Markus Armbruster 提交于
      bdrv_img_create() takes an Error ** argument and uses it in the
      conventional way, except for one place: when qemu_opts_do_parse()
      fails, it first reports its error to stderr or the HMP monitor with
      error_report_err(), then error_setg()'s a generic error.
      
      When the caller reports that second error similarly, this produces two
      consecutive error messages on stderr or the HMP monitor.
      
      When the caller does something else with it, such as send it via QMP,
      the first error still goes to stderr or the HMP monitor.  Fortunately,
      no such caller exists.
      
      Simply use the first error as is.  Update expected output of
      qemu-iotest 049 accordingly.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Max Reitz <mreitz@redhat.com>
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NEric Blake <eblake@redhat.com>
      Message-Id: <20181017082702.5581-37-armbru@redhat.com>
      Reviewed-by: NKevin Wolf <kwolf@redhat.com>
      da7e92ca
    • M
      vl: Simplify call of parse_name() · 5343bda4
      Markus Armbruster 提交于
      main() checks for parse_name() failure even though it can't actually
      fail.  That's okay.  Simplify it to check by passing &error_fatal,
      like the other users of qemu_opts_foreach().
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20181017082702.5581-36-armbru@redhat.com>
      5343bda4
    • M
      vl: Fix exit status for -drive format=help · 7c89fcba
      Markus Armbruster 提交于
      Signed-off-by: NMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20181017082702.5581-35-armbru@redhat.com>
      7c89fcba