1. 15 2月, 2019 25 次提交
  2. 14 2月, 2019 15 次提交
    • P
      Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging · 16abfb36
      Peter Maydell 提交于
      Pull request
      
      Fix a virtio-blk migration regression.
      
      # gpg: Signature made Thu 14 Feb 2019 04:32:55 GMT
      # gpg:                using RSA key 9CA4ABB381AB73C8
      # gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
      # gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
      # Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8
      
      * remotes/stefanha/tags/block-pull-request:
        virtio-blk: set correct config size for the host driver
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      16abfb36
    • P
      Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging · 7e407466
      Peter Maydell 提交于
      Fix slirp on windows
      
      Marc-André Lureau (2):
        slirp: remove slirp_ prefix for socket wrappers
        slirp: wrap the remaining socket functions
      
      # gpg: Signature made Wed 13 Feb 2019 18:31:21 GMT
      # gpg:                using RSA key E61DBB15D4172BDEC97E92D9DB550E89F0FA54F3
      # gpg: Good signature from "Samuel Thibault <samuel.thibault@aquilenet.fr>" [unknown]
      # gpg:                 aka "Samuel Thibault <sthibault@debian.org>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@gnu.org>" [unknown]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@inria.fr>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@labri.fr>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@ens-lyon.org>" [marginal]
      # gpg:                 aka "Samuel Thibault <samuel.thibault@u-bordeaux.fr>" [unknown]
      # 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: E61D BB15 D417 2BDE C97E  92D9 DB55 0E89 F0FA 54F3
      
      * remotes/thibault/tags/samuel-thibault:
        slirp: wrap the remaining socket functions
        slirp: remove slirp_ prefix for socket wrappers
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      7e407466
    • P
      Merge remote-tracking branch 'remotes/elmarco/tags/chardev-pull-request' into staging · c4c5f657
      Peter Maydell 提交于
      Chardev fixes
      
      # gpg: Signature made Wed 13 Feb 2019 16:18:36 GMT
      # gpg:                using RSA key DAE8E10975969CE5
      # gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>" [full]
      # gpg:                 aka "Marc-André Lureau <marcandre.lureau@gmail.com>" [full]
      # Primary key fingerprint: 87A9 BD93 3F87 C606 D276  F62D DAE8 E109 7596 9CE5
      
      * remotes/elmarco/tags/chardev-pull-request: (25 commits)
        char-pty: remove write_lock usage
        char-pty: remove the check for connection on write
        chardev: add a note about frontend sources and context switch
        terminal3270: do not use backend timer sources
        char: update the mux handlers in class callback
        chardev/wctablet: Fix a typo
        char: allow specifying a GMainContext at opening time
        chardev: ensure termios is fully initialized
        tests: expand coverage of socket chardev test
        chardev: fix race with client connections in tcp_chr_wait_connected
        chardev: disallow TLS/telnet/websocket with tcp_chr_wait_connected
        chardev: honour the reconnect setting in tcp_chr_wait_connected
        chardev: use a state machine for socket connection state
        chardev: split up qmp_chardev_open_socket connection code
        chardev: split tcp_chr_wait_connected into two methods
        chardev: remove unused 'sioc' variable & cleanup paths
        chardev: ensure qemu_chr_parse_compat reports missing driver error
        chardev: remove many local variables in qemu_chr_parse_socket
        chardev: forbid 'wait' option with client sockets
        chardev: forbid 'reconnect' option with server sockets
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      c4c5f657
    • P
      Merge remote-tracking branch 'remotes/palmer/tags/riscv-for-master-4.0-sf1' into staging · 4856c2c7
      Peter Maydell 提交于
      RISC-V Patches for the 4.0 Soft Freeze, Part 1
      
      This patch set contains a handful of patches I've collected over the
      last few weeks.  There's nothing really fundamental, but I thought it
      would be good to send these out now as there are some other patch sets
      on the mailing list that are getting ready to go.
      
      As far as the actual patches, there's:
      
      * A set that cleans up our FS dirty-mode handling.
      * Support for writing MISA.
      * The removal of Michael as a maintainer.
      * A fix to {m,s}counteren handling.
      * A fix to make sure the kernel's start address is computed correctly on
        32-bit targets.
      
      This makes my "RISC-V Patches for 3.2, Part 3" pull request defunct, as
      it contains the same patches but based on a newer master.  As usual,
      I've tested this using a Fedora boot on the latest Linux.  This patch
      set does not include Bastian's decodetree patches because there were
      some merge conflicts and while I've cleaned them up I want to get a
      round of review first.
      
      # gpg: Signature made Wed 13 Feb 2019 15:37:50 GMT
      # gpg:                using RSA key 00CE76D1834960DFCE886DF8EF4CA1502CCBAB41
      # gpg:                issuer "palmer@dabbelt.com"
      # gpg: Good signature from "Palmer Dabbelt <palmer@dabbelt.com>" [unknown]
      # gpg:                 aka "Palmer Dabbelt <palmer@sifive.com>" [unknown]
      # 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: 00CE 76D1 8349 60DF CE88  6DF8 EF4C A150 2CCB AB41
      
      * remotes/palmer/tags/riscv-for-master-4.0-sf1:
        riscv: Ensure the kernel start address is correctly cast
        target/riscv: fix counter-enable checks in ctr()
        MAINTAINERS: Remove Michael Clark as a RISC-V Maintainer
        RISC-V: Add misa runtime write support
        RISC-V: Add misa.MAFD checks to translate
        RISC-V: Add misa to DisasContext
        RISC-V: Add priv_ver to DisasContext
        RISC-V: Use riscv prefix consistently on cpu helpers
        RISC-V: Implement mstatus.TSR/TW/TVM
        RISC-V: Mark mstatus.fs dirty
        RISC-V: Split out mstatus_fs from tb_flags
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      4856c2c7
    • T
      configure: improve usbfs check · 96566d09
      Thomas Petazzoni 提交于
      The current check to test if usbfs support should be compiled or not
      solely relies on the presence of <linux/usbdevice_fs.h>, without
      actually checking that all definition used by Qemu are provided by
      this header file.
      
      With sufficiently old kernel headers, <linux/usbdevice_fs.h> may be
      present, but some of the definitions needed by Qemu may not be
      available.
      
      This commit improves the check by building a small program that
      actually tests whether the necessary definitions are available.
      
      In addition, it fixes a bug where have_usbfs was set to "yes"
      regardless of the result of the test.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@bootlin.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Message-Id: <20190213211827.20300-1-thomas.petazzoni@bootlin.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      96566d09
    • T
      hw/sparc64: Explicitly set default_display = "std" · 9aed808e
      Thomas Huth 提交于
      The sun4uv_init() function expects vga_interface_type to be either
      VGA_STD or VGA_NONE and sets up a stdvga device or no vga card
      accordingly.
      However, the code in vl.c prefers the Cirrus VGA card to stdvga if
      it is available and the user and the machine did not specify anything
      else.
      So far this has not been a problem, since the Cirrus VGA was not linked
      into the sparc64 target. But with the upcoming Kconfig build system,
      all theoretically possible PCI cards will be enabled by default, so the
      Cirrus VGA card might become available on the sparc64 target, too. vl.c
      then picks the wrong card, causing sun4uv_init() to abort.
      Thus let's make it explicit that we always want stdvga for sparc64 and
      so set default_display = "std" for these machines.
      Signed-off-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: NMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
      Message-Id: <1550041639-10232-1-git-send-email-thuth@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      9aed808e
    • P
      hw/dma/i8257: Use qemu_log_mask(UNIMP) instead of fprintf · c1a00ff8
      Philippe Mathieu-Daudé 提交于
      Avoid to clutter stdout until explicitly requested (with -d unimp):
      
        $ qemu-system-mips64el -M fulong2e -bios pmon_2e.bin
        dma: command df not supported
        dma: command df not supported
        dma: command df not supported
        dma: command df not supported
      Signed-off-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NStefano Garzarella <sgarzare@redhat.com>
      Message-Id: <20190212145322.30974-1-philmd@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      c1a00ff8
    • D
      wavcapture: Convert to error_report · 8beaac12
      Dr. David Alan Gilbert 提交于
      Kill off a pile of monitor_printf's and cur_mon usage.
      The only one left in wavcapture.c is the info case.
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NGerd Hoffmann <kraxel@gmail.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-Id: <20170320173840.3626-3-dgilbert@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      8beaac12
    • D
      kvm: Add kvm_set_ioeventfd* traces · 876d16cd
      Dr. David Alan Gilbert 提交于
      Add a couple of traces around the kvm_set_ioeventfd* calls.
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: NCornelia Huck <cohuck@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-Id: <20190212134758.10514-4-dgilbert@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      876d16cd
    • D
      HMP: Prepend errors with 'Error:' · 66363e9a
      Dr. David Alan Gilbert 提交于
      Always make error messages start with 'Error:' as a fallback
      to make sure that anything parsing them can tell it failed.
      
      Note: Some places don't use hmp_handle_error
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-Id: <20190212134758.10514-3-dgilbert@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      66363e9a
    • D
      pckbd: Convert DPRINTF->trace · 65b182c3
      Dr. David Alan Gilbert 提交于
      Signed-off-by: NDr. David Alan Gilbert <dgilbert@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Message-Id: <20181016112232.23241-1-dgilbert@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      65b182c3
    • P
      configure: Make -Waddress-of-packed-member warnings be errors · 2911b3d3
      Peter Maydell 提交于
      We have now managed to eradicate all the places in the codebase
      that triggered clang's -Waddress-of-packed-member warning. Remove
      the compiler flag that exempted it from our usual -Werror policy.
      This will prevent any new problematic code being added in future.
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190208132112.31493-1-peter.maydell@linaro.org>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      2911b3d3
    • P
      Merge remote-tracking branch 'remotes/rth/tags/pull-hppa-20190212' into staging · 190ff538
      Peter Maydell 提交于
      Convert to decodetree.
      Fix signed overflow conditions.
      Fix dcor.
      Add CPU MIE to PCI address space.
      
      # gpg: Signature made Tue 12 Feb 2019 21:26:07 GMT
      # gpg:                using RSA key 64DF38E8AF7E215F
      # gpg: Good signature from "Richard Henderson <richard.henderson@linaro.org>" [full]
      # Primary key fingerprint: 7A48 1E78 868B 4DB6 A85A  05C0 64DF 38E8 AF7E 215F
      
      * remotes/rth/tags/pull-hppa-20190212: (24 commits)
        hw/hppa: forward requests to CPU HPA
        target/hppa: fix dcor instruction
        target/hppa: Fix addition '</<=' conditions
        target/hppa: Rearrange log conditions
        target/hppa: move GETPC to HELPER() functions
        target/hppa: Merge translate_one into hppa_tr_translate_insn
        target/hppa: Convert fp operate insns
        target/hppa: Convert fp fused multiply-add insns
        target/hppa: Convert halt/reset insns
        target/hppa: Convert fp indexed memory insns
        target/hppa: Convert offset memory insns
        target/hppa: Convert arithmetic immediate insns
        target/hppa: Convert direct and indirect branches
        target/hppa: Convert shift, extract, deposit insns
        target/hppa: Convert conditional branches
        target/hppa: Convert fp multiply-add
        target/hppa: Convert indexed memory insns
        target/hppa: Convert arithmetic/logical insns
        target/hppa: Convert memory management insns
        target/hppa: Unify specializations of OR
        ...
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      190ff538
    • K
      configure: Add HAX support in NetBSD · 604a5b99
      Kamil Rytarowski 提交于
      The NetBSD support in Intel HAXM has beem merged upstream and is functional.
      Signed-off-by: NKamil Rytarowski <n54@gmx.com>
      Message-Id: <20190207233704.29978-1-n54@gmx.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      604a5b99
    • C
      configure: fix qemu-img name · 8de73fa8
      Cleber Rosa 提交于
      Signed-off-by: NCleber Rosa <crosa@redhat.com>
      Reviewed-by: NLaurent Vivier <laurent@vivier.eu>
      Reviewed-by: NPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190207193605.25676-3-crosa@redhat.com>
      Signed-off-by: NLaurent Vivier <laurent@vivier.eu>
      8de73fa8