1. 08 9月, 2009 1 次提交
    • D
      Multipath storage support module · ee8a06f8
      Dave Allan 提交于
      * configure.in src/Makefile.am src/storage_backend.[ch]
        src/storage_conf.[ch] src/storage_backend_mpath.[ch] po/POTFILES.in:
        add a new module for storage multipath, it requires device-mapper
      ee8a06f8
  2. 04 9月, 2009 1 次提交
    • E
      Switch Power Hypervisor to libssh2 · 191053b5
      Eduardo Otubo 提交于
      * configure.in src/Makefile.am: change detection and flags
      * src/phyp/phyp_driver.c src/phyp/phyp_driver.h: connection now
        need to be done as part of the driver code, cleaned up by DV
      191053b5
  3. 02 9月, 2009 1 次提交
    • M
      Add volume encryption information handling. · 05b9b8fd
      Miloslav Trmač 提交于
      Define an <encryption> tag specifying volume encryption format and
      format-depenedent parameters (e.g. passphrase, cipher name, key
      length, key).
      
      Currently the only defined parameter is a reference to a "secret"
      (passphrase/key) managed using the virSecret* API.
      
      Only the qcow/qcow2 encryption format, and a "default" format used to
      let libvirt choose the format during volume creation, is currently
      supported.
      
      This patch does not add any users; the <encryption> tag is added in
      the following patches to both volumes (to support encrypted volume
      creation) and domains.
      
      * docs/*.html: Re-generate
      * docs/formatstorageencryption.html.in, docs/sitemap.html.in:
        Add page describing storage encryption data format
      * docs/schemas/Makefile.am, docs/schemas/storageencryption.rng:
        Add RNG schema for storage encryption format
      * po/POTFILES.in: Add src/storage_encryption_conf.c
      * src/libvirt_private.syms: Export virStorageEncryption* functions
      * src/storage_encryption_conf.h, src/storage_encryption_conf.c: Internal
        helper APIs for dealing with storage encryption format
      * libvirt.spec.in, mingw32-libvirt.spec.in: Add storageencryption.rng
        RNG schema
      05b9b8fd
  4. 25 7月, 2009 1 次提交
    • P
      Add support for VBox 3 and event callbacks on vbox · 41e097e9
      Pritesh Kothari 提交于
      * src/vbox/vbox_driver.c: remove some old 2.5 switches and plug the
        3.0 driver
      * src/vbox/vbox_V3_0.c src/vbox/vbox_CAPI_v3_0.h: the driver for
        VirtualBox 3.0
      * src/vbox/vbox_tmpl.c: handle the new driver and add event support
      * src/Makefile.am: plug in the new module
      41e097e9
  5. 24 7月, 2009 3 次提交
    • E
      First version of the Power Hypervisor driver · a7a82f98
      Eduardo Otubo 提交于
      Features supported:
      - Connects to HMC/VIOS or IVM systems.
      - Life cycle commands (resume and shutdown).
      - dumpxml
      - 'list' and 'list --all'
      
      What is being implemented:
      - better and centralized control for UUID
      - definexml
      - CPU management commands
      
      * src/domain_conf.c src/domain_conf.h: first version of the driver
      * configure.in src/Makefile.am include/libvirt/virterror.h
        src/domain_conf.[ch] src/libvirt.c src/virterror.c: glue the driver
        in the general framework
      a7a82f98
    • M
      First version of the driver for VMWare ESX · e2aeee68
      Matthias Bolte 提交于
      * src/esx/esx_*.[ch]: the driver, uses a remote minimal SOAP client
        to talk to the VI services on ESX nodes.
      * configure.in include/libvirt/virterror.h src/Makefile.am src/driver.h
        src/libvirt.c src/virterror.c: glue in the new driver
      e2aeee68
    • D
      Make QEMU cgroups use configurable · f4c3acdf
      Daniel P. Berrange 提交于
       * qemud/libvirtd_qemu.aug, qemud/test_libvirtd_qemu.aug,
         src/qemu.conf: Add 'cgroups_controllers' and 'cgroups_device_acl'
         parameters
       * src/qemu_conf.h, src/qemu_conf.c: Load & parse configuration params
         for cgroups
       * src/qemu_driver.c: Only use cgroups controllers that are activated,
         and use configured device whitelist instead of default, if set.
      f4c3acdf
  6. 21 7月, 2009 1 次提交
    • L
      Netcf based interface driver implementation · da4f146f
      Laine Stump 提交于
      * src/interface_driver.c src/interface_driver.h: the new driver
      * src/Makefile.am qemud/Makefile.am qemud/qemud.c: hook the new driver
        in the build system and get ti activated by the daemon
      * src/libvirt_private.syms: export needed symbols internally
      da4f146f
  7. 17 7月, 2009 1 次提交
    • D
      Run QEMU guests as an unprivileged user · 0714b2ba
      Daniel P. Berrange 提交于
      * configure.in: Add --with-qemu-user and --with-qemu-group args
      * libvirt.spec.in: use 'qemu' for user/group for Fedora >= 12
      * qemud/libvirtd_qemu.arg, qemud/test_libvirtd_qemu.aug,
        src/qemu.conf: Add 'user' and 'group' args for configuration
      * src/Makefile.am: Create %localstatedir/cache/libvirt/qemu
      * src/qemu_conf.c, src/qemu_conf.h: Load user/group from config
      * src/qemu_driver.c: Change user ID/group ID when launching QEMU
        guests. Change user/group ownership on disks/usb/pci devs.
        Put memory dumps in %localstatedir/cache/libvirt/qemu
      * src/util.c, src/util.h: Add convenient APIs for converting
        username/groupname to user ID / group ID
      0714b2ba
  8. 16 7月, 2009 1 次提交
    • D
      add support for netcf XML import and export · 2f5fb5e0
      Daniel Veillard 提交于
      * src/interface_conf.c src/interface_conf.h: the import and export
        routines and the internal APIs
      * src/Makefile.am: hook the new file in the makefiles
      * src/libvirt_private.syms: export a few private symbols internally
      * po/POTFILES.in: the new file contains translatable strings
      2f5fb5e0
  9. 30 6月, 2009 1 次提交
  10. 26 6月, 2009 1 次提交
    • D
      big cleanup of the debug configuration option · 173c230e
      Daniel Veillard 提交于
      * src/Makefile.am src/libvirt.c src/libvirt_private.syms src/logging.c
        src/logging.h src/util.c src/libvirt_debug.syms: big cleanup of
        the debug configuration option and code by Amy Griffis
      daniel
      173c230e
  11. 25 6月, 2009 1 次提交
    • D
      Finish the integration of OpenNebula driver · b5472015
      Daniel Veillard 提交于
      * configure.in libvirt.spec.in src/Makefile.am
        src/opennebula/one_client.[ch] src/opennebula/one_conf.h
        src/opennebula/one_driver.[ch] : Finish the integration of OpenNebula,
        avoid dependancy on OpenNebula libraries, require xmlrpc-c-devel
        and build it by default, based on patch by Javier Fontan and DanB
        suggestions
      Daniel
      b5472015
  12. 15 6月, 2009 1 次提交
  13. 02 6月, 2009 1 次提交
    • D
      NPIV implementation for node device create and destroy · 81d0ffbc
      Daniel Veillard 提交于
      * src/Makefile.am src/node_device.[ch] src/node_device_conf.[ch]
        src/node_device_hal.[ch] src/node_device_hal_linux.c
        src/qemu_driver.c src/remote_internal.c src/storage_backend.c
        src/virsh.c src/xen_unified.c tests/nodedevxml2xmltest.c
        po/POTFILES.in: implementation for node device create and destroy
        in NPIV support, patch by David Allan
      Daniel
      81d0ffbc
  14. 25 5月, 2009 1 次提交
    • D
      Include the OpenNebula driver · b811851b
      Daniel Veillard 提交于
      * src/opennebula/one_conf.[ch] src/opennebula/one_driver.[ch]:
        the OpenNebula driver
      * configure.in include/libvirt/virterror.h qemud/Makefile.am
        qemud/qemud.c src/Makefile.am src/domain_conf.[ch] src/driver.h
        src/libvirt.c src/virterror.c: integration of the OpenNebula
        driver in the libvirt infrastructure
      * AUTHORS: add Abel Miguez Rodriguez
      daniel
      b811851b
  15. 20 5月, 2009 1 次提交
    • D
      Add the Interface config APIs · 73bc0114
      Daniel Veillard 提交于
      * configure.in include/libvirt/libvirt.h[.in]
        include/libvirt/virterror.h qemud/remote.c
        qemud/remote_dispatch_args.h qemud/remote_dispatch_prototypes.h
        qemud/remote_dispatch_ret.h qemud/remote_dispatch_table.h
        qemud/remote_protocol.[chx] src/Makefile.am src/datatypes.c
        src/datatypes.h src/driver.h src/libvirt.c src/remote_internal.c
        src/virterror.c src/libvirt_private.syms src/libvirt_public.syms:
        Add the Interface config APIs and remote stubs for those, patch
        by Laine Stump
      * AUTHORS: add Laine
      daniel
      73bc0114
  16. 19 5月, 2009 1 次提交
  17. 20 4月, 2009 1 次提交
  18. 19 4月, 2009 1 次提交
  19. 18 4月, 2009 1 次提交
    • D
      integration of the VirtualBox support · 10d16508
      Daniel Veillard 提交于
      * configure.in include/libvirt/virterror.h src/Makefile.am
        src/domain_conf.[ch] src/driver.h src/virterror.c src/vbox/README
        src/vbox/vbox_CAPI_v2_2.h src/vbox/vbox_V2_2.c
        src/vbox/vbox_XPCOMCGlue.[ch] src/vbox/vbox_driver.[ch]
        src/vbox/vbox_tmpl.c: integration of the VirtualBox support
        patches by Pritesh Kothari
      Daniel
      10d16508
  20. 03 4月, 2009 1 次提交
  21. 02 4月, 2009 1 次提交
  22. 03 3月, 2009 3 次提交
  23. 17 2月, 2009 1 次提交
  24. 21 1月, 2009 1 次提交
  25. 16 1月, 2009 1 次提交
  26. 06 1月, 2009 2 次提交
  27. 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
  28. 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
  29. 18 12月, 2008 1 次提交
  30. 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
  31. 25 11月, 2008 2 次提交