1. 13 11月, 2010 1 次提交
  2. 09 11月, 2010 1 次提交
  3. 27 10月, 2010 1 次提交
    • E
      maint: fix syntax-check failure of previous patch · 1987b090
      Eric Blake 提交于
      * cfg.mk (sc_prohibit_trailing_blank_lines): Delete; this is
      adequately covered by maint.mk's sc_prohibit_empty_lines_at_EOF.
      * .x-sc_prohibit_empty_lines_at_EOF: New file, to exempt raw
      patches.
      * Makefile.am (EXTRA_DIST): Include new exemption.
      1987b090
  4. 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
  5. 30 7月, 2010 1 次提交
    • E
      build: restore operation of bit-rotted 'make cov' · e7064aa6
      Eric Blake 提交于
      './autobuild.sh' with lcov installed discovered that our
      coverage support has been bit-rotting for a while.  This
      restores it back to a successful state, although I have
      not yet spent any time looking through the resulting files to
      look for low-hanging fruit in the unit test coverage front.
      
      * configure.ac: Clear COMPILER_FLAGS at right place.
      * Makefile.am (cov): Newer genhtml no longer likes plain -s.
      * m4/compiler-flags.m4 (gl_COMPILER_FLAGS): Don't AC_SUBST
      COMPILER_FLAGS; it is a shell variable for use in configure only.
      * src/Makefile.am (AM_CFLAGS, AM_LDFLAGS): New variables, to make
      it easier to provide global flag additions.  Use throughout, to
      uniformly apply coverage flags.
      * .gitignore: Globally ignore gcov output.
      * daemon/.gitignore: Simplify.
      * src/.gitignore: Likewise.
      * tests/.gitignore: Likewise.
      e7064aa6
  6. 13 7月, 2010 1 次提交
  7. 13 4月, 2010 1 次提交
    • E
      build: fix syntax-check problems · babaae92
      Eric Blake 提交于
      * .x-sc_prohibit_gettext_noop: Add new exemption.
      * .x-sc_prohibit_test_minus_ao: Likewise.
      * Makefile.am (EXTRA_DIST): Distribute new files.
      * .gitignore: Ignore built file.
      babaae92
  8. 27 3月, 2010 1 次提交
    • S
      Add some examples filters · e3a7137a
      Stefan Berger 提交于
      This patch adds some example filters to libvirt. They are automatically
      installed into the proper directory for libvirt to pick them up.
      e3a7137a
  9. 25 2月, 2010 1 次提交
    • J
      build: avoid non-srcdir "make distcheck" failures (srcdir vs wildcard) · 083b901e
      Jim Meyering 提交于
      * tests/xencapsdata/Makefile.am: Use $(wildcard in $(srcdir)-aware manner
      * tests/xmconfigdata/Makefile.am: Likewise.
      * tests/xml2sexprdata/Makefile.am: Likewise.
      * tests/sexpr2xmldata/Makefile.am (EXTRA_DIST): Likewise.
      * Makefile.am (XML_EXAMPLES): Use $(wildcard in $(srcdir)-aware manner.
      083b901e
  10. 14 12月, 2009 1 次提交
    • J
      add AppArmor test and examples to dist · ad905a19
      Jamie Strandboge 提交于
      tests/virt-aa-helper-test and examples/apparmor are not included in
      official tarballs, but should be. Attached is a patch to fix that
      which works when apparmor is and is not available.
      ad905a19
  11. 26 10月, 2009 2 次提交
  12. 09 10月, 2009 1 次提交
    • D
      Remove some auto-generated files · 35b5f84c
      Daniel P. Berrange 提交于
      Removes some auto-generated files still under version control.
      It also moves the rule for generating NEWS into the Makefile.am
      that's in the same directory as the output file to avoid confusion
      
      * docs/libvirt-api.xml, docs/libvirt-refs.xml, NEWS: Remove
        auto-generated files from source control
      * Makefile.am: Add rule for generating NEWS file
      * docs/Makefile.am: Remove rule for generating NEWS file
      35b5f84c
  13. 30 9月, 2009 1 次提交
    • D
      Fix a few 'make rpm' breakages · 553f31c5
      Daniel Veillard 提交于
      * Makefile.am: examples/domain-events/events-python should be added
        to dist tarball
      * libvirt.spec.in: there is no makefile in domain-events but in
        domain-events/events-c and python/libvirtclass.txt has vanished
      553f31c5
  14. 21 9月, 2009 4 次提交
    • 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
      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
      Move virsh into tools/ directory · 7ff256ec
      Daniel P. Berrange 提交于
      Move the virsh tool and its man page into the tools directory
      
      * Makefile.am: Remove rules for virsh.1 man page
      * virsh.1: Remove auto-generated file
      * docs/Makefile.am: Remove rules for virsh.pod man page
      * docs/virsh.pod: Move to tools/ directory
      * src/Makefile.am, src/.gitignore: Remove rules for virsh
      * src/console.c, src/console.h, src/*.ico, src/virsh_win_icon.rc,
        src/virsh.c: Move into tools/ directory
      * tools/Makefile.am: Add rules for building virsh
      * tools/.gitignore: Ignore virsh built files
      * tests/virshtest.c, tests/int-overflow: Update for new
        virsh location
      7ff256ec
    • D
      Rename qemud/ directory to daemon/ · 5c2a1ae8
      Daniel P. Berrange 提交于
      * qemud/: Rename to daemon/
      * Makefile.am, configure.in, src/Makefile.am, src/remote_internal.c,
        tests/Makefile.am, tests/eventtest.c: s/qemud/daemon/ where needed
      5c2a1ae8
  15. 10 7月, 2009 1 次提交
    • J
      build: automatically rerun ./bootstrap when needed · f272378d
      Jim Meyering 提交于
      When "git pull" (or any other operation) brings in a new version of the
      gnulib git submodule, you must rerun the autogen.sh script.  With this
      change, "make" now fails and tells you to run ./autogen.sh, when needed.
      * autogen.sh: Maintain a new file, .git-module-status, containing
      the current submodule status.  If it doesn't exist or its content
      is different from what "git submodule status" prints, then run
      ./bootstrap
      * .gitignore: Add .git-module-status
      * cfg.mk: Diagnose out of date submodule and fail.
      * README-hacking: Update not to mention bootstrap.
      * Makefile.am (MAINTAINERCLEANFILES): Add .git-module-status,
      so that "make maintainerclean" will remove it.
      f272378d
  16. 09 7月, 2009 2 次提交
  17. 08 7月, 2009 3 次提交
    • J
      generate ChangeLog from git logs into distribution tarball · 27b175b9
      Jim Meyering 提交于
      No longer maintain a version-controlled ChangeLog file, but do
      continue to include a ChangeLog file in distribution tarball.
      * Makefile.am (gen-ChangeLog): New rule.
      (dist-hook): Depend on it.
      (EXTRA_DIST): Add ChangeLog-old.
      * bootstrap (modules): Add gitlog-to-changelog.
      * ChangeLog: Remove file.  Renamed to...
      * ChangeLog-old: ...this.  New file.
      * autogen.sh: Touch ChangeLog, to ensure it exists.  For automake.
      27b175b9
    • J
      Prepare to use maint.mk from gnulib · c120fcc0
      Jim Meyering 提交于
      Since Makefile.maint will soon come from gnulib's maint.mk,
      sync Makefile.maint to have the same contents (modulo minor
      things).  In syncing it, we have to remove some libvirt-specific
      rules.  Since we want to keep them (of course), put those in cfg.mk.
      * Makefile.maint: Merge from gnulib's maint.mk.
      * cfg.mk (sc_avoid_write): New rule.  From Makefile.cfg.
      (sc_prohibit_strcmp_and_strncmp): Likewise, and rename.
      (sc_prohibit_asprintf, sc_prohibit_VIR_ERR_NO_MEMORY): Likewise.
      (sc_prohibit_nonreentrant): Likewise.
      (sc_prohibit_ctype_h): Likewise.
      (sc_TAB_in_indentation, sc_avoid_ctype_macros): Likewise.
      (sc_prohibit_virBufferAdd_with_string_literal): Likewise.
      (sc_prohibit_gethostby): Likewise.
      (sc_libvirt_unmarked_diagnostics): Likewise.  Also, rename the
      rule, inserting "_libvirt", since this rule is a specialization of
      the one in gnulib.
      * GNUmakefile: Include cfg.mk, not Makefile.cfg
      * .x-sc_prohibit_strcmp_and_strncmp: New file.
      * Makefile.am (EXTRA_DIST): Add .x-sc_prohibit_strcmp_and_strncmp
      c120fcc0
    • J
      use automake-1.11's silent-rules option, when possible · b731d783
      Jim Meyering 提交于
      Don't use mylibtool, (subsumed by automake's silent rules)
      Its use was causing a non-srcdir build to fail.
      * Makefile.am (EXTRA_DIST): Remove mylibtool.
      * configure.in: Don't use mylibtool.
      
      * configure.in: Use AM_SILENT_RULES([yes]),
      but only if that m4 macro is defined.
      Thus, it works even on systems that lack automake-1.11.
      Daniel Berrange suggested adding the conditional, so that
      we don't have a hard requirement on 1.11, e.g., for RHEL5.
      b731d783
  18. 19 5月, 2009 1 次提交
  19. 19 4月, 2009 1 次提交
  20. 27 2月, 2009 1 次提交
    • D
      New example program · 66780313
      Daniel Veillard 提交于
      * Makefile.am configure.in examples/hellolibvirt/Makefile.am
        examples/hellolibvirt/hellolibvirt.c: new trivial example program
        by David Allan
      Daniel
      66780313
  21. 21 1月, 2009 1 次提交
  22. 18 12月, 2008 1 次提交
    • J
      enforce the "include <config.h> first" rule · 4cea12bb
      Jim Meyering 提交于
      * qemud/Makefile.am: Ensure that the generated remote_protocol.c
      includes <config.h> first.
      * Makefile.maint (sc_require_config_h_first): New rule, so that
      "make syntax-check" enforces this.
      * .x-sc_require_config_h_first: New file.
      * Makefile.am (.x-sc_require_config_h_first): Add it.
      * qemud/remote_protocol.x: Don't include <config.h> here.
      * qemud/remote_protocol.c: Regenerate.
      4cea12bb
  23. 23 10月, 2008 1 次提交
    • D
      Massive patch adding event APIs by Ben Guthro · 1509b802
      Daniel Veillard 提交于
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in
        src/libvirt.c src/libvirt_sym.version: new libvirt event entry
        points, big patch provided by Ben Guthro
      * Makefile.am configure.in src/driver.h src/event.c src/event.h
        src/internal.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c
        src/openvz_driver.c src/qemu_conf.h src/qemu_driver.c
        src/remote_internal.c src/storage_backend_fs.c src/test.c
        qemud/event.c qemud/event.h qemud/mdns.c qemud/qemud.c
        qemud/qemud.h qemud/remote.c qemud/remote_dispatch_localvars.h
        qemud/remote_dispatch_proc_switch.h qemud/remote_dispatch_prototypes.h
        qemud/remote_protocol.c qemud/remote_protocol.h
        qemud/remote_protocol.x proxy/Makefile.am python/generator.py:
        Not much is left untouched by the patch adding the events support
      * docs/libvirt-api.xml docs/libvirt-refs.xml
        docs/html/libvirt-libvirt.html: regenerated the docs
      * examples/domain-events/events-c/Makefile.am
        examples/domain-events/events-c/event-test.c: a test example
      * AUTHORS: added Ben Guthro
      daniel
      1509b802
  24. 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
  25. 08 9月, 2008 1 次提交
  26. 05 9月, 2008 1 次提交
  27. 13 6月, 2008 1 次提交
  28. 30 5月, 2008 1 次提交
  29. 15 5月, 2008 1 次提交
  30. 30 1月, 2008 2 次提交
    • J
      Enable the <config.h>-requiring test; fix violations · a3781881
      Jim Meyering 提交于
      Use <config.h>, not "config.h", per autoconf documentation.
      * Makefile.cfg (local-checks-to-skip) [sc_require_config_h]: Enable.
      * .x-sc_require_config_h: New file, to list exempted files.
      * Makefile.am (EXTRA_DIST): Add .x-sc_require_config_h.
      a3781881
    • J
      Add framework for code style- and syntax-checking rules. · cc337da2
      Jim Meyering 提交于
      	Almost all tests are initially disabled via the list in Makefile.cfg.
      	* Makefile.am (EXTRA_DIST): Add .x-sc_avoid_if_before_free.
      	Omit names of files that automake includes automatically.
      	* .x-sc_avoid_if_before_free: New file.
      	* build-aux/vc-list-files: Likewise.
      	* build-aux/find-unnecessary-if-before-free: Likewise.
      	* GNUmakefile, Makefile.cfg, Makefile.maint: New files.
      cc337da2
  31. 12 12月, 2007 1 次提交
    • J
      Always build in python/ subdir. · 0d0b0113
      Jim Meyering 提交于
      * configure.in (PYTHON_SUBDIR): Don't set.  Remove all uses.
      * Makefile.am (SUBDIRS): Hard-code "python" here.
      (tests): Test equivalent "$(pythondir)", not @PYTHON_SUBDIR@.
      0d0b0113
  32. 11 12月, 2007 1 次提交
    • J
      Add gnulib-tool unit tests. · ac6bb7e1
      Jim Meyering 提交于
      * bootstrap: Re-add --with-tests, now that gnulib-tool
      arranges to use separate libraries for lib/ and tests/.
      * configure.in (AC_OUTPUT): Add gnulib/tests/Makefile.in.
      * Makefile.am (SUBDIRS): Add gnulib/tests.
      * gnulib/tests/Makefile.am: New file.
      * gnulib/lib/.cvsignore: Sort.
      * gnulib/lib/Makefile.am, gnulib/m4/getdelim.m4, gnulib/m4/getline.m4:
      * gnulib/m4/gnulib-cache.m4, gnulib/m4/gnulib-comp.m4: Regenerate.
      * gnulib/tests/test-alloca-opt.c: New file, from gnulib.
      * gnulib/tests/test-arpa_inet.c: Likewise.
      * gnulib/tests/test-fseeko.c: Likewise.
      * gnulib/tests/test-fseeko.sh: Likewise.
      * gnulib/tests/test-getaddrinfo.c: Likewise.
      * gnulib/tests/test-getdelim.c: Likewise.
      * gnulib/tests/test-getline.c: Likewise.
      * gnulib/tests/test-lseek.c: Likewise.
      * gnulib/tests/test-lseek.sh: Likewise.
      * gnulib/tests/test-netinet_in.c: Likewise.
      * gnulib/tests/test-snprintf.c: Likewise.
      * gnulib/tests/test-stdbool.c: Likewise.
      * gnulib/tests/test-stdint.c: Likewise.
      * gnulib/tests/test-stdio.c: Likewise.
      * gnulib/tests/test-stdlib.c: Likewise.
      * gnulib/tests/test-string.c: Likewise.
      * gnulib/tests/test-sys_select.c: Likewise.
      * gnulib/tests/test-sys_socket.c: Likewise.
      * gnulib/tests/test-sys_stat.c: Likewise.
      * gnulib/tests/test-sys_time.c: Likewise.
      * gnulib/tests/test-unistd.c: Likewise.
      * gnulib/tests/test-vasnprintf.c: Likewise.
      * gnulib/tests/test-vasprintf.c: Likewise.
      * gnulib/tests/test-wchar.c: Likewise.
      * gnulib/tests/dummy.c: Likewise.
      * gnulib/tests/intprops.h: Likewise.
      * gnulib/tests/verify.h: Likewise.
      ac6bb7e1