1. 12 10月, 2017 1 次提交
  2. 11 9月, 2017 1 次提交
  3. 29 8月, 2017 3 次提交
  4. 26 8月, 2017 1 次提交
  5. 14 8月, 2017 1 次提交
  6. 02 8月, 2017 2 次提交
  7. 10 7月, 2017 2 次提交
    • S
      Use unsigned timeout in cmdMigrateSetMaxDowntime · 7432141c
      Scott Garfinkle 提交于
      While looking to implement a migrate-getmaxdowntime command (coming),
      I noticed that the setmaxdowntime is incorrectly looking at its
      parameter as a signed longlong. Not sure how that got past gcc, but
      here's a simple patch to make the command line parsing and the parameter to
      the worker functions all have the correct (unsigned) type.
      Signed-off-by: NScott Garfinkle <seg@us.ibm.com>
      7432141c
    • J
      tools: virsh: domdisplay command is not freeing the domain pointer · f50ba8e4
      Julio Faracco 提交于
      The command 'domdisplay' is not freeing the domain pointer properly in
      cleanup section. See the error below:
      
      virsh # domdisplay WINDOWS7
      vnc://127.0.0.1:0
      
      virsh # quit
      
      error: One or more references were leaked after disconnect from the hypervisor
      
      Valgrind report:
      
      ==29168== 66 (56 direct, 10 indirect) bytes in 1 blocks are definitely lost in loss record 154 of 239
      ==29168==    at 0x4C2FB55: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==29168==    by 0x5505324: virAllocVar (viralloc.c:560)
      ==29168==    by 0x555A61B: virObjectNew (virobject.c:199)
      ==29168==    by 0x561F367: virGetDomain (datatypes.c:284)
      ==29168==    by 0x5680979: get_nonnull_domain (remote_driver.c:8143)
      ==29168==    by 0x5680979: remoteDomainLookupByName (remote_client_bodies.h:3047)
      ==29168==    by 0x5623D9A: virDomainLookupByName (libvirt-domain.c:425)
      ==29168==    by 0x160480: virshLookupDomainInternal (virsh-util.c:59)
      ==29168==    by 0x160547: virshCommandOptDomainBy (virsh-util.c:98)
      ==29168==    by 0x13D3A9: cmdDomDisplay (virsh-domain.c:10963)
      ==29168==    by 0x165680: vshCommandRun (vsh.c:1327)
      ==29168==    by 0x12E320: main (virsh.c:953)
      Signed-off-by: NJulio Faracco <jcfaracco@gmail.com>
      f50ba8e4
  8. 28 6月, 2017 1 次提交
  9. 24 6月, 2017 1 次提交
  10. 13 6月, 2017 1 次提交
  11. 07 6月, 2017 1 次提交
  12. 26 5月, 2017 1 次提交
  13. 18 5月, 2017 1 次提交
    • G
      virsh: add --io when attaching disks to guests · ca21d75d
      Gordon Messmer 提交于
      virt-install and virt-manager both default to explicitly setting
      "io='native'" in the disk "driver" tag. virsh, however, does not and also
      does not provide an option to specify that setting at all.  As a result,
      disks use a different IO mechanism (the default, "threads") when attached
      post-setup using virsh.  Adding this option allows users to keep disk
      performance consistent for disks attached at install, and those attached
      afterward.
      ca21d75d
  14. 27 4月, 2017 1 次提交
  15. 12 4月, 2017 6 次提交
  16. 27 3月, 2017 3 次提交
  17. 25 3月, 2017 1 次提交
  18. 21 2月, 2017 1 次提交
  19. 30 1月, 2017 2 次提交
  20. 10 1月, 2017 1 次提交
    • N
      virsh: Display perf enabled/disabled message for set operations · 0289b8b2
      Nitesh Konkar 提交于
      When setting perf events, the enabled/disabled perf events are not
      listed. Since we know which events were changed it's possible to
      print out the values on successful set, such as :
      
          virsh perf Domain --enable instructions --disable cache_misses
          instructions   : enabled
          cache_misses   : disabled
      
      Created a helper to print the messages - use the vshPrintExtra to
      adhere to the --quiet|-q option being set by some script. This will
      cause the get code to print nothing, but will return success/failure.
      Signed-off-by: NNitesh Konkar <nitkon12@linux.vnet.ibm.com>
      0289b8b2
  21. 09 1月, 2017 1 次提交
  22. 06 12月, 2016 1 次提交
  23. 25 11月, 2016 1 次提交
    • M
      virstring: Unify string list function names · c2a5a4e7
      Michal Privoznik 提交于
      We have couple of functions that operate over NULL terminated
      lits of strings. However, our naming sucks:
      
      virStringJoin
      virStringFreeList
      virStringFreeListCount
      virStringArrayHasString
      virStringGetFirstWithPrefix
      
      We can do better:
      
      virStringListJoin
      virStringListFree
      virStringListFreeCount
      virStringListHasString
      virStringListGetFirstWithPrefix
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      c2a5a4e7
  24. 23 11月, 2016 2 次提交
  25. 14 11月, 2016 2 次提交
  26. 29 10月, 2016 1 次提交