1. 31 3月, 2010 1 次提交
    • E
      virsh: add 'exit' as an alias for 'quit' · 890af4ca
      Eric Blake 提交于
      Call me lazy: some shells use exit (e.g. sh), others use quit (e.g. ftp),
      but I never remember which.  So it's faster to write a patch to make
      virsh take both than it is to take a 50-50 guess, and get it wrong
      in half of my attempts.
      
      * tools/virsh.c (commands): Add 'exit'.
      * tools/virsh.pod: Document it.
      890af4ca
  2. 30 3月, 2010 2 次提交
    • E
      virsh: support VISUAL, and allow metacharacters in EDITOR · f3661756
      Eric Blake 提交于
      Common Unix practice is to prefer VISUAL over EDITOR, particularly if
      the editor of choice spawns a new window.  Thus, it is also common to
      see settings like EDITOR='emacs -nw', with the expectation that the
      shell will parse this as an argument to 'emacs' and not try to invoke
      a file containing a space.
      
      If a user puts junk in EDITOR, they deserve what they get (much more
      than virsh will misbehave); furthermore, sudo scrubs EDITOR by
      default.  So the blind use of metacharacters in EDITOR should not be
      considered too much of a security issue.
      
      * tools/virsh.c (editFile): Prefer VISUAL over EDITOR.  Don't
      reject shell metacharacters in EDITOR.
      * tools/virsh.pod (edit, net-edit, ENVIRONMENT): Document VISUAL.
      Fixes https://bugzilla.redhat.com/show_bug.cgi?id=487738.
      f3661756
    • E
      virsh: improve man page · b522264b
      Eric Blake 提交于
      * tools/virsh.pod: (DESCRIPTION): Improve grammar.  Mention other drivers.
      (ENVIRONMENT): Document EDITOR.
      (COPYRIGHT): Bump.
      b522264b
  3. 20 3月, 2010 1 次提交
  4. 17 2月, 2010 1 次提交
  5. 20 1月, 2010 1 次提交
  6. 18 1月, 2010 1 次提交
  7. 21 12月, 2009 1 次提交
  8. 11 12月, 2009 1 次提交
    • P
      add virsh --suspend arg to migrate command · edc9e78b
      Paolo Bonzini 提交于
      This adds a new flag, VIR_MIGRATE_PAUSED, that mandates pausing
      the migrated VM before starting it.
      
      * include/libvirt/libvirt.h.in (virDomainMigrateFlags): Add VIR_MIGRATE_PAUSED.
      * src/qemu/qemu_driver.c (qemudDomainMigrateFinish2): Handle VIR_MIGRATE_PAUSED.
      * tools/virsh.c (opts_migrate): Add --suspend. (cmdMigrate): Handle it.
      * tools/virsh.pod (migrate): Document it.
      edc9e78b
  9. 20 11月, 2009 1 次提交
  10. 21 9月, 2009 1 次提交
    • D
      Move virsh into tools/ directory · 7ff256ec
      Daniel P. Berrange 提交于
      Move the virsh tool and its man page into the tools directory
      
      * Makefile.am: Remove rules for virsh.1 man page
      * virsh.1: Remove auto-generated file
      * docs/Makefile.am: Remove rules for virsh.pod man page
      * docs/virsh.pod: Move to tools/ directory
      * src/Makefile.am, src/.gitignore: Remove rules for virsh
      * src/console.c, src/console.h, src/*.ico, src/virsh_win_icon.rc,
        src/virsh.c: Move into tools/ directory
      * tools/Makefile.am: Add rules for building virsh
      * tools/.gitignore: Ignore virsh built files
      * tests/virshtest.c, tests/int-overflow: Update for new
        virsh location
      7ff256ec
  11. 11 9月, 2009 1 次提交
  12. 11 8月, 2009 1 次提交
  13. 16 7月, 2009 1 次提交
    • P
      add cd and pwd commands to virsh · c4951f11
      Paolo Bonzini 提交于
      * src/virsh.c: adds cd and pwd commands to virsh useful for save and
        restore commands
      * docs/virsh.pod virsh.1: update the documentation
      * AUTHORS: add Paolo Bonzini
      c4951f11
  14. 20 4月, 2009 1 次提交
  15. 19 4月, 2009 1 次提交
  16. 14 2月, 2009 1 次提交
  17. 18 12月, 2008 1 次提交
  18. 09 10月, 2008 1 次提交
  19. 25 9月, 2008 1 次提交
  20. 01 8月, 2008 1 次提交
    • R
      'virsh edit' and related commands · 969fa847
      Richard W.M. Jones 提交于
      	* src/virsh.c: Implement 'virsh edit', 'virsh net-edit' and
      	  'virsh pool-edit' commands.  These edit the XML for domains,
      	  networks and storage pools respectively, and are the
      	  equivalent of doing 'virsh dumpxml; vi foo.xml; virsh define'
      	* src/Makefile.am, src/.cvsignore: Auto-generate the net-edit
      	  and pool-edit commands.
      	* docs/virsh.pod: Updated the documentation.
      969fa847
  21. 15 5月, 2008 1 次提交
  22. 18 4月, 2008 1 次提交
  23. 15 4月, 2008 1 次提交
  24. 17 3月, 2008 1 次提交
  25. 14 3月, 2008 1 次提交
  26. 06 2月, 2008 1 次提交
  27. 30 1月, 2008 1 次提交
  28. 25 1月, 2008 1 次提交
  29. 28 9月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c · 4bf3bc9e
      Daniel Veillard 提交于
        src/qemu_driver.c src/remote_internal.c src/test.c
        src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
        src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
        from Beth Kon adding new virNodeGetCellsFreeMemory entry point
        and extending the virConnectGetCapabilities one. Fix a couple of
        issues in the patch and add to exported symbols from shared lib.
      * docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
        freecell to get the available memory on the node or in a NUMA cell.
      * docs/*: updated and regenerated the documentation
      Daniel
      4bf3bc9e
  30. 14 8月, 2007 1 次提交
  31. 26 7月, 2007 1 次提交
  32. 23 7月, 2007 1 次提交
  33. 21 6月, 2007 4 次提交