1. 19 9月, 2019 3 次提交
  2. 03 9月, 2019 1 次提交
  3. 29 8月, 2019 1 次提交
  4. 28 8月, 2019 1 次提交
  5. 06 8月, 2019 1 次提交
    • M
      lib: Format PCI address differently · 9b332820
      Michal Privoznik 提交于
      Currently, the way we format PCI address is using printf-s
      precision, e.g. "%.4x". This works if we don't want to print any
      value outside of bounds (which is usually the case). However,
      turns out, PCI domain can be 0x10000 which doesn't work well with
      our format strings. However, if we change the format string to
      "%04x" then we still pad small values with zeroes but also we are
      able to print values that are larger than four digits. In fact,
      this format string used by kernel to print a PCI address:
      
        "%04x:%02x:%02x.%d"
      
      The other three format strings (for bus, device and function) are
      changed too, so that we use the same format string as kernel.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NJán Tomko <jtomko@redhat.com>
      9b332820
  6. 27 7月, 2019 1 次提交
    • E
      backup: Implement virsh support for checkpoints · 689beaa4
      Eric Blake 提交于
      Introduce a bunch of new virsh commands for managing checkpoints in
      isolation. More commands are needed for performing incremental
      backups, but these commands were easy to implement by modeling heavily
      after virsh-snapshot.c. There is no need for checkpoint-revert or
      checkpoint-current since those snapshot APIs have no checkpoint
      counterpart.  Similarly, it is not necessary to change which
      checkpoint is current when redefining from XML, since until we
      integrate checkpoints with snapshots, there is only a linear chain
      (and you can deduce the current checkpoint by instead using
      'checkpoint-list --leaves').  Other aspects of checkpoint-list are
      also a bit simpler than the snapshot counterpart, in part because we
      don't have to cater to back-compat to older API.
      
      Upcoming patches will test these interfaces once the test driver
      supports checkpoints.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
      689beaa4
  7. 19 7月, 2019 1 次提交
    • J
      virsh migrate: Properly check for --parallel-connections · 88ce7bac
      Jiri Denemark 提交于
      Ever since --parallel-connections option for virsh migrate was
      introduced we did not properly check the return value of
      vshCommandOptInt. We would set VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS
      parameter even if vshCommandOptInt returned 0 (which means
      --parallel-connections was not specified) when another int option which
      was checked earlier was specified with a nonzero value.
      
      Specifically, running virsh migrate with either
      --auto-converge-increment, --auto-converge-initial, --comp-mt-dthreads,
      --comp-mt-threads, or --comp-mt-level would set
      VIR_MIGRATE_PARAM_PARALLEL_CONNECTIONS parameter and if --parallel
      option was not used, libvirt would complain
      
          error: invalid argument: Turn parallel migration on to tune it
      
      even though --parallel-connections option was not used at all.
      
      https://bugzilla.redhat.com/show_bug.cgi?id=1726643Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      Reviewed-by: NMichal Privoznik <mprivozn@redhat.com>
      88ce7bac
  8. 06 6月, 2019 2 次提交
  9. 26 4月, 2019 1 次提交
  10. 15 4月, 2019 1 次提交
  11. 12 4月, 2019 1 次提交
  12. 11 4月, 2019 1 次提交
  13. 10 4月, 2019 1 次提交
  14. 03 4月, 2019 1 次提交
  15. 27 3月, 2019 1 次提交
  16. 05 3月, 2019 1 次提交
  17. 14 2月, 2019 1 次提交
  18. 13 2月, 2019 4 次提交
  19. 12 2月, 2019 7 次提交
  20. 07 2月, 2019 1 次提交
  21. 04 2月, 2019 2 次提交
  22. 28 1月, 2019 1 次提交
    • M
      lib: Use more of VIR_STEAL_PTR() · 5772885d
      Michal Privoznik 提交于
      We have this very handy macro called VIR_STEAL_PTR() which steals
      one pointer into the other and sets the other to NULL. The
      following coccinelle patch was used to create this commit:
      
        @ rule1 @
        identifier a, b;
        @@
      
        - b = a;
          ...
        - a = NULL;
        + VIR_STEAL_PTR(b, a);
      
      Some places were clean up afterwards to make syntax-check happy
      (e.g. some curly braces were removed where the body become a one
      liner).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      Reviewed-by: NErik Skultety <eskultet@redhat.com>
      5772885d
  23. 03 1月, 2019 1 次提交
  24. 19 12月, 2018 1 次提交
  25. 17 12月, 2018 1 次提交
  26. 19 11月, 2018 1 次提交
    • J
      tools: Add virsh iothreadset command · 11ceedcd
      John Ferlan 提交于
      Add a command to allow for setting various dynamic IOThread polling
      interval scope (poll-max-ns, poll-grow, and poll-shrink). Describe
      the values in the virsh.pod in as generic terms as possible. The
      more specific QEMU algorithm has been divulged in the previous patch.
      
      Based heavily on code originally posted by Pavel Hrdina
      <phrdina@redhat.com>, but altered to only provide one command
      and to not managed a poll disabled state.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      ACKed-by: NMichal Privoznik <mprivozn@redhat.com>
      11ceedcd
  27. 26 9月, 2018 1 次提交