1. 19 6月, 2019 1 次提交
  2. 10 4月, 2019 1 次提交
  3. 04 2月, 2019 1 次提交
  4. 03 1月, 2019 1 次提交
  5. 14 12月, 2018 1 次提交
  6. 18 10月, 2017 1 次提交
    • E
      maint: Replace tabs with spaces in all source files in repo · b08017ca
      Erik Skultety 提交于
      So we have a syntax-check rule to catch all tab indents but it naturally
      can't catch tab spacing, i.e. as a delimiter. This patch is a result of
      running 'vim -en +retab +wq'
      (using tabstop=8 softtabstop=4 shiftwidth=4 expandtab) on each file from
      a list generated by the following:
      find . -regextype gnu-awk \
               -regex ".*\.(rng|syms|html|s?[ch]|py|pl|php(\.code)?)(\.in)?" \
               | xargs git grep -lP "\t"
      Signed-off-by: NErik Skultety <eskultet@redhat.com>
      b08017ca
  7. 08 8月, 2017 1 次提交
    • J
      introduce virConfReadString · e9f32227
      Ján Tomko 提交于
      Rewrite virConfReadMem to take a null-terminated string.
      All the callers were calling strlen on it anyway.
      e9f32227
  8. 18 7月, 2016 1 次提交
  9. 12 7月, 2016 1 次提交
  10. 30 11月, 2015 1 次提交
    • E
      libvirt: Move config getters to util · c4bdff19
      Erik Skultety 提交于
      virConnectGetConfig and virConnectGetConfigPath were static libvirt
      methods, merely because there hasn't been any need for having them
      internally exported yet. Since libvirt-admin also needs to reference
      its config file, 'xGetConfig' should be exported.
      Besides moving, this patch also renames the methods accordingly,
      as they are libvirt config specific.
      c4bdff19
  11. 20 8月, 2015 1 次提交
  12. 15 12月, 2014 2 次提交
  13. 13 2月, 2014 1 次提交
    • C
      Improve virConf parse to handle LXC config format · 3daa1483
      Cédric Bosdonnat 提交于
      virConf now honours a VIR_CONF_FLAG_LXC_FORMAT flag to handle LXC
      configuration files. The differences are that property names can
      contain '.' character and values are all strings without any bounding
      quotes.
      
      Provide a new virConfWalk function calling a handler on all non-comment
      values. This function will be used by the LXC conversion code to loop
      over LXC configuration lines.
      3daa1483
  14. 21 12月, 2012 1 次提交
  15. 21 9月, 2012 1 次提交
  16. 27 7月, 2012 1 次提交
    • O
      maint: Use consistent copyright. · a4bcefbc
      Osier Yang 提交于
      This is a follow up patch of commit f9ce7dad, it modifies all
      the files which declare the copyright like "See COPYING.LIB for
      the License of this software" to use the detailed/consistent one.
      
      And deserts the outdated comments like:
      
       * libvirt-qemu.h:
       * Summary: qemu specific interfaces
       * Description: Provides the interfaces of the libvirt library to handle
       *              qemu specific methods
       *
       * Copy:  Copyright (C) 2010, 2012 Red Hat, Inc.
      
      Uses the more compact style like:
      
       * libvirt-qemu.h: Interfaces specific for QEMU/KVM driver
       *
       * Copyright (C) 2010, 2012 Red Hat, Inc.
      a4bcefbc
  17. 23 9月, 2010 1 次提交
  18. 10 3月, 2010 1 次提交
  19. 21 9月, 2009 1 次提交
    • D
      Move all shared utility files to src/util/ · 1355e055
      Daniel P. Berrange 提交于
      * src/bridge.c, src/bridge.h, src/buf.c, src/buf.h, src/cgroup.c,
        src/cgroup.h, src/conf.c, src/conf.h, src/event.c, src/event.h,
        src/hash.c, src/hash.h, src/hostusb.c, src/hostusb.h,
        src/iptables.c, src/iptables.h, src/logging.c, src/logging.h,
        src/memory.c, src/memory.h, src/pci.c, src/pci.h, src/qparams.c,
        src/qparams.h, src/stats_linux.c, src/stats_linux.h,
        src/threads-pthread.c, src/threads-pthread.h, src/threads-win32.c,
        src/threads-win32.h, src/threads.c, src/threads.h, src/util.c,
        src/util.h, src/uuid.c, src/uuid.h, src/virterror.c,
        src/virterror_internal.h, src/xml.c, src/xml.h: Move all files
        into src/util/
      * daemon/Makefile.am: Add -Isrc/util/ to build flags
      * src/Makefile.am: Add -Isrc/util/ to build flags and update for
        moved files
      * src/libvirt_private.syms: Export cgroup APIs since they're now
        in util rather than linking directly to drivers
      * src/xen/xs_internal.c: Disable bogus virEventRemoveHandle call
        when built under PROXY
      * proxy/Makefile.am: Update for changed file locations. Remove
        bogus build of event.c
      * tools/Makefile.am, tests/Makefile.am: Add -Isrc/util/ to build flags
      1355e055
  20. 22 6月, 2009 1 次提交
  21. 19 6月, 2009 1 次提交
    • D
      extend the configuration parser for VMX syntax · 144276aa
      Daniel Veillard 提交于
      * qemud/qemud.c src/conf.c src/conf.h src/qemu_conf.c src/xen_unified.c
        src/xm_internal.c tests/conftest.c tests/xmconfigtest.c: extend
        the configuration parser for VMX syntax, patch by Matthias Bolte
      Daniel
      144276aa
  22. 17 11月, 2008 1 次提交
  23. 21 8月, 2008 1 次提交
  24. 30 5月, 2008 1 次提交
  25. 11 4月, 2008 2 次提交
  26. 30 11月, 2007 1 次提交
    • J
      Detect heap allocation failure; factor out some duplication. · c3c80a18
      Jim Meyering 提交于
      * qemud/qemud.c (tls_port, tcp_port, mdns_name, tls_allowed_ip_list):
        (tls_allowed_dn_list): Remove "const", now that we free these.
        (unix_sock_rw_mask): Rename from unix_sock_rw_perms, so that
        the latter name can be used as a local string variable, so that the
        variable name matches the config attribute name.
        (unix_sock_ro_mask): Rename from unix_sock_ro_perms, likewise.
        (remoteCheckDN, remoteCheckAccess): Adapt to const removal.
        (qemudDispatchServer): Check for heap allocation failure.
        (remoteConfigGetStringList): New function, based on code from Dan Berrangé.
        (CHECK_TYPE): Remove macro.
        (checkType): New function.
        (GET_CONF_INT, GET_CONF_STR): New macros.
        (remoteReadConfigFile): Use new macros to avoid duplication and to
        check for allocation failure.
      * src/conf.h (virConfTypeName): New static inline function.
      c3c80a18
  27. 10 3月, 2007 1 次提交
  28. 16 11月, 2006 1 次提交
  29. 30 8月, 2006 1 次提交
    • D
      * TODO libvirt.spec.in: update · 3bbac7cd
      Daniel Veillard 提交于
      * configure.in include/libvirt/virterror.h src/Makefile.am
        src/conf.c src/conf.h src/virterror.c src/xen_internal.c:
        adding a subset of Xen config file parser, and serializer
      * tests/Makefile.am tests/conftest.c tests/test_conf.sh
        tests/confdata/Makefile.am tests/confdata/fc4.conf
        tests/confdata/fc4.out: adding test program for config in and out
      Daniel
      3bbac7cd