1. 02 2月, 2010 1 次提交
    • E
      maint: avoid excess parens in STREQ · 6b8d8395
      Eric Blake 提交于
      * src/internal.h (STREQ, STRCASEEQ, STRNEQ, STRCASENEQ, STREQLEN)
      (STRCASEEQLEN, STRNEQLEN, STRCASENEQLEN, STRPREFIX): Avoid
      redundant parenthesis.
      * examples/domain-events/events-c/event-test.c (STREQ): Likewise.
      * src/storage/parthelper.c (STREQ): Likewise.
      6b8d8395
  2. 27 1月, 2010 1 次提交
  3. 18 1月, 2010 1 次提交
    • J
      gnulib added a new syntax-check test: use $(VAR), not @VAR@ · eabb98b0
      Jim Meyering 提交于
      The latter is not officially "wrong", but *is* terribly anachronistic.
      I think automake documentation or comments call that syntax obsolescent.
      * cfg.mk (_makefile_at_at_check_exceptions): Exempt @SCHEMADIR@
      and @SYSCONFDIR@ uses -- there are no Makefile variables for those.
      * docs/Makefile.am: Use $(INSTALL), not @install@.
      * examples/dominfo/Makefile.am: Similar.
      * examples/domsuspend/Makefile.am: Similar.
      * proxy/Makefile.am: Similar.
      * python/Makefile.am: Similar.
      * python/tests/Makefile.am: Similar.
      * src/Makefile.am: Similar.
      * tests/Makefile.am: Similar.
      eabb98b0
  4. 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
  5. 13 11月, 2009 1 次提交
    • J
      AppArmor updates of examples · a8a560dd
      Jamie Strandboge 提交于
      * examples/apparmor/libvirt-qemu: adds pulseaudio, alsa and preliminary
        save/restore to the example apparmor abstraction
      * examples/apparmor/usr.sbin.libvirtd: allows libvirtd access to inet
        dgram, inet6 dgram, inet6 stream and /usr/lib/libvirt/*
      a8a560dd
  6. 08 11月, 2009 1 次提交
    • M
      Add a Python example that lists active ESX domains · 5469686b
      Matthias Bolte 提交于
      It also demonstrates how to use the libvirt.openAuth() method.
      
      * examples/python/Makefile.am: add esxlist.py to EXTRA_DIST
      * examples/python/README: add some notes about esxlist.py
      * examples/python/esxlist.py: the new example
      5469686b
  7. 09 10月, 2009 1 次提交
    • D
      Rewrite example domain events programm for python · 93f77250
      Daniel P. Berrange 提交于
      The existing python demo for domain events does not fully
      implement the event loop contract. This makes the code useless
      for real world applications. This change re-writes the demo so
      that it has a full event loop implementation which is suitable
      for application usage & better demonstrates integration
      
      * examples/domain-events/events-python/event-test.py: Rewrite
        to include a real world usable event loop implementation
      93f77250
  8. 08 10月, 2009 1 次提交
    • J
      Documentation and examples for SVirt Apparmor driver · 624a7927
      Jamie Strandboge 提交于
      * docs/drvqemu.html.in: include documentation for AppArmor sVirt
        confinement
      * examples/apparmor/TEMPLATE examples/apparmor/libvirt-qemu
        examples/apparmor/usr.lib.libvirt.virt-aa-helper
        examples/apparmor/usr.sbin.libvirtd: example templates and
        configuration files for SVirt Apparmor when using KVM/QEmu
      624a7927
  9. 06 10月, 2009 1 次提交
  10. 01 10月, 2009 1 次提交
    • J
      Fix build in separate build directory · 3bd4c7ba
      Jiri Denemark 提交于
      * cfg.mk: use $(srcdir)/ prefix for Makefile.nonreentrant include
      * examples/domain-events/events-c/Makefile.am tools/Makefile.am
        examples/hellolibvirt/Makefile.am: extend the include paths to
        use $(top_srcdir)/include too.
      3bd4c7ba
  11. 21 9月, 2009 3 次提交
    • 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
      Misc syntax-check fixes · 7ad5c00e
      Daniel P. Berrange 提交于
      7ad5c00e
    • 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
  12. 16 7月, 2009 1 次提交
    • J
      remove all trailing blank lines · 07613d20
      Jim Meyering 提交于
      by running this command:
      git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/'
      This is in preparation for a more strict make syntax-check
      rule that will detect trailing blank lines.
      07613d20
  13. 08 7月, 2009 1 次提交
  14. 28 5月, 2009 1 次提交
  15. 25 5月, 2009 1 次提交
  16. 03 3月, 2009 2 次提交
  17. 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
  18. 18 12月, 2008 1 次提交
  19. 25 11月, 2008 2 次提交
  20. 24 11月, 2008 1 次提交
  21. 20 11月, 2008 2 次提交
  22. 19 11月, 2008 1 次提交
  23. 18 11月, 2008 1 次提交
  24. 03 11月, 2008 1 次提交
  25. 31 10月, 2008 1 次提交
    • D
      * python/Makefile.am python/generator.py python/libvir.c · 7b716fce
      Daniel Veillard 提交于
        python/libvir.py python/libvirt_wrap.h python/types.c:
        adds support for events from the python bindings, also
        improves the generator allowing to embbed per function
        definition files, patch by Ben Guthro
      * examples/domain-events/events-python/event-test.py: also
        adds a programming example
      Daniel
      7b716fce
  26. 29 10月, 2008 2 次提交
  27. 24 10月, 2008 1 次提交
  28. 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