1. 24 9月, 2018 1 次提交
  2. 21 9月, 2018 1 次提交
  3. 19 9月, 2018 1 次提交
  4. 24 8月, 2018 1 次提交
  5. 17 7月, 2018 1 次提交
  6. 22 6月, 2018 2 次提交
  7. 19 6月, 2018 1 次提交
  8. 06 6月, 2018 1 次提交
  9. 17 5月, 2018 1 次提交
  10. 10 5月, 2018 2 次提交
  11. 30 3月, 2018 1 次提交
  12. 15 3月, 2018 1 次提交
  13. 12 1月, 2018 2 次提交
    • M
      virsh: Introduce virshDomainInterfaceCompleter · 7e7db4bf
      Michal Privoznik 提交于
      For given domain fetch list of defined interfaces. This can be
      used for commands like domif-getlink and others. If available,
      the interface name is returned (e.g. "vnet0", usually available
      only for running domains), if not the MAC address is returned.
      Moreover, the detach-interface command requires only MAC address
      and therefore we have new flag that forces the completer to
      return just the MAC address.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      7e7db4bf
    • M
      virsh: Introduce virshDomainNameCompleter · ec3403be
      Michal Privoznik 提交于
      Now that we have everything prepared let the fun begin. This
      completer is very simple and returns domain names. Moreover,
      depending on the command it can return just a subset of domains
      (e.g. only running/paused/transient/.. ones).
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      ec3403be
  14. 22 11月, 2017 1 次提交
  15. 04 11月, 2017 1 次提交
  16. 03 11月, 2017 1 次提交
    • A
      Remove backslash alignment attempts · 3e7db8d3
      Andrea Bolognani 提交于
      Right-aligning backslashes when defining macros or using complex
      commands in Makefiles looks cute, but as soon as any changes is
      required to the code you end up with either distractingly broken
      alignment or unnecessarily big diffs where most of the changes
      are just pushing all backslashes a few characters to one side.
      
      Generated using
      
        $ git grep -El '[[:blank:]][[:blank:]]\\$' | \
          grep -E '*\.([chx]|am|mk)$$' | \
          while read f; do \
            sed -Ei 's/[[:blank:]]*[[:blank:]]\\$/ \\/g' "$f"; \
          done
      Signed-off-by: NAndrea Bolognani <abologna@redhat.com>
      3e7db8d3
  17. 18 10月, 2017 1 次提交
  18. 14 10月, 2017 1 次提交
  19. 02 5月, 2017 1 次提交
  20. 12 4月, 2017 4 次提交
  21. 07 3月, 2017 1 次提交
  22. 26 7月, 2016 2 次提交
  23. 11 7月, 2016 1 次提交
  24. 29 3月, 2016 1 次提交
  25. 21 3月, 2016 1 次提交
    • J
      Add event and state details for post-copy · 5a9cbc62
      Jiri Denemark 提交于
      VIR_DOMAIN_EVENT_SUSPENDED_POSTCOPY and VIR_DOMAIN_PAUSED_POSTCOPY are
      used on the source host once migration enters post-copy mode (which
      means the domain gets paused on the source. After the destination host
      takes over the execution of the domain, its virtual CPUs are resumed and
      the domain enters VIR_DOMAIN_RUNNING_POSTCOPY state and
      VIR_DOMAIN_EVENT_RESUMED_POSTCOPY event is emitted.
      
      In case migration fails during post-copy mode and none of the hosts have
      complete state of the domain, both domains will remain paused with
      VIR_DOMAIN_PAUSED_POSTCOPY_FAILED reason and an upper layer may decide
      what to do.
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      5a9cbc62
  26. 21 1月, 2016 1 次提交
    • M
      virsh: Don't fetch status for all domains in cmdList · 3bd2ee5d
      Michal Privoznik 提交于
      We are getting the list of domains and after that we iterate over
      the list and try to get status for each domain hoping it will
      skip over domains that disappeared meanwhile. However, this
      solution to race is bogus - domain may disappear right after we
      have checked its state and before we exec another API over it
      (e.g. virDomainHasManagedSaveImage()). Also, when printing just
      names or uuids (list --name / --uuid) we issue APIs to obtain the
      values, however these require no RPC call as all requested info
      is in virDomain object that client already has.
      Therefore move the status obtaining only to the place that really
      needs it.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      3bd2ee5d
  27. 12 1月, 2016 4 次提交
    • J
      virsh: Create macro for common "current" option · 5b42dbed
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which for many options in virsh-domain.c
      is simply "affect current domain". So, create a second macro within that
      file in order to define the more common use as a revector to the
      common macro with the common _helpstr.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      5b42dbed
    • J
      virsh: Create macro for common "live" option · 8e4108f0
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which for many options in virsh-domain.c
      is simply "affect running domain". So, create a second macro within that
      file in order to define the more common use as a revector to the
      common macro with the common _helpstr.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      8e4108f0
    • J
      virsh: Create macro for common "config" option · 0dbac60b
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which for many options in virsh-domain.c
      is simply "affect next boot". So, create a second macro within that
      file in order to define the more common use as a revector to the
      common macro with the common _helpstr.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      0dbac60b
    • J
      virsh: Create macro for common "domain" option · b6fb1e24
      John Ferlan 提交于
      Rather than continually cut-n-paste the strings into each command,
      create a common macro to be used generically. The macro will take a
      single argument _helpstr which will be used to pass the translatable
      helpstr since not all domain options can take the same string.
      
      The majority of the options take 'N_("domain name, id or uuid")', so
      create a separate macro with a _FULL suffix while those that do not
      take the same string will use the VIRSH_COMMON_OPT_DOMAIN macro.
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      b6fb1e24
  28. 03 12月, 2015 1 次提交
  29. 30 11月, 2015 2 次提交