Skip to content
Snippets Groups Projects
  1. Jun 02, 2021
  2. Apr 30, 2021
  3. Mar 24, 2021
  4. Mar 23, 2021
  5. Mar 19, 2021
  6. Mar 09, 2021
  7. Mar 08, 2021
  8. Feb 12, 2021
  9. Jan 28, 2021
  10. Jan 26, 2021
    • Vladimir Sementsov-Ogievskiy's avatar
      qapi: backup: disable copy_range by default · 6a30f663
      Vladimir Sementsov-Ogievskiy authored
      
      Further commit will add a benchmark
      (scripts/simplebench/bench-backup.py), which will show that backup
      works better with async parallel requests (previous commit) and
      disabled copy_range. So, let's disable copy_range by default.
      
      Note: the option was added several commits ago with default to true,
      to follow old behavior (the feature was enabled unconditionally), and
      only now we are going to change the default behavior.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20210116214705.822267-19-vsementsov@virtuozzo.com>
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      6a30f663
    • Vladimir Sementsov-Ogievskiy's avatar
      qapi: backup: add max-chunk and max-workers to x-perf struct · 2c59fd83
      Vladimir Sementsov-Ogievskiy authored
      
      Add new parameters to configure future backup features. The patch
      doesn't introduce aio backup requests (so we actually have only one
      worker) neither requests larger than one cluster. Still, formally we
      satisfy these maximums anyway, so add the parameters now, to facilitate
      further patch which will really change backup job behavior.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20210116214705.822267-11-vsementsov@virtuozzo.com>
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      2c59fd83
    • Vladimir Sementsov-Ogievskiy's avatar
      qapi: backup: add perf.use-copy-range parameter · 86c6a3b6
      Vladimir Sementsov-Ogievskiy authored
      
      Experiments show, that copy_range is not always making things faster.
      So, to make experimentation simpler, let's add a parameter. Some more
      perf parameters will be added soon, so here is a new struct.
      
      For now, add new backup qmp parameter with x- prefix for the following
      reasons:
      
       - We are going to add more performance parameters, some will be
         related to the whole block-copy process, some only to background
         copying in backup (ignored for copy-before-write operations).
       - On the other hand, we are going to use block-copy interface in other
         block jobs, which will need performance options as well.. And it
         should be the same structure or at least somehow related.
      
      So, there are too much unclean things about how the interface and now
      we need the new options mostly for testing. Let's keep them
      experimental for a while.
      
      In do_backup_common() new x-perf parameter handled in a way to
      make further options addition simpler.
      
      We add use-copy-range with default=true, and we'll change the default
      in further patch, after moving backup to use block-copy.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20210116214705.822267-2-vsementsov@virtuozzo.com>
      [mreitz: s/5\.2/6.0/]
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      86c6a3b6
    • Vladimir Sementsov-Ogievskiy's avatar
      qapi: block-stream: add "bottom" argument · 7f4a396d
      Vladimir Sementsov-Ogievskiy authored
      
      The code already don't freeze base node and we try to make it prepared
      for the situation when base node is changed during the operation. In
      other words, block-stream doesn't own base node.
      
      Let's introduce a new interface which should replace the current one,
      which will in better relations with the code. Specifying bottom node
      instead of base, and requiring it to be non-filter gives us the
      following benefits:
      
       - drop difference between above_base and base_overlay, which will be
         renamed to just bottom, when old interface dropped
      
       - clean way to work with parallel streams/commits on the same backing
         chain, which otherwise become a problem when we introduce a filter
         for stream job
      
       - cleaner interface. Nobody will surprised the fact that base node may
         disappear during block-stream, when there is no word about "base" in
         the interface.
      
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20201216061703.70908-11-vsementsov@virtuozzo.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      7f4a396d
    • Andrey Shinkevich's avatar
      stream: rework backing-file changing · 000e5a1c
      Andrey Shinkevich authored
      
      Stream in stream_prepare calls bdrv_change_backing_file() to change
      backing-file in the metadata of bs.
      
      It may use either backing-file parameter given by user or just take
      filename of base on job start.
      
      Backing file format is determined by base on job finish.
      
      There are some problems with this design, we solve only two by this
      patch:
      
      1. Consider scenario with backing-file unset. Current concept of stream
      supports changing of the base during the job (we don't freeze link to
      the base). So, we should not save base filename at job start,
      
        - let's determine name of the base on job finish.
      
      2. Using direct base to determine filename and format is not very good:
      base node may be a filter, so its filename may be JSON, and format_name
      is not good for storing into qcow2 metadata as backing file format.
      
        - let's use unfiltered_base
      
      Signed-off-by: default avatarAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
      Signed-off-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
        [vsementsov: change commit subject, change logic in stream_prepare]
      Message-Id: <20201216061703.70908-10-vsementsov@virtuozzo.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      000e5a1c
    • Andrey Shinkevich's avatar
      qapi: add filter-node-name to block-stream · 880747a8
      Andrey Shinkevich authored
      
      Provide the possibility to pass the 'filter-node-name' parameter to the
      block-stream job as it is done for the commit block job.
      
      Signed-off-by: default avatarAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
        [vsementsov: comment indentation, s/Since: 5.2/Since: 6.0/]
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20201216061703.70908-5-vsementsov@virtuozzo.com>
      [mreitz: s/commit/stream/]
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      880747a8
  11. Dec 13, 2020
  12. Dec 11, 2020
  13. Dec 10, 2020
  14. Oct 09, 2020
    • Kevin Wolf's avatar
      block: Convert 'block_resize' to coroutine · eb94b81a
      Kevin Wolf authored
      
      block_resize performs some I/O that could potentially take quite some
      time, so use it as an example for the new 'coroutine': true annotation
      in the QAPI schema.
      
      bdrv_truncate() requires that we're already in the right AioContext for
      the BlockDriverState if called in coroutine context. So instead of just
      taking the AioContext lock, move the QMP handler coroutine to the
      context.
      
      Call blk_unref() only after switching back because blk_unref() may only
      be called in the main thread.
      
      Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
      Message-Id: <20201005155855.256490-15-kwolf@redhat.com>
      Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      eb94b81a
  15. Oct 06, 2020
    • Pavel Dovgalyuk's avatar
      migration: introduce icount field for snapshots · b39847a5
      Pavel Dovgalyuk authored
      
      Saving icount as a parameters of the snapshot allows navigation between
      them in the execution replay scenario.
      This information can be used for finding a specific snapshot for proceeding
      the recorded execution to the specific moment of the time.
      E.g., 'reverse step' action (introduced in one of the following patches)
      needs to load the nearest snapshot which is prior to the current moment
      of time.
      This patch also updates snapshot test which verifies qemu monitor output.
      
      Signed-off-by: default avatarPavel Dovgalyuk <Pavel.Dovgalyuk@ispras.ru>
      Acked-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Acked-by: default avatarKevin Wolf <kwolf@redhat.com>
      
      --
      
      v4 changes:
       - squashed format update with test output update
      v7 changes:
       - introduced the spaces between the fields in snapshot info output
       - updated the test to match new field widths
      Message-Id: <160174518865.12451.14327573383978752463.stgit@pasha-ThinkPad-X280>
      
      Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      b39847a5
  16. Sep 23, 2020
    • Stefan Hajnoczi's avatar
      qemu/atomic.h: rename atomic_ to qatomic_ · d73415a3
      Stefan Hajnoczi authored
      
      clang's C11 atomic_fetch_*() functions only take a C11 atomic type
      pointer argument. QEMU uses direct types (int, etc) and this causes a
      compiler error when a QEMU code calls these functions in a source file
      that also included <stdatomic.h> via a system header file:
      
        $ CC=clang CXX=clang++ ./configure ... && make
        ../util/async.c:79:17: error: address argument to atomic operation must be a pointer to _Atomic type ('unsigned int *' invalid)
      
      Avoid using atomic_*() names in QEMU's atomic.h since that namespace is
      used by <stdatomic.h>. Prefix QEMU's APIs with 'q' so that atomic.h
      and <stdatomic.h> can co-exist. I checked /usr/include on my machine and
      searched GitHub for existing "qatomic_" users but there seem to be none.
      
      This patch was generated using:
      
        $ git grep -h -o '\<atomic\(64\)\?_[a-z0-9_]\+' include/qemu/atomic.h | \
          sort -u >/tmp/changed_identifiers
        $ for identifier in $(</tmp/changed_identifiers); do
              sed -i "s%\<$identifier\>%q$identifier%g" \
                  $(git grep -I -l "\<$identifier\>")
          done
      
      I manually fixed line-wrap issues and misaligned rST tables.
      
      Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Acked-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
      Message-Id: <20200923105646.47864-1-stefanha@redhat.com>
      d73415a3
  17. Sep 07, 2020
    • Hanna Reitz's avatar
      blockdev: Fix active commit choice · 05ea385a
      Hanna Reitz authored
      
      We have to perform an active commit whenever the top node has a parent
      that has taken the WRITE permission on it.
      
      This means that block-commit's @backing-file parameter is no longer
      allowed for such nodes, and that users will have to issue a
      block-job-complete command.  Neither should pose a problem in practice,
      because this case was basically just broken until now.
      
      (Since this commit already touches block-commit's documentation, it also
      moves up the chunk explaining general block-commit behavior that for
      some reason was situated under @backing-file.)
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      05ea385a
    • Hanna Reitz's avatar
      commit: Deal with filters · 9a71b9de
      Hanna Reitz authored
      
      This includes some permission limiting (for example, we only need to
      take the RESIZE permission if the base is smaller than the top).
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      9a71b9de
    • Hanna Reitz's avatar
      backup: Deal with filters · 2b088c60
      Hanna Reitz authored
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
      2b088c60
    • Hanna Reitz's avatar
      mirror: Deal with filters · 3f072a7f
      Hanna Reitz authored
      
      This includes some permission limiting (for example, we only need to
      take the RESIZE permission for active commits where the base is smaller
      than the top).
      
      base_overlay is introduced so we can query bdrv_is_allocated_above() on
      it - we cannot do that with base itself, because a filter's block_status
      is the same as its child node, so if there are filters on base,
      bdrv_is_allocated_above() on base would return information including
      base.
      
      Use this opportunity to rename qmp_drive_mirror()'s "source" BDS to
      "target_backing_bs", because that is what it really refers to.
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      3f072a7f
    • Hanna Reitz's avatar
      blockdev: Use CAF in external_snapshot_prepare() · 7cc734a9
      Hanna Reitz authored
      
      This allows us to differentiate between filters and nodes with COW
      backing files: Filters cannot be used as overlays at all (for this
      function).
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      Reviewed-by: default avatarAndrey Shinkevich <andrey.shinkevich@virtuozzo.com>
      Reviewed-by: default avatarKevin Wolf <kwolf@redhat.com>
      7cc734a9
    • Hanna Reitz's avatar
      stream: Deal with filters · 67acfd21
      Hanna Reitz authored
      
      Because of the (not so recent anymore) changes that make the stream job
      independent of the base node and instead track the node above it, we
      have to split that "bottom" node into two cases: The bottom COW node,
      and the node directly above the base node (which may be an R/W filter
      or the bottom COW node).
      
      Signed-off-by: default avatarMax Reitz <mreitz@redhat.com>
      67acfd21
  18. Jul 14, 2020
  19. Jul 10, 2020
    • Markus Armbruster's avatar
      error: Eliminate error_propagate() manually · 992861fb
      Markus Armbruster authored
      
      When all we do with an Error we receive into a local variable is
      propagating to somewhere else, we can just as well receive it there
      right away.  The previous two commits did that for sufficiently simple
      cases with Coccinelle.  Do it for several more manually.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20200707160613.848843-37-armbru@redhat.com>
      992861fb
    • Markus Armbruster's avatar
      error: Eliminate error_propagate() with Coccinelle, part 2 · af175e85
      Markus Armbruster authored
      
      When all we do with an Error we receive into a local variable is
      propagating to somewhere else, we can just as well receive it there
      right away.  The previous commit did that with a Coccinelle script I
      consider fairly trustworthy.  This commit uses the same script with
      the matching of return taken out, i.e. we convert
      
          if (!foo(..., &err)) {
              ...
              error_propagate(errp, err);
              ...
          }
      
      to
      
          if (!foo(..., errp)) {
              ...
              ...
          }
      
      This is unsound: @err could still be read between afterwards.  I don't
      know how to express "no read of @err without an intervening write" in
      Coccinelle.  Instead, I manually double-checked for uses of @err.
      
      Suboptimal line breaks tweaked manually.  qdev_realize() simplified
      further to placate scripts/checkpatch.pl.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20200707160613.848843-36-armbru@redhat.com>
      af175e85
    • Markus Armbruster's avatar
      error: Eliminate error_propagate() with Coccinelle, part 1 · 668f62ec
      Markus Armbruster authored
      
      When all we do with an Error we receive into a local variable is
      propagating to somewhere else, we can just as well receive it there
      right away.  Convert
      
          if (!foo(..., &err)) {
              ...
              error_propagate(errp, err);
              ...
              return ...
          }
      
      to
      
          if (!foo(..., errp)) {
              ...
              ...
              return ...
          }
      
      where nothing else needs @err.  Coccinelle script:
      
          @rule1 forall@
          identifier fun, err, errp, lbl;
          expression list args, args2;
          binary operator op;
          constant c1, c2;
          symbol false;
          @@
               if (
          (
          -        fun(args, &err, args2)
          +        fun(args, errp, args2)
          |
          -        !fun(args, &err, args2)
          +        !fun(args, errp, args2)
          |
          -        fun(args, &err, args2) op c1
          +        fun(args, errp, args2) op c1
          )
                  )
               {
                   ... when != err
                       when != lbl:
                       when strict
          -        error_propagate(errp, err);
                   ... when != err
          (
                   return;
          |
                   return c2;
          |
                   return false;
          )
               }
      
          @rule2 forall@
          identifier fun, err, errp, lbl;
          expression list args, args2;
          expression var;
          binary operator op;
          constant c1, c2;
          symbol false;
          @@
          -    var = fun(args, &err, args2);
          +    var = fun(args, errp, args2);
               ... when != err
               if (
          (
                   var
          |
                   !var
          |
                   var op c1
          )
                  )
               {
                   ... when != err
                       when != lbl:
                       when strict
          -        error_propagate(errp, err);
                   ... when != err
          (
                   return;
          |
                   return c2;
          |
                   return false;
          |
                   return var;
          )
               }
      
          @depends on rule1 || rule2@
          identifier err;
          @@
          -    Error *err = NULL;
               ... when != err
      
      Not exactly elegant, I'm afraid.
      
      The "when != lbl:" is necessary to avoid transforming
      
               if (fun(args, &err)) {
                   goto out
               }
               ...
           out:
               error_propagate(errp, err);
      
      even though other paths to label out still need the error_propagate().
      For an actual example, see sclp_realize().
      
      Without the "when strict", Coccinelle transforms vfio_msix_setup(),
      incorrectly.  I don't know what exactly "when strict" does, only that
      it helps here.
      
      The match of return is narrower than what I want, but I can't figure
      out how to express "return where the operand doesn't use @err".  For
      an example where it's too narrow, see vfio_intx_enable().
      
      Silently fails to convert hw/arm/armsse.c, because Coccinelle gets
      confused by ARMSSE being used both as typedef and function-like macro
      there.  Converted manually.
      
      Line breaks tidied up manually.  One nested declaration of @local_err
      deleted manually.  Preexisting unwanted blank line dropped in
      hw/riscv/sifive_e.c.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Message-Id: <20200707160613.848843-35-armbru@redhat.com>
      668f62ec
    • Markus Armbruster's avatar
      qemu-option: Use returned bool to check for failure · 235e59cf
      Markus Armbruster authored
      
      The previous commit enables conversion of
      
          foo(..., &err);
          if (err) {
              ...
          }
      
      to
      
          if (!foo(..., &err)) {
              ...
          }
      
      for QemuOpts functions that now return true / false on success /
      error.  Coccinelle script:
      
          @@
          identifier fun = {
              opts_do_parse, parse_option_bool, parse_option_number,
              parse_option_size, qemu_opt_parse, qemu_opt_rename, qemu_opt_set,
              qemu_opt_set_bool, qemu_opt_set_number, qemu_opts_absorb_qdict,
              qemu_opts_do_parse, qemu_opts_from_qdict_entry, qemu_opts_set,
              qemu_opts_validate
          };
          expression list args, args2;
          typedef Error;
          Error *err;
          @@
          -    fun(args, &err, args2);
          -    if (err)
          +    if (!fun(args, &err, args2))
               {
                   ...
               }
      
      A few line breaks tidied up manually.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20200707160613.848843-15-armbru@redhat.com>
      [Conflict with commit 0b6786a9 "block/amend: refactor qcow2 amend
      options" resolved by rerunning Coccinelle on master's version]
      235e59cf
    • Markus Armbruster's avatar
      qemu-option: Make functions taking Error ** return bool, not void · c75d7f71
      Markus Armbruster authored
      
      See recent commit "error: Document Error API usage rules" for
      rationale.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Message-Id: <20200707160613.848843-14-armbru@redhat.com>
      c75d7f71
    • Markus Armbruster's avatar
      qemu-option: Check return value instead of @err where convenient · c6ecec43
      Markus Armbruster authored
      
      Convert uses like
      
          opts = qemu_opts_create(..., &err);
          if (err) {
              ...
          }
      
      to
      
          opts = qemu_opts_create(..., errp);
          if (!opts) {
              ...
          }
      
      Eliminate error_propagate() that are now unnecessary.  Delete @err
      that are now unused.
      
      Note that we can't drop parallels_open()'s error_propagate() here.  We
      continue to execute it even in the converted case.  It's a no-op then:
      local_err is null.
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Reviewed-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      Reviewed-by: default avatarGreg Kurz <groug@kaod.org>
      Message-Id: <20200707160613.848843-8-armbru@redhat.com>
      c6ecec43
  20. Jun 23, 2020
    • Markus Armbruster's avatar
      blockdev: Deprecate -drive with bogus interface type · a1b40bda
      Markus Armbruster authored
      
      Drives with interface types other than if=none are for onboard
      devices.  Unfortunately, any such drives the board doesn't pick up can
      still be used with -device, like this:
      
          $ qemu-system-x86_64 -nodefaults -display none -S -drive if=floppy,id=bogus,unit=7 -device ide-cd,drive=bogus -monitor stdio
          QEMU 5.0.50 monitor - type 'help' for more information
          (qemu) info block
          bogus: [not inserted]
      	Attached to:      /machine/peripheral-anon/device[0]
      	Removable device: not locked, tray closed
          (qemu) info qtree
          bus: main-system-bus
            type System
            [...]
      	    bus: ide.1
      	      type IDE
      	      dev: ide-cd, id ""
      --->		drive = "bogus"
      		[...]
      		unit = 0 (0x0)
            [...]
      
      This kind of abuse has always worked.  Deprecate it:
      
          qemu-system-x86_64: -drive if=floppy,id=bogus,unit=7: warning: bogus if=floppy is deprecated, use if=none
      
      Signed-off-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20200622094227.1271650-9-armbru@redhat.com>
      a1b40bda
  21. May 19, 2020
    • Eric Blake's avatar
      blockdev: Split off basic bitmap operations for qemu-img · bb4e58c6
      Eric Blake authored
      
      Upcoming patches want to add some basic bitmap manipulation abilities
      to qemu-img.  But blockdev.o is too heavyweight to link into qemu-img
      (among other things, it would drag in block jobs and transaction
      support - qemu-img does offline manipulation, where atomicity is less
      important because there are no concurrent modifications to compete
      with), so it's time to split off the bare bones of what we will need
      into a new file block/monitor/bitmap-qmp-cmds.o.
      
      This is sufficient to expose 6 QMP commands for use by qemu-img (add,
      remove, clear, enable, disable, merge), as well as move the three
      helper functions touched in the previous patch.  Regarding
      MAINTAINERS, the new file is automatically part of block core, but
      also makes sense as related to other dirty bitmap files.
      
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20200513011648.166876-6-eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      bb4e58c6
    • Eric Blake's avatar
      blockdev: Promote several bitmap functions to non-static · c6996cf9
      Eric Blake authored
      
      The next patch will split blockdev.c, which will require accessing
      some previously-static functions from more than one .c file.  But part
      of promoting a function to public is picking a naming scheme that does
      not reek of exposing too many internals (two of the three functions
      were named starting with 'do_').  To make future code motion easier,
      perform the function rename and non-static promotion into its own
      patch.
      
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarMax Reitz <mreitz@redhat.com>
      Message-Id: <20200513011648.166876-5-eblake@redhat.com>
      Reviewed-by: default avatarVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
      c6996cf9
Loading