1. 21 9月, 2009 2 次提交
    • D
      Move all XML configuration handling to src/conf/ · e0a48c99
      Daniel P. Berrange 提交于
      * src/capabilities.c, src/capabilities.h, src/domain_conf.c,
        src/domain_conf.h, src/domain_event.c, src/domain_event.h,
        src/interface_conf.c, src/interface_conf.h,
        src/network_conf.c, src/network_conf.h, src/node_device_conf.c,
        src/node_device_conf.h, src/secret_conf.c, src/secret_conf.h,
        src/storage_conf.c, src/storage_conf.h, src/storage_encryption_conf.c,
        src/storage_encryption_conf.h: Move to src/conf/
      * src/Makefile.am: Add -Isrc/conf to the individual build targets
        which need to use XML config APIs. Remove LIBXML_CFLAGS, LIBSSH2_CFLAGS
        and SELINUX_CFLAGS from global INCLUDES and only have them in build
        targets which actually need them.  Create a libvirt_conf.la
        convenience library for all config parsers
      * src/hostusb.h: Remove bogus include of domain_conf.h
      * tests/Makefile.am: Add -Isrc/conf. Remove bogus -I$builddir/src
        since it never has any generated header files
      * daemon/Makefile.am: Add -Isrc/conf
      * proxy/Makefile.am: Add -Isrc/conf and cope with renamed files
      * src/hash.c: Remove bogus include of libxml/threads.h
      e0a48c99
    • D
      Move xen driver code into src/xen/ directory · f7a107f7
      Daniel P. Berrange 提交于
      * src/Makefile.am, src/proxy_internal.c, src/proxy_internal.h
        src/sexpr.c, src/sexpr.h, src/xen_unified.c, src/xen_unified.h,
        src/xen_internal.c, src/xen_internal.h, src/xen_inotify.c,
        src/xen_inotify.h, src/xend_internal.c, src/xend_internal.h,
        src/xm_internal.c, src/xm_internal.h, src/xs_internal.c,
        src/xs_internal.h: Move to src/xen/ directory
      * proxy/Makefile.am, proxy/libvirt_proxy.c, src/Makefile.am,
        src/libvirt.c, tests/sexpr2xmltest.c, tests/statstest.c,
        tests/xencapstest.c, tests/xmconfigtest.c, tests/xml2sexprtest.c:
        Adapt to changed xen location
      * src/stats_linux.h, src/stats_linux.c: Remove xen specific block
        stats APIs
      * src/qemu_driver.c, src/uml_driver.c: Add missing sys/un.h include
        uncovered after change to stats_linux.h
      * src/xen/block_stats.h, src/xen/block_stats.c: Add xen specific
        block stats APIs
      f7a107f7
  2. 02 9月, 2009 1 次提交
    • D
      Misc fixes to secrets API code · 575b18c0
      Daniel P. Berrange 提交于
      * proxy/Makefile.am: Build storage_encryption_conf.c since its a
        dependancy of domain_conf.c
      * src/storage_encryption_conf.c: Disable XML parsing APis when
        build under proxy
      * src/test.c: Add a dummy no-op secrets driver for test suite
      575b18c0
  3. 16 1月, 2009 1 次提交
  4. 07 11月, 2008 1 次提交
    • D
      add new logging module, and move existing definitions there · df93e1ee
      Daniel Veillard 提交于
      * src/logging.c src/logging.h proxy/Makefile.am proxy/libvirt_proxy.c
        src/Makefile.am src/cgroup.c src/datatypes.c src/domain_event.c
        src/internal.h src/libvirt.c src/lxc_container.c src/lxc_controller.c
        src/lxc_driver.c src/proxy_internal.c src/qemu_driver.c
        src/remote_internal.c src/storage_backend_disk.c src/util.c
        src/veth.c src/xen_internal.c src/xen_unified.c src/xend_internal.c:
        add new logging module, and move existing definitions there
      Daniel
      df93e1ee
  5. 05 11月, 2008 1 次提交
  6. 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
  7. 25 7月, 2008 2 次提交
  8. 30 4月, 2008 1 次提交
    • J
      Fix build errors. · ffdc37c2
      Jim Meyering 提交于
      * proxy/Makefile.am (libvirt_proxy_LDADD): Add ../gnulib/lib/libgnu.la.
      * gnulib/lib/arpa_inet.in.h: Add new file from gnulib.
      ffdc37c2
  9. 29 4月, 2008 1 次提交
  10. 27 2月, 2008 1 次提交
  11. 22 2月, 2008 1 次提交
    • J
      Move safewrite and saferead to a separate file. · a178a4e7
      Jim Meyering 提交于
      We currently use safewrite from inside libvirt and don't want to publish
      any such function name.  However, we do want to use it in applications
      like virsh, libvirtd and libvirt_proxy that link with libvirt.  To that
      end, this change moves that function definition (along with the nearly
      identical saferead) into a new file, util-lib.c.  To avoid maintaining
      separate copies of even such small functions, we simply include that new
      file from util.c.  Then, the separate applications that need to use
      safewrite simply compile and link with util-lib.c.
      
      Of course, this does mean that each of those applications will
      containing two copies of these functions.  However, the functions
      are so small that it's not worth worrying about that.
      
      * src/util.c (saferead, safewrite): Move function definitions to
      util-lib.c and include that .c file.
      * src/util-lib.c (saferead, safewrite): New file.  Functions from src/util.c
      with slight change (s/int r =/ssize_t r =/) to reflect read/write return type.
      * src/util-lib.h: Declare the two moved functions.
      * src/util.h: Remove declarations.  Include src/util-lib.h.
      * proxy/Makefile.am (libvirt_proxy_SOURCES): Add src/util-lib.c.
      * qemud/Makefile.am (libvirtd_SOURCES): Likewise.
      * src/Makefile.am (virsh_SOURCES): Add util-lib.c.  Remove some SP-before-TAB.
      a178a4e7
  12. 07 12月, 2007 1 次提交
  13. 26 11月, 2007 1 次提交
  14. 10 8月, 2007 1 次提交
  15. 27 6月, 2007 1 次提交
  16. 29 5月, 2007 1 次提交
    • R
      +Tue May 29 15:41:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 0832c58c
      Richard W.M. Jones 提交于
      +
      +       * TODO: Added a note about requiring C++ compiler because of a
      +         possible problem with libtool autoconf macros.
      +       * docs/examples/Makefile.am, proxy/Makefile.am, qemud/Makefile.am,
      +         src/Makefile.am, tests/Makefile.am: Pass $(WARN_CFLAGS) when
      +         linking, so if -fstack-protector is there, gcc will link to
      +         the stack protector library.
      +       * tests/xencapstest.c: Allow this test to compile when Xen
      +         libraries are not enabled.
      +
      0832c58c
  17. 15 3月, 2007 1 次提交
    • D
      * configure.in proxy/Makefile.am proxy/libvirt_proxy.c · 181ce1fd
      Daniel Veillard 提交于
        src/Makefile.am src/libvirt.c src/qemu_internal.c src/test.c
        src/xen_internal.c src/xen_internal.h src/xend_internal.c
        src/xm_internal.c src/xml.c src/xs_internal.c
        tests/Makefile.am tests/sexpr2xmltest.c tests/xmconfigtest.c:
        allow selective compilation of Xen,QEmu/KVM and test support
        in or out at configure time. Also allows to compile on a system
        without Xen development installed. All drivers are selected by
        default.
      Daniel
      181ce1fd
  18. 02 3月, 2007 1 次提交
    • M
      Thu Mar 01 16:17:48 EST 2007 Mark McLoughlin <markmc@redhat.com> · 51d56098
      Mark McLoughlin 提交于
              * acinclude.m4: add LIBVIRT_COMPILE_WARNINGS, copied from
              GNOME but with a few more flags we'd been using.
      
              * configure.in: use that instead of setting CFLAGS
              directly.
      
              * proxy/Makefile.am, python/Makefile.am, qemud/Makefile.am,
                src/Makefile.am, tests/Makefile.am: use $(WARN_CFLAGS)
      51d56098
  19. 21 9月, 2006 1 次提交
  20. 09 8月, 2006 1 次提交
  21. 20 7月, 2006 1 次提交
  22. 04 7月, 2006 1 次提交
  23. 03 7月, 2006 1 次提交
  24. 30 6月, 2006 1 次提交
  25. 29 6月, 2006 1 次提交