Skip to content
Snippets Groups Projects
  1. Mar 10, 2016
    • Daniel P. Berrangé's avatar
      io: use bind() to check for IPv4/6 availability · 0a27af91
      Daniel P. Berrangé authored
      
      Currently the test-io-channel-socket.c test uses getifaddrs
      to see if an IPv4/6 address is present on any host NIC, as
      a way to determine if IPv4/6 sockets can be used. This is
      problematic because getifaddrs is not available on Win32.
      
      Rather than testing indirectly via getifaddrs, just create
      a socket and try to bind() to the loopback address instead.
      
      Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      0a27af91
    • Daniel P. Berrangé's avatar
      osdep: fix socket_error() to work with Mingw64 · c6196440
      Daniel P. Berrangé authored
      
      Historically QEMU has had a socket_error() macro that was
      defined to map to WSASocketError(). The os-win32.h header
      file would define errno constants that mapped to the
      WSA error constants. This worked fine with Mingw32 since
      its header files never defined any errno values, nor did
      it even provide an errno.h.  So callers of socket_error()
      could match on traditional Exxxx constants and it would
      all "just work".
      
      With Mingw64 though, things work rather differently. First
      there is an errno.h file which defines all the traditional
      errno constants you'd expect from a UNIX platform. There
      is then a winerror.h which defined the WSA error constants.
      Crucially the WSAExxxx errno values in winerror.h do not
      match the Exxxx errno values in error.h.
      
      If QEMU had only imported winerror.h it would still work,
      but the qemu/osdep.h file unconditionally imports errno.h.
      So callers of socket_error() will get now WSAExxxx values
      back and compare them to the Exxx constants. This will
      always fail silently at runtime.
      
      To solve this QEMU needs to stop assuming the WSAExxxx
      constant values match the Exxx constant values. Thus the
      socket_error() macro is turned into a small function that
      re-maps WSAExxxx values into Exxx.
      
      Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Signed-off-by: default avatarDaniel P. Berrange <berrange@redhat.com>
      c6196440
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-ui-20160309-1' into staging · a648c137
      Peter Maydell authored
      
      add linux evdev support, vnc and console fixes.
      
      # gpg: Signature made Wed 09 Mar 2016 09:02:47 GMT using RSA key ID D3E87138
      # 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>"
      
      * remotes/kraxel/tags/pull-ui-20160309-1:
        ui/console: add escape sequence \e[5, 6n
        input-linux: add switch to enable auto-repeat events
        input-linux: add option to toggle grab on all devices
        input: linux evdev support
        vnc: send cursor when a new client is connecting
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      a648c137
  2. Mar 09, 2016
    • Ren Kimura's avatar
      ui/console: add escape sequence \e[5, 6n · 58aa7d8e
      Ren Kimura authored
      
      Add support of escape sequence "\e[5n" and "\e[6n" to console.
      "\e[5n" reports status of console and it always succeed
      in virtual console.
      "\e[6n" reports now cursor position in console.
      
      Signed-off-by: default avatarRen Kimura <rkx1209dev@gmail.com>
      Message-id: 1457466681-7714-2-git-send-email-rkx1209dev@gmail.com
      Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
      58aa7d8e
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/thibault/tags/samuel-thibault' into staging · 4ba364b4
      Peter Maydell authored
      
      Add Samuel Thibault as slirp maintainer
      
      # gpg: Signature made Tue 08 Mar 2016 20:43:01 GMT using RSA key ID FB6B2F1D
      # gpg: Good signature from "Samuel Thibault <samuel.thibault@gnu.org>"
      # gpg:                 aka "Samuel Thibault <sthibault@debian.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: 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: F632 74CD C630 0873 CB3D  29D9 E3E5 1CE8 FB6B 2F1D
      
      * remotes/thibault/tags/samuel-thibault:
        MAINTAINERS: Add Samuel Thibault as slirp maintainer
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      4ba364b4
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/amit-migration/tags/migration-for-2.6-6' into staging · 8519c8e0
      Peter Maydell authored
      
      migration:
      * add avx2 instruction optimization, speeds up zero-page checking on
        compatible architectures and compilers (gcc 4.9+)
      * add additional postcopy stats to 'info migrate' output
      
      # gpg: Signature made Tue 08 Mar 2016 11:29:48 GMT using RSA key ID 854083B6
      # gpg: Good signature from "Amit Shah <amit@amitshah.net>"
      # gpg:                 aka "Amit Shah <amit@kernel.org>"
      # gpg:                 aka "Amit Shah <amitshah@gmx.net>"
      
      * remotes/amit-migration/tags/migration-for-2.6-6:
        cutils: add avx2 instruction optimization
        configure: detect ifunc and avx2 attribute
        Postcopy: Fix sync count in info migrate
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      8519c8e0
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/kraxel/tags/pull-fw-cfg-20160308-1' into staging · 3293680d
      Peter Maydell authored
      
      acpi: add fw_cfg device node to dsdt
      
      # gpg: Signature made Tue 08 Mar 2016 11:15:42 GMT using RSA key ID D3E87138
      # 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>"
      
      * remotes/kraxel/tags/pull-fw-cfg-20160308-1:
        tests: update acpi test data
        fw_cfg: document ACPI device node information
        acpi: arm: add fw_cfg device node to dsdt
        acpi: pc: add fw_cfg device node to dsdt
        pc: fw_cfg: move ioport base constant to pc.h
        fw_cfg: expose control register size in fw_cfg.h
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      3293680d
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/amit-virtio-rng/tags/rng-for-2.6-2' into staging · 5763795f
      Peter Maydell authored
      
      rng: use simpleq instead of gslist
      
      # gpg: Signature made Tue 08 Mar 2016 10:51:23 GMT using RSA key ID 854083B6
      # gpg: Good signature from "Amit Shah <amit@amitshah.net>"
      # gpg:                 aka "Amit Shah <amit@kernel.org>"
      # gpg:                 aka "Amit Shah <amitshah@gmx.net>"
      
      * remotes/amit-virtio-rng/tags/rng-for-2.6-2:
        rng: switch request queue to QSIMPLEQ
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      5763795f
  3. Mar 08, 2016
  4. Mar 07, 2016
Loading