1. 18 12月, 2008 1 次提交
  2. 15 12月, 2008 1 次提交
    • J
      remove redundant optname arguments · 289d52c4
      Jim Meyering 提交于
      This is the second part of the change mentioned here:
      
        http://thread.gmane.org/gmane.comp.emulators.libvirt/10331
      
      It removes the essentially redundant "optname" parameter
      from each of the vshCommandOptNetworkBy and vshCommandOptDomainBy
      functions as well as the correspond macros (without "By" suffix).
      Now, instead of always passing the optname, "domain", to
      vshCommandOptDomainBy, that function requires that its command
      argument refer to an opts array containing a "domain" option.
      
      This normalization makes one more help-related change:
      it renames the net-start "name" argument to the more
      sensible and consistent "network".
      * src/virsh.c (VSH_BYNAME, vshCommandOptDomain)
      (cmd_has_option): New function, used in vshCommandOptDomainBy
      and vshCommandOptNetworkBy.
      (vshCommandOptDomainBy, vshCommandOptNetworkBy): Remove the optname
      parameter, it's always "domain" ("network").  Update all callers.
      Call cmd_has_option.
      (vshCommandOptNetwork, cmdAutostart, cmdConsole, cmdDomstate)
      (cmdDomblkstat, cmdDomIfstat, cmdSuspend, cmdUndefine, cmdStart)
      (cmdSave, cmdSchedinfo, cmdDump, cmdResume, cmdShutdown)
      (cmdReboot, cmdDestroy, cmdDominfo, cmdVcpuinfo, cmdVcpupin)
      (cmdSetvcpus, cmdSetmem, cmdSetmaxmem, cmdDumpXML, cmdDomname)
      (cmdDomid, cmdDomuuid, cmdMigrate, cmdNetworkAutostart)
      (cmdNetworkDestroy, cmdNetworkDumpXML, cmdNetworkName)
      (opts_network_start, cmdNetworkStart, cmdNetworkUndefine)
      (cmdNetworkUuid, cmdVNCDisplay, cmdTTYConsole, cmdAttachDevice)
      (cmdDetachDevice, cmdAttachInterface, cmdDetachInterface)
      (cmdAttachDisk, cmdDetachDisk, cmdEdit)
      * src/Makefile.am (virsh-pool-edit.c): This code is generated
      from cmdEdit, and cmdEdit uses the vshCommandOptDomain macro which
      now, with the changes above, has only 3 (was 4) arguments, yet the
      macro use is mapped to vshCommandOptPool, which still requires 4
      arguments.  So this change adjusts the sed code to reinsert the
      just-removed argument -- we're not changing pool-related code right
      now, because it's not as straight-forward.
      289d52c4
  3. 25 11月, 2008 2 次提交
  4. 24 11月, 2008 1 次提交
  5. 21 11月, 2008 4 次提交
  6. 20 11月, 2008 1 次提交
  7. 18 11月, 2008 1 次提交
  8. 17 11月, 2008 4 次提交
  9. 07 11月, 2008 1 次提交
    • D
      add new logging module, and move existing definitions there · df93e1ee
      Daniel Veillard 提交于
      * src/logging.c src/logging.h proxy/Makefile.am proxy/libvirt_proxy.c
        src/Makefile.am src/cgroup.c src/datatypes.c src/domain_event.c
        src/internal.h src/libvirt.c src/lxc_container.c src/lxc_controller.c
        src/lxc_driver.c src/proxy_internal.c src/qemu_driver.c
        src/remote_internal.c src/storage_backend_disk.c src/util.c
        src/veth.c src/xen_internal.c src/xen_unified.c src/xend_internal.c:
        add new logging module, and move existing definitions there
      Daniel
      df93e1ee
  10. 05 11月, 2008 4 次提交
  11. 29 10月, 2008 1 次提交
    • J
      remove src/socketcompat.h; no longer needed · f79ebbd1
      Jim Meyering 提交于
      * src/socketcompat.h: Remove file.
      * src/remote_internal.c: Don't include socketcompat.h.
      * qemud/qemud.h: Likewise.
      * qemud/remote_protocol.x: Likewise, but do include <arpa/inet.h>
      for htonl.
      * src/remote_internal.c: Likewise, but do include <errno.h>.
      * qemud/remote_protocol.c: Regenererate.
      * qemud/remote_protocol.h: Regenererate.
      * src/Makefile.am (REMOTE_DRIVER_SOURCES): Remove socketcompat.h.
      f79ebbd1
  12. 24 10月, 2008 1 次提交
  13. 16 10月, 2008 1 次提交
  14. 10 10月, 2008 1 次提交
  15. 04 10月, 2008 1 次提交
  16. 05 9月, 2008 1 次提交
  17. 27 8月, 2008 1 次提交
  18. 21 8月, 2008 2 次提交
  19. 13 8月, 2008 1 次提交
  20. 05 8月, 2008 1 次提交
  21. 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
  22. 12 7月, 2008 1 次提交
  23. 11 7月, 2008 1 次提交
  24. 27 6月, 2008 1 次提交
  25. 11 6月, 2008 1 次提交
  26. 10 6月, 2008 1 次提交
    • R
      virDomainMemoryPeek API · 6bcf2501
      Richard W.M. Jones 提交于
              * include/libvirt/libvirt.h.in, src/libvirt.c, src/driver.h,
                src/libvirt_sym.version: New virDomainMemoryPeek API.
              * qemud/remote.c, qemud/remote_protocol.x, src/remote_internal.c:
                Support for remote.
              * src/qemu_driver.c: QEMU driver implementation of API.
              * src/test.c: Test driver (null) implementation of API.
              * docs/hvsupport.html.in: Document API.
              * libvirt.spec.in: New path /var/cache/libvirt for temporary
                storage of memory images.
              * qemud/libvirtd.init.in: Remove any old temp files in
                /var/cache/libvirt on restarts.
              * src/Makefile.am: make install creates /var/cache/libvirt.
              * configure.in: Detect mkdir -p.
      6bcf2501
  27. 30 5月, 2008 1 次提交
  28. 22 5月, 2008 1 次提交
  29. 29 4月, 2008 1 次提交