1. 28 3月, 2011 1 次提交
    • D
      Remove the Open Nebula driver · 4591df76
      Daniel P. Berrange 提交于
      The Open Nebula driver has been unmaintained since it was first
      introduced. The only commits have been for tree-wide cleanups.
      It also has a major design flaw, in that it only knows about guests
      that it has created itself, which makes it of very limited use.
      
      Discussions wrt evolution of the VMWare ESX driver, concluded that
      it should limit itself to single-node ESX operation and not try to
      manage the multi-node architecture of VirtualCenter. Open Nebula
      is a cluster like Virtual Center, not a single node system, so
      the same reasoning applies.
      
      The DeltaCloud project includes an Open Nebula driver and is a much
      better fit architecturally, since it is explicitly targetting the
      distributed multihost cluster scenario.
      
      Thus this patch deletes the libvirt Open Nebula driver with the
      recommendation that people use DeltaCloud for managing it instead.
      
      * configure.ac: Remove probe for xmlrpc & --with-one arg
      * daemon/Makefile.am, daemon/libvirtd.c, src/Makefile.am: Remove
        ONE driver build
      * src/opennebula/one_client.c, src/opennebula/one_client.h,
        src/opennebula/one_conf.c, src/opennebula/one_conf.h,
        src/opennebula/one_driver.c, src/opennebula/one_driver.c: Delete
        files
      * autobuild.sh, libvirt.spec.in, mingw32-libvirt.spec.in: Remove
        build rules for Open Nebula
      * docs/drivers.html.in, docs/sitemap.html.in: Remove reference
        to OpenNebula
      * docs/drvone.html.in: Delete file
      4591df76
  2. 22 10月, 2010 1 次提交
    • D
      Add dtrace static probes in libvirtd · 968eb4e5
      Daniel P. Berrange 提交于
      Adds initial support for dtrace static probes in libvirtd
      daemon, assuming use of systemtap dtrace compat shim on
      Linux. The probes are inserted for network client connect,
      disconnect, TLS handshake states and authentication protocol
      states.
      
      This can be tested by running the xample program and then
      attempting to connect with any libvirt client (virsh,
      virt-manager, etc).
      
       # stap examples/systemtap/client.stp
        Client fd=44 connected readonly=0
        Client fd=44 auth polkit deny pid:24997,uid:500
        Client fd=44 disconnected
        Client fd=46 connected readonly=1
        Client fd=46 auth sasl allow test
        Client fd=46 disconnected
      
      The libvirtd.stp file should also really not be required,
      since it is duplicated info that is already available in
      the main probes.d definition file. A script to autogenerate
      the .stp file is needed, either in libvirtd tree, or better
      as part of systemtap itself.
      
      * Makefile.am: Add examples/systemtap subdir
      * autobuild.sh: Disable dtrace for mingw32
      * configure.ac: Add check for dtrace
      * daemon/.gitignore: Ignore generated dtrace probe file
      * daemon/Makefile.am: Build dtrace probe header & object
        files
      * daemon/libvirtd.stp: SystemTAP convenience probeset
      * daemon/libvirtd.c: Add connect/disconnect & TLS probes
      * daemon/remote.c: Add SASL and PolicyKit auth probes
      * daemon/probes.d: Master probe definition
      * daemon/libvirtd.h: Add convenience macro for probes
        so that compilation is a no-op when dtrace is not available
      * examples/systemtap/Makefile.am, examples/systemtap/client.stp
        Example systemtap script using dtrace probe markers
      * libvirt.spec.in: Enable dtrace on F13/RHEL6
      * mingw32-libvirt.spec.in: Force disable dtrace
      968eb4e5
  3. 20 10月, 2010 1 次提交
    • D
      Basic framework for auditing integration · 8f680ad3
      Daniel P. Berrange 提交于
      Integrate with libaudit.so for auditing of important operations.
      libvirtd gains a couple of config entries for auditing. By
      default it will enable auditing, if its enabled on the host.
      It can be configured to force exit if auditing is disabled
      on the host. It will can also send audit messages via libvirt
      internal logging API
      
      Places requiring audit reporting can use the VIR_AUDIT
      macro to report data. This is a no-op unless auditing is
      enabled
      
      * autobuild.sh, mingw32-libvirt.spec.in: Disable audit
        on mingw
      * configure.ac: Add check for libaudit
      * daemon/libvirtd.aug, daemon/libvirtd.conf,
        daemon/test_libvirtd.aug, daemon/libvirtd.c: Add config
        options to enable auditing
      * include/libvirt/virterror.h, src/util/virterror.c: Add
        VIR_FROM_AUDIT source
      * libvirt.spec.in: Enable audit
      * src/util/virtaudit.h, src/util/virtaudit.c: Simple internal
        API for auditing messages
      8f680ad3
  4. 08 9月, 2010 1 次提交
  5. 10 6月, 2010 1 次提交
    • E
      build: fix some mingw issues · 3cf642a0
      Eric Blake 提交于
      On Fedora 13 with sufficient mingw32-* packages installed, running
      ./autobuild.sh failed to cross-compile to mingw because
      mingw32-pthreads installed a broken <pthread.h>.  With that
      issue fixed, the build still failed due to use of O_SYNC.
      Meanwhile, recent .spec.in changes got out of sync.
      
      * bootstrap.conf (gnulib_modules): Add fcntl-h, for O_SYNC.
      * .gnulib: Update to latest, to work around buggy pthreads-win32
      library.
      * bootstrap: Import latest from gnulib.
      * mingw32-libvirt.spec.in: Distribute new file.
      3cf642a0
  6. 08 5月, 2010 1 次提交
    • E
      mingw32-libvirt.spec: bring up to date · d0616e35
      Eric Blake 提交于
      Right now, mingw32-portablexdr is not available in Fedora, but is
      present in fedora-mingw.git.  With that package, plus
      redhat-rpm-config and this patch, it is once again possible to build
      mingw32-libvirt from a Fedora 12 host.
      
      * mingw32-libvirt.spec.in (__debug_install_post): Override.
      (%files): Mention recent additions.
      d0616e35
  7. 21 9月, 2009 1 次提交
    • 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
  8. 02 9月, 2009 2 次提交
    • 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
  9. 31 7月, 2009 1 次提交
    • D
      Enable ESX driver build on Mingw32 · 84e96866
      Daniel P. Berrange 提交于
      * autobuild.sh, mingw32-libvirt.spec.in: Enable esx on mingw32
      * src/esx/esx_driver.c: Define AI_ADDRCONFIG if not set
      * src/esx/esx_util.c, src/esx/esx_vi_types.c: Always use
        %lld & friends, since gnulib guarentees we have these
        and not the target's own variants
      84e96866
  10. 30 7月, 2009 1 次提交
  11. 25 7月, 2009 1 次提交
    • D
      Fix misc build problems due to new drivers · 484640ea
      Daniel P. Berrange 提交于
      * autobuild.sh: Disable esx/phyp build on mingw32
      * configure.in: Fix handling of --without-phyp so it actually works
      * libvirt.spec.in: Add missing interface.rng
      * mingw32-libvirt.spec.in: Disable phyp/esx drivers
      * src/phyp/phyp_driver.c: Fix missing i18n of error messages
      484640ea
  12. 23 7月, 2009 1 次提交
    • D
      Fix misc Win32 compile warnings · 899ae0d2
      Daniel P. Berrange 提交于
      GCC >= 4.4 assumes the 'printf' attribute refers to the native
      runtime libraries format specifiers. Thanks to gnulib, libvirt
      has GNU format specifiers everywhere.  This means we need to
      use 'gnu_printf' with GCC >= 4.4 to get correct compiler
      checking of printf format specifiers.
      
      * HACKING: Document new rules for ATTRIBUTE_FMT_PRINTF
      * autobuild.sh, mingw32-libvirt.spec.in: Disable OpenNebula
        driver on mingw32 builds
      * qemud/dispatch.h, qemud/qemu.h, src/buf.h src/internal.h,
        src/logging.h, src/security.h, src/sexpr.h, src/util.h,
        src/virterror_internal.h, src/xend_internal.c: Change
        over to ATTRIBUTE_FMT_PRINTF.
      * src/virsh.c: Disable 'cd' and 'pwd' commands on Win32
        since they don't compile
      * src/threads-win32.c: Add missing return value check
      899ae0d2
  13. 20 4月, 2009 2 次提交
  14. 27 1月, 2009 1 次提交
  15. 25 11月, 2008 1 次提交
  16. 10 10月, 2008 1 次提交
    • R
      Updated MinGW spec file. · 0ae26314
      Richard W.M. Jones 提交于
      	* .cvsignore, Makefile.am, autobuild.sh, configure.in,
      	  mingw32-libvirt.spec.in: Import the latest MinGW libvirt spec
      	  file.  Note that the file has been renamed to conform to
      	  new Fedora packaging guidelines.
      	* autobuild.sh: Fix a bug in the generation of the $EXTRA_RELEASE
      	  field when autobuilding.
      0ae26314