1. 02 4月, 2009 1 次提交
  2. 03 3月, 2009 3 次提交
  3. 17 2月, 2009 1 次提交
  4. 21 1月, 2009 1 次提交
  5. 16 1月, 2009 1 次提交
  6. 06 1月, 2009 2 次提交
  7. 05 1月, 2009 4 次提交
    • J
      migrate linux-specific symbol names into their own sym file · b0119de8
      Jim Meyering 提交于
      * configure.in (WITH_LINUX): New automake conditional.
      * src/Makefile.am (PRIVSYMFILES) [WITH_LINUX]: Append libvirt_linux.syms.
      * src/libvirt_private.syms: Move two symbol names into...
      * src/libvirt_linux.syms: ...this new file.
      Author: John Levon
      b0119de8
    • J
      Move bridge symbols into a separate syms file · 83dfc25c
      Jim Meyering 提交于
      * configure.in: Provide a new --with-bridge option.
      * src/Makefile.am (PRIVSYMFILES) [WITH_BRIDGE]: Append libvirt_bridge.syms.
      * src/bridge.c: Test WITH_BRIDGE rather than particular drivers.
      * src/libvirt_private.syms: Move bridge-related symbols into...
      * src/libvirt_bridge.syms: ...this new file.
      Author: John Levon
      83dfc25c
    • J
      Move --with-driver-modules symbols into a separate sym file · ea5775bf
      Jim Meyering 提交于
      * src/Makefile.am (PRIVSYMFILES): Append libvirt_driver_modules.syms.
      * src/libvirt_private.syms: Move virDriverLoadModule into...
      * src/libvirt_driver_modules.syms: ... this new file.
      Author: John Levon
      ea5775bf
    • J
      split version script into multiple files · ad17ffa0
      Jim Meyering 提交于
      * src/Makefile.am (PRIVSYMFILES): Define.
      (EXTRA_DIST): Append $(PRIVSYMFILES).
      (libvirt.syms): New rule.
      Reflect renaming: s/libvirt_sym.version/libvirt.syms/.
      (BUILT_SOURCES): Depend on libvirt.syms.
      * configure.in: Define ENABLE_DEBUG as an automake conditional.
      (AC_OUTPUT): Remove src/libvirt_sym.version.
      * src/.cvsignore: s/libvirt_sym.version/libvirt.syms/.
      * src/.gitignore: Regenerate.
      * src/libvirt_public.syms: Renamed from src/libvirt_sym.version.in.
      * src/libvirt_debug.syms: New file.
      * src/libvirt_private.syms: New file.
      Author: John Levon
      ad17ffa0
  8. 22 12月, 2008 1 次提交
    • J
      make NUMA-initialization code more portable and more robust · d010b689
      Jim Meyering 提交于
      qemudCapsInitNUMA and umlCapsInitNUMA were identical, so this change
      factors them into a new function, virCapsInitNUMA, and puts it in
      nodeinfo.c.
      
      In addition to factoring out the duplicates, this change also
      adjusts that function definition (along with its macros) so
      that it works with Fedora 9's numactl version 1, and makes it
      so the code will work even if someone builds the kernel with
      CONFIG_NR_CPUS > 4096.
      
      Finally, also perform this NUMA initialization for the lxc
      and openvz drivers.
      
      * src/nodeinfo.c: Include <stdint.h>, <numa.h> and "memory.h".
      (virCapsInitNUMA): Rename from qemudCapsInitNUMA and umlCapsInitNUMA.
      (NUMA_MAX_N_CPUS): Define depending on NUMA API version.
      (n_bits, MASK_CPU_ISSET): Define, adjust, use uint64 rather than long.
      * src/nodeinfo.h: Include "capabilities.h".
      (virCapsInitNUMA): Declare it.
      * examples/domain-events/events-c/Makefile.am:
      * src/Makefile.am: Add $(NUMACTL_CFLAGS) and $(NUMACTL_LIBS) to various
      compile/link-related variables.
      * src/qemu_conf.c: Include "nodeinfo.h".
      (qemudCapsInitNUMA): Remove duplicate code.  Adjust caller.
      * src/uml_conf.c (umlCapsInitNUMA): Likewise.
      Include "nodeinfo.h".
      * src/lxc_conf.c: Include "nodeinfo.h".
      (lxcCapsInit): Perform NUMA initialization here, too.
      * src/openvz_conf.c (openvzCapsInit): And here.
      Include "nodeinfo.h".
      * src/libvirt_sym.version.in: Add virCapsInitNUMA so that libvirtd
      can link to this function.
      d010b689
  9. 18 12月, 2008 1 次提交
  10. 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
  11. 25 11月, 2008 2 次提交
  12. 24 11月, 2008 1 次提交
  13. 21 11月, 2008 4 次提交
  14. 20 11月, 2008 1 次提交
  15. 18 11月, 2008 1 次提交
  16. 17 11月, 2008 4 次提交
  17. 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
  18. 05 11月, 2008 4 次提交
  19. 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
  20. 24 10月, 2008 1 次提交
  21. 16 10月, 2008 1 次提交
  22. 10 10月, 2008 1 次提交
  23. 04 10月, 2008 1 次提交
  24. 05 9月, 2008 1 次提交