1. 23 12月, 2009 1 次提交
  2. 22 12月, 2009 1 次提交
  3. 10 12月, 2009 1 次提交
    • M
      remove all traces of lokkit support · 3b3305d8
      Mark McLoughlin 提交于
      Long ago we tried to use Fedora's lokkit utility in order to register
      our iptables rules so that 'service iptables restart' would
      automatically load our rules.
      
      There was one fatal flaw - if the user had configured iptables without
      lokkit, then we would clobber that configuration by running lokkit.
      
      We quickly disabled lokkit support, but never removed it. Let's do
      that now.
      
      The 'my virtual network stops working when I restart iptables' still
      remains. For all the background on this saga, see:
      
        https://bugzilla.redhat.com/227011
      
      * src/util/iptables.c: remove lokkit support
      
      * configure.in: remove --enable-lokkit
      
      * libvirt.spec.in: remove the dirs used only for saving rules for lokkit
      
      * src/Makefile.am: ditto
      
      * src/libvirt_private.syms, src/network/bridge_driver.c,
        src/util/iptables.h: remove references to iptablesSaveRules
      3b3305d8
  4. 07 12月, 2009 1 次提交
    • D
      Introduce a simple API for handling JSON data · 9428f2ce
      Daniel P. Berrange 提交于
      This introduces simple API for handling JSON data. There is
      an internal data structure 'virJSONValuePtr' which stores a
      arbitrary nested JSON value (number, string, array, object,
      nul, etc).  There are APIs for constructing/querying objects
      and APIs for parsing/formatting string formatted JSON data.
      
      This uses the YAJL library for parsing/formatting from
      
       http://lloyd.github.com/yajl/
      
      * src/util/json.h, src/util/json.c: Data structures and APIs
        for representing JSON data, and parsing/formatting it
      * configure.in: Add check for yajl library
      * libvirt.spec.in: Add build requires for yajl
      * src/Makefile.am: Add json.c/h
      * src/libvirt_private.syms: Export JSON symbols to drivers
      9428f2ce
  5. 21 11月, 2009 2 次提交
    • D
      Release of libvirt-0.7.4 · 040e80f7
      Daniel Veillard 提交于
      0.7.3 was broken
      
      * configure.in docs/news.html.in: release of 0.7.4
      * configure.in libvirt.spec.in: require netcf >= 0.1.4
      * src/Makefile.am: node_device/node_device_udev.h was missing from
        NODE_DEVICE_DRIVER_UDEV_SOURCES breaking compilation on platforms with
        udev
      040e80f7
    • D
      Release of libvirt-0.7.3 · b8d4b6be
      Daniel Veillard 提交于
      * configure.in docs/news.html.in libvirt.spec.in: describe new release
      * po/*.po*: regenerate
      b8d4b6be
  6. 20 11月, 2009 1 次提交
  7. 12 11月, 2009 1 次提交
    • D
      Exclude numactl on s390[x] · 3c3dffc2
      Daniel P. Berrange 提交于
      The numactl package is not applicable for s390[x] arches, so do
      not enable it as a build dep.
      
      * libvirt.spec.in: Exclude numactl on s390[x]
      3c3dffc2
  8. 04 11月, 2009 1 次提交
    • L
      Support reporting live interface IP/netmask · 753c6c9c
      Laine Stump 提交于
      This patch adds the flag VIR_INTERFACE_XML_INACTIVE to
      virInterfaceGetXMLDesc's flags. When it is*not* set (the default), the
      live interface info will be returned in the XML (in particular, the IP
      address(es) and netmask(s) will be retrieved by querying the interface
      directly, rather than  reporting what's in the config file). The
      backend of this is in netcf's ncf_if_xml_state() function.
      
      * configure.in libvirt.spec.in: requires netcf >= 0.1.3
      * include/libvirt/libvirt.h.in: adds flag VIR_INTERFACE_XML_INACTIVE
      * src/conf/interface_conf.c src/interface/netcf_driver.c src/libvirt.c:
        update the parsing and backend routines accordingly
      * tools/virsh.c: change interface edit to inactive definition and
        adds the inactive flag for interface dump
      753c6c9c
  9. 29 10月, 2009 1 次提交
    • M
      libvirt-devel should only require libvirt-client · 1acef95a
      Mark McLoughlin 提交于
      There's a long known issue where if you install libvirt in a guest,
      the default virtual network will conflict with the default virtual
      network in the host.
      
      That's one of the reasons we have the libvirt-client RPM - it allows
      you to install the client library without having the host side
      installed.
      
      Rich Jones points out that if you install libvirt-devel in a guest,
      then you get libvirtd installed and the network conflict:
      
        https://bugzilla.redhat.com/531200
      
      libvirt-devel should only require libvirt-client - e.g. nothing in
      the devel package pertains to anything in the libvirt RPM. The Fedora
      packaging guidelines say:
      
        https://fedoraproject.org/wiki/Packaging/Guidelines#Devel_Packages
      
        Devel packages must require the base package using a fully versioned
        dependency ...
      
      But for all intents and purposes, libvirt-client is our base RPM.
      
      * libvirt.spec.in: make libvirt-devel require libvirt-client
      1acef95a
  10. 13 10月, 2009 1 次提交
  11. 09 10月, 2009 1 次提交
    • A
      LXC add augeas support for config file · e1a2fe6a
      Amy Griffis 提交于
      * src/lxc/libvirtd_lxc.aug src/lxc/test_libvirtd_lxc.aug: augeas schemas
        for lxc.conf
      * src/Makefile.am libvirt.spec.in: glue the new augeas files in
      e1a2fe6a
  12. 08 10月, 2009 1 次提交
    • A
      LXC add driver config file lxc.conf · 2dd44664
      Amy Griffis 提交于
      * src/lxc/lxc.conf: new configuration file, there is currently one
        tunable "log_with_libvirtd" that controls whether an lxc controller will
        log only to the container log file, or whether it will honor libvirtd's
        log output configuration. This provides a way to have libvirtd and its
        children log to a single file.  The default is to log to the container
        log file.
      * src/Makefile.am libvirt.spec.in: add the new file
      * src/lxc/lxc_conf.[ch] src/lxc/lxc_driver.c: read the new log value
        from the configuration file and pass the log informations when
        starting up a container.
      2dd44664
  13. 06 10月, 2009 1 次提交
    • M
      Create /var/log/libvirt/{lxc,uml} dirs · d285084b
      Mark McLoughlin 提交于
      Otherwise logrotate barfs:
      
        error: error accessing /var/log/libvirt/uml: No such file or directory
        error: libvirtd:1 glob failed for /var/log/libvirt/uml/*.log
        error: found error in /var/log/libvirt/qemu/*.log /var/log/libvirt/uml/*.log /var/log/libvirt/lxc/*.log , skipping
      
      * qemud/Makefile.am: always create /var/log/libvirt/{lxc,uml} when
        installing the logrotate conf; not ideal, but easier than making
        the logrotate conf depend on which drivers are enabled
      d285084b
  14. 30 9月, 2009 2 次提交
  15. 28 9月, 2009 1 次提交
  16. 21 9月, 2009 5 次提交
    • D
      Tweak specfile to fix RHEL6 rules & ESX/PHYP enablement · cf5fa06c
      Daniel P. Berrange 提交于
      * libvirt.spec.in: ESX/PHYP drivers do not require libvirtd.
        RHEL-6 should include LXC on all arches
      cf5fa06c
    • D
      Move example XML files into examples/xml · 13f59ad7
      Daniel P. Berrange 提交于
      * docs/storage/: Move to examples/xml/storage/
      * docs/test*.xml: Move to examples/xml/test/
      * docs/Makefile.am: Remove example XML files from dist
      * Makefile.am: Add examples/xml to EXTRA_DIST
      * tests/virshtest.c: Update for moved test XML
      * libvirt.spec.in: Include example XML files as docs
      * tests/int-overflow: UPdate for moved XML
      13f59ad7
    • D
      Make pki_check.sh into an installed & supported tool · 3decd4f9
      Daniel P. Berrange 提交于
      * docs/pki_check.sh: Move to tool/virt-pki-validate.in and add
        in POD man page documentation
      * tools/.gitignore: Ignore generated virt-pki-validate file
      * tools/Makefile.am: Install & build virt-pki-validate and
        virt-pki-validate.1
      * docs/remote.html, docs/remote.html.in: Refer to new tool
        name virt-pki-validate
      * libvirt.spec.in, mingw32-libvirt.spec.in: Add virt-pki-validate
        and virt-pki-validate.1 to files list
      3decd4f9
    • D
      Move docs/examples into examples/ · cebeba7b
      Daniel P. Berrange 提交于
      * Makefile.am: Add examples/dominfo examples/domsuspend examples/python
        as SUBDIRS
      * configure.in: Update AC_OUTPUT for new/old Makefiles
      * docs/Makefile.am: Remove examples from SUBDIRS
      * docs/examples/info1.c: Move to examples/dominfo/info1.c
      * docs/examples/suspend.c: Move to examples/domsuspend/suspend.c
      * docs/examples: Remove all remaining files
      * docs/examples/python: Moved to examples/python/
      * examples/dominfo/Makefile.am, examples/domsuspend/Makefile.am: New
        build files
      * libvirt.spec.in: Update to take account of moved examples
      cebeba7b
    • D
      Refactor libvirt.spec to allow client-only builds · fd5c9bb9
      Daniel P. Berrange 提交于
      Some architectures in certain RHEL versions do not include any
      hypervisors. Update the specfile to allow those to easily build
      a remote client only version of libvirt. ie no libvirtd related
      bits at all.
      
      * qemud/Makefile.am: Always instal SASL config since its needed
        by client too
      * libvirt.spec.in: Re-factor specfile conditionals to allow entire
        server side build to be disabled easily, eg a remote client only
        build. Make RHEL-5 do client only build for s390/ppc. Make RHEL-6
        do a client only build for all non-x86_64 archs. Enable LXC on
        RHEL-6. Enable all Fedora >= 6 features on RHEL-6 too. Add some
        more conditionals around dnsmasq/iptables/hal Requires tags.
        Add missing e2fsprogs-devel BR for RHEL-5 as workaround for broken
        parted. Fix the device mapper BR for RHEL-5. Add conditional rules
        for ESX build. Add conditional rules for SELinux + HAL builds.
        Fix a mistaken %{with_qemu} to be %{with_network} when setting
        up default network XML
      fd5c9bb9
  17. 15 9月, 2009 1 次提交
    • D
      Release of libvirt 0.7.1 · c4f6e806
      Daniel Veillard 提交于
      * configure.in docs/news.html.in libvirt.spec.in src/libvirt_public.syms:
        updates to new release
      * NEWS docs/devhelp/libvirt-libvirt.html docs/html/libvirt-libvirt.html
        docs/libvirt-api.xml docs/libvirt-refs.xml docs/news.html
        include/libvirt/libvirt.h: regenerated
      c4f6e806
  18. 14 9月, 2009 1 次提交
  19. 10 9月, 2009 1 次提交
  20. 09 9月, 2009 1 次提交
    • D
      Deprecate lzma and lzop in favor of xz, add dep · c5a30558
      Daniel Veillard 提交于
      * src/qemu_driver.c: drop lzma and lzop images compression options
        as they are deprecated by xz
      * libvirt.spec.in: add requires for xz/bzip2/gzip as they are needed
        to implement the compression options
      c5a30558
  21. 08 9月, 2009 1 次提交
  22. 04 9月, 2009 2 次提交
    • D
      PHYP driver cleanups · 91c7bf65
      Daniel Veillard 提交于
      * libvirt.spec.in: activate phyp and fix the BuildDep to libssh2-devel
      * src/phyp/phyp_driver.c: fix a debug macro to use the normal logging API
      91c7bf65
    • D
      Move QEMU monitor socket in /var/lib/libvirt/qemu · 182a80b9
      Daniel P. Berrange 提交于
      Separate the guest created QEMU monitor socket location
      from the libvirtd create XML / PID data files, to improve
      security separation when running QEMU non-root
      
      * libvirt.spec.in: Leave /var/run/libvirt/qemu as root:root
      * src/qemu_conf.h: Add libDir and cacheDir directory paths
      * src/qemu_driver.c: Move QEMU monitor socket from
        stateDir to libDir to avoid making security critical directory
        accessible to QEMU guests.
      * src/util.c: Delay running hook till after damonizing to
        ensure pidfile is still written before changing UID/GID
      182a80b9
  23. 02 9月, 2009 3 次提交
    • D
      Only add glusterfs dep for Fedora >= 11 · 6a035507
      Daniel P. Berrange 提交于
      * libvirt.spec.in: Conditionalize glusterfs requires line for
        Fedora >= 11, since other distros don't have it available
      6a035507
    • 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
    • M
      Secret manipulation public API · 6acc17af
      Miloslav Trmač 提交于
      This patch adds a "secret" as a separately managed object, using a
      special-purpose API to transfer the secret values between nodes and
      libvirt users.
      
      * docs/schemas/secret.rng, docs/schemas/Makefilem.am: Add new
        schema for virSecret objects
      * docs/*html: Re-generated
      * docs/formatsecret.html.in, docs/sitemap.html.in: Add page
        describing the virSecret XML schema
      * include/libvirt/libvirt.h.in: Define the new virSecret public
        API
      * src/libvirt_public.syms: Export symbols for new public APIs
      * mingw32-libvirt.spec.in, libvirt.spec.in: Add secret.rng to
        files list
      6acc17af
  24. 25 8月, 2009 1 次提交
    • D
      Support new PolicyKit 1.0 API · 8e06c8b3
      Daniel P. Berrange 提交于
      * configure.in: Check for pkcheck which indicates new policykit
      * qemud/Makefile.am: Install different versions of policy
      * qemud/libvirtd.policy: Rename to libvirtd.policy-0
      * qemud/libvirtd.policy-1: new style policy
      * qemud/qemud.c, qemud/qemud.h, qemud/remote.c: Support new
        policykit API via external pkcheck helper
      * src/remote_internal.c: Don't prompt for polkit auth with new
        policykit API
      * libvirt.spec.in: deal with new policy install locations & deps
      8e06c8b3
  25. 21 8月, 2009 1 次提交
  26. 10 8月, 2009 1 次提交
  27. 05 8月, 2009 1 次提交
    • D
      Release of libvirt-0.7.0 · 22a5ebe4
      Daniel Veillard 提交于
      * configure.in NEWS docs/* libvirt.spec.in include/libvirt/libvirt.h:
        Release of 0.7.0
      * po/*.po*: updated and regenerated the localization pool
      22a5ebe4
  28. 31 7月, 2009 1 次提交
  29. 30 7月, 2009 1 次提交
  30. 29 7月, 2009 2 次提交