Skip to content
Snippets Groups Projects
  1. Oct 12, 2020
    • Alex Bennée's avatar
      tools/virtiofsd: add support for --socket-group · f6698f2b
      Alex Bennée authored
      
      If you like running QEMU as a normal user (very common for TCG runs)
      but you have to run virtiofsd as a root user you run into connection
      problems. Adding support for an optional --socket-group allows the
      users to keep using the command line.
      
      Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      
      Message-Id: <20200925125147.26943-2-alex.bennee@linaro.org>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
        dgilbert: Split long line
      f6698f2b
    • Dr. David Alan Gilbert's avatar
      virtiofsd: Silence gcc warning · 2acf4f8f
      Dr. David Alan Gilbert authored
      
      Gcc worries fd might be used unset, in reality it's always set if
      fi is set, and only used if fi is set so it's safe.  Initialise it to -1
      just to keep gcc happy for now.
      
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      Message-Id: <20200827153657.111098-2-dgilbert@redhat.com>
      Reviewed-by: default avatarJán Tomko <jtomko@redhat.com>
      Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
      2acf4f8f
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/armbru/tags/pull-qapi-2020-10-10' into staging · 2387df49
      Peter Maydell authored
      
      QAPI patches patches for 2020-10-10
      
      # gpg: Signature made Sat 10 Oct 2020 10:43:14 BST
      # gpg:                using RSA key 354BC8B3D7EB2A6B68674E5F3870B400EB918653
      # gpg:                issuer "armbru@redhat.com"
      # gpg: Good signature from "Markus Armbruster <armbru@redhat.com>" [full]
      # gpg:                 aka "Markus Armbruster <armbru@pond.sub.org>" [full]
      # Primary key fingerprint: 354B C8B3 D7EB 2A6B 6867  4E5F 3870 B400 EB91 8653
      
      * remotes/armbru/tags/pull-qapi-2020-10-10: (34 commits)
        qapi/visit.py: add type hint annotations
        qapi/visit.py: remove unused parameters from gen_visit_object
        qapi/visit.py: assert tag_member contains a QAPISchemaEnumType
        qapi/types.py: remove one-letter variables
        qapi/types.py: add type hint annotations
        qapi/gen.py: delint with pylint
        qapi/gen.py: update write() to be more idiomatic
        qapi/gen.py: Remove unused parameter
        qapi/gen.py: add type hint annotations
        qapi/gen: Make _is_user_module() return bool
        qapi/source.py: delint with pylint
        qapi/source.py: add type hint annotations
        qapi/commands.py: add type hint annotations
        qapi/commands.py: Don't re-bind to variable of different type
        qapi/events.py: Move comments into docstrings
        qapi/events.py: add type hint annotations
        qapi: establish mypy type-checking baseline
        qapi/common.py: move build_params into gen.py
        qapi/common.py: Convert comments into docstrings, and elaborate
        qapi/common.py: add type hint annotations
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      2387df49
  2. Oct 11, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/stsquad/tags/pull-various-091020-1' into staging · 48a340d9
      Peter Maydell authored
      
      Testing, gitdm and plugin fixes:
      
        - fix acceptance regressions in MIPS and IDE
        - speed up cirrus msys2/mingw builds
        - add genisoimage to more docker images
        - slew of gitdb updates
        - fix some windows compile issues for plugins
        - add V=1 to cirrus output
        - disable rxsim in gitlab CI
      
      # gpg: Signature made Fri 09 Oct 2020 17:30:29 BST
      # gpg:                using RSA key 6685AE99E75167BCAFC8DF35FBD0DB095A9E2A44
      # gpg: Good signature from "Alex Bennée (Master Work Key) <alex.bennee@linaro.org>" [full]
      # Primary key fingerprint: 6685 AE99 E751 67BC AFC8  DF35 FBD0 DB09 5A9E 2A44
      
      * remotes/stsquad/tags/pull-various-091020-1: (22 commits)
        tests/acceptance: disable machine_rx_gdbsim on GitLab
        cirrus: use V=1 when running tests on FreeBSD and macOS
        plugin: Fixes compiling errors on msys2/mingw
        plugins: Fixes a issue when dlsym failed, the handle not closed
        .mailmap: Fix more contributor entries
        contrib/gitdm: Add Yandex to the domain map
        contrib/gitdm: Add Yadro to the domain map
        contrib/gitdm: Add SUSE to the domain map
        contrib/gitdm: Add Nir Soffer to Red Hat domain
        contrib/gitdm: Add Qualcomm to the domain map
        contrib/gitdm: Add Nuvia to the domain map
        contrib/gitdm: Add Google to the domain map
        contrib/gitdm: Add ByteDance to the domain map
        contrib/gitdm: Add Baidu to the domain map
        contrib/gitdm: Add more individual contributors
        contrib/gitdm: Add more academic domains
        tests/docker: Add genisoimage to the docker file
        cirrus: msys2/mingw speed is up, add excluded target back
        cirrus: Fixing and speedup the msys2/mingw CI
        hw/ide: restore replay support of IDE
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      48a340d9
  3. Oct 10, 2020
  4. Oct 09, 2020
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ericb/tags/pull-nbd-2020-10-08-v3' into staging · b433f2cb
      Peter Maydell authored
      
      nbd patches for 2020-10-08
      
      - silence compilation warnings
      - more fixes to prevent reconnect hangs
      - improve 'qemu-nbd' termination behavior
      - cleaner NBD protocol compliance on string handling
      
      # gpg: Signature made Fri 09 Oct 2020 21:05:30 BST
      # gpg:                using RSA key 71C2CC22B1C4602927D2F3AAA7A16B4A2527436A
      # gpg: Good signature from "Eric Blake <eblake@redhat.com>" [full]
      # gpg:                 aka "Eric Blake (Free Software Programmer) <ebb9@byu.net>" [full]
      # gpg:                 aka "[jpeg image of size 6874]" [full]
      # Primary key fingerprint: 71C2 CC22 B1C4 6029 27D2  F3AA A7A1 6B4A 2527 436A
      
      * remotes/ericb/tags/pull-nbd-2020-10-08-v3:
        nbd: Simplify meta-context parsing
        nbd/server: Reject embedded NUL in NBD strings
        qemu-nbd: Honor SIGINT and SIGHUP
        block/nbd: nbd_co_reconnect_loop(): don't connect if drained
        block/nbd: fix reconnect-delay
        block/nbd: correctly use qio_channel_detach_aio_context when needed
        block/nbd: fix drain dead-lock because of nbd reconnect-delay
        nbd: silence maybe-uninitialized warnings
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      b433f2cb
    • Eric Blake's avatar
      nbd: Simplify meta-context parsing · ebd57062
      Eric Blake authored
      
      We had a premature optimization of trying to read as little from the
      wire as possible while handling NBD_OPT_SET_META_CONTEXT in phases.
      But in reality, we HAVE to read the entire string from the client
      before we can get to the next command, and it is easier to just read
      it all at once than it is to read it in pieces.  And once we do that,
      several functions end up no longer performing I/O, so they can drop
      length and errp parameters, and just return a bool instead of
      modifying through a pointer.
      
      Our iotests still pass; I also checked that libnbd's testsuite (which
      covers more corner cases of odd meta context requests) still passes.
      There are cases where the sequence of trace messages produced differs
      (for example, when no bitmap is exported, a query for "qemu:" now
      produces two trace lines instead of one), but trace points are for
      debug and have no effect on what the client sees.
      
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20200930121105.667049-4-eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      [eblake: enhance commit message]
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      ebd57062
Loading