1. 27 3月, 2017 1 次提交
  2. 30 11月, 2015 1 次提交
    • M
      conf: Split virDomainObjList into a separate file · 90f3c0d7
      Michal Privoznik 提交于
      Our domain_conf.* files are big enough. Not only they contain XML
      parsing code, but they served as a storage of all functions whose
      name is virDomain prefixed. This is just wrong as it gathers not
      related functions (and modules) into one big file which is then
      harder to maintain. Split virDomainObjList module into a separate
      file called virdomainobjlist.[ch].
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      90f3c0d7
  3. 15 9月, 2014 1 次提交
  4. 10 3月, 2014 1 次提交
  5. 05 4月, 2013 1 次提交
  6. 13 3月, 2013 1 次提交
    • P
      virCaps: conf: start splitting out irrelevat data · 27cf98e2
      Peter Krempa 提交于
      The virCaps structure gathered a ton of irrelevant data over time that.
      The original reason is that it was propagated to the XML parser
      functions.
      
      This patch aims to create a new data structure virDomainXMLConf that
      will contain immutable data that are used by the XML parser. This will
      allow two things we need:
      
      1) Get rid of the stuff from virCaps
      
      2) Allow us to add callbacks to check and add driver specific stuff
      after domain XML is parsed.
      
      This first attempt removes pointers to private data allocation functions
      to this new structure and update all callers and function that require
      them.
      27cf98e2
  7. 05 2月, 2013 1 次提交
  8. 21 12月, 2012 1 次提交
  9. 21 9月, 2012 1 次提交
  10. 23 7月, 2012 1 次提交
    • O
      Desert the FSF address in copyright · f9ce7dad
      Osier Yang 提交于
      Per the FSF address could be changed from time to time, and GNU
      recommends the following now: (http://www.gnu.org/licenses/gpl-howto.html)
      
        You should have received a copy of the GNU General Public License
        along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
      
      This patch removes the explicit FSF address, and uses above instead
      (of course, with inserting 'Lesser' before 'General').
      
      Except a bunch of files for security driver, all others are changed
      automatically, the copyright for securify files are not complete,
      that's why to do it manually:
      
        src/security/security_selinux.h
        src/security/security_driver.h
        src/security/security_selinux.c
        src/security/security_apparmor.h
        src/security/security_apparmor.c
        src/security/security_driver.c
      f9ce7dad
  11. 20 7月, 2012 1 次提交
  12. 01 6月, 2011 1 次提交
  13. 27 5月, 2011 1 次提交
  14. 17 4月, 2011 1 次提交
  15. 05 4月, 2011 1 次提交
    • M
      openvz: Remove several larger stack allocations · f0443765
      Matthias Bolte 提交于
      Replace openvz_readline with getline in several places to get rid of stack
      allocated buffers to hold lines.
      
      openvzReadConfigParam allocates memory for return values instead of
      expecting a preexisting buffer.
      f0443765
  16. 06 4月, 2010 1 次提交
  17. 10 3月, 2010 1 次提交
  18. 08 3月, 2010 1 次提交
    • E
      build: consistently use C99 varargs macros · 2e56fb2b
      Eric Blake 提交于
      Prior to this patch, there was an inconsistent mix between GNU and C99.
      
      For consistency, and potential portability to other compilers, stick
      with the C99 vararg macro syntax.
      
      * src/conf/cpu_conf.c (virCPUReportError): Use C99 rather than GNU
        vararg macro syntax.
      * src/conf/domain_conf.c (virDomainReportError): Likewise.
      * src/conf/domain_event.c (eventReportError): Likewise.
      * src/conf/interface_conf.c (virInterfaceReportError): Likewise.
      * src/conf/network_conf.c (virNetworkReportError): Likewise.
      * src/conf/node_device_conf.h (virNodeDeviceReportError): Likewise.
      * src/conf/secret_conf.h (virSecretReportError): Likewise.
      * src/conf/storage_conf.h (virStorageReportError): Likewise.
      * src/esx/esx_device_monitor.c (ESX_ERROR): Use C99 rather than
        GNU vararg macro syntax.
      * src/esx/esx_driver.c (ESX_ERROR): Likewise.
      * src/esx/esx_interface_driver.c (ESX_ERROR): Likewise.
      * src/esx/esx_network_driver.c (ESX_ERROR): Likewise.
      * src/esx/esx_secret_driver.c (ESX_ERROR): Likewise.
      * src/esx/esx_storage_driver.c (ESX_ERROR): Likewise.
      * src/esx/esx_util.c (ESX_ERROR): Likewise.
      * src/esx/esx_vi.c (ESX_VI_ERROR): Likewise.
      * src/esx/esx_vi_methods.c (ESX_VI_ERROR): Likewise.
      * src/esx/esx_vi_types.c (ESX_VI_ERROR): Likewise.
      * src/esx/esx_vmx.c (ESX_ERROR): Likewise.
      * src/util/hostusb.c (usbReportError): Use C99 rather than GNU
        vararg macro syntax.
      * src/util/json.c (virJSONError): Likewise.
      * src/util/macvtap.c (ReportError): Likewise.
      * src/util/pci.c (pciReportError): Likewise.
      * src/util/stats_linux.c (virStatsError): Likewise.
      * src/util/util.c (virUtilError): Likewise.
      * src/util/xml.c (virXMLError): Likewise.
      * src/xen/proxy_internal.c (virProxyError): Use C99 rather than
        GNU vararg macro syntax.
      * src/xen/sexpr.c (virSexprError): Likewise.
      * src/xen/xen_driver.c (xenUnifiedError): Likewise.
      * src/xen/xen_hypervisor.c (virXenError): Likewise.
      * src/xen/xen_inotify.c (virXenInotifyError): Likewise.
      * src/xen/xend_internal.c (virXendError): Likewise.
      * src/xen/xm_internal.c (xenXMError): Likewise.
      * src/xen/xs_internal.c (virXenStoreError): Likewise.
      * src/cpu/cpu.h (virCPUReportError): Use C99 rather than GNU
        vararg macro syntax.
      * src/datatypes.c (virLibConnError): Likewise.
      * src/interface/netcf_driver.c (interfaceReportError): Likewise.
      * src/libvirt.c (virLibStreamError): Likewise.
      * src/lxc/lxc_conf.h (lxcError): Likewise.
      * src/network/bridge_driver.c (networkReportError): Likewise.
      * src/nodeinfo.c (nodeReportError): Likewise.
      * src/opennebula/one_conf.h (oneError): Likewise.
      * src/openvz/openvz_conf.h (openvzError): Likewise.
      * src/phyp/phyp_driver.c (PHYP_ERROR): Likewise.
      * src/qemu/qemu_conf.h (qemuReportError): Likewise.
      * src/remote/remote_driver.c (errorf): Likewise.
      * src/security/security_driver.h (virSecurityReportError): Likewise.
      * src/test/test_driver.c (testError): Likewise.
      * src/uml/uml_conf.h (umlReportError): Likewise.
      * src/vbox/vbox_driver.c (vboxError): Likewise.
      * src/vbox/vbox_tmpl.c (vboxError): Likewise.
      2e56fb2b
  19. 19 2月, 2010 1 次提交
    • Y
      fix multiple veth problem for OpenVZ · ead3410f
      Yuji NISHIDA 提交于
      Fix multiple veth problem.
      NETIF setting was overwritten after first CT because any CT could not be
      found by name.
      * src/openvz/openvz_conf.c src/openvz/openvz_conf.h: add the
        openvzGetVEID lookup function
      * src/openvz/openvz_driver.c: use it in openvzDomainSetNetwork()
      ead3410f
  20. 21 9月, 2009 1 次提交
    • D
      Move OpenVZ driver to src/openvz/ · 229c5c9b
      Daniel P. Berrange 提交于
      * src/openvz_conf.c, src/openvz_conf.h, src/openvz_driver.c,
        src/openvz_driver.h: Move to src/openvz/
      * src/Makefile.am, src/libvirt.c: Adjust for changed paths
      229c5c9b
  21. 24 3月, 2009 1 次提交
  22. 23 1月, 2009 1 次提交
    • J
      maint: update list of error function names and adapt · 6278bb19
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Update list.
      Remove some now-unused names, add some new ones.
      * src/hash.c (virHashError): Remove unused definition.
      * src/openvz_conf.h (openvzLog): Likewise.
      * src/xen_unified.c: Mark newly-exposed diagnostics for translation.
      6278bb19
  23. 16 1月, 2009 1 次提交
  24. 05 12月, 2008 1 次提交
  25. 25 11月, 2008 1 次提交
  26. 13 11月, 2008 1 次提交
  27. 05 11月, 2008 1 次提交
  28. 24 10月, 2008 1 次提交
  29. 10 10月, 2008 1 次提交
  30. 09 10月, 2008 1 次提交
  31. 05 9月, 2008 1 次提交
  32. 05 8月, 2008 1 次提交
    • D
      saving UUID of new OpenVZ domains · 06367958
      Daniel Veillard 提交于
      * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: patch
        from Evgeniy Sokolov saving the UUID when creating or defining
        a domain.
      Daniel
      06367958
  33. 28 7月, 2008 1 次提交
    • D
      OpenVZ xml refactoring · 996933bb
      Daniel Veillard 提交于
      * src/domain_conf.[ch] src/openvz_conf.[ch] src/openvz_driver.c:
        patch from Evgeniy Sokolov doing the OpenVZ xml refactoring,
        still needs to be ported to the new XML parsing code but
        implements the new format.
      Daniel
      996933bb
  34. 10 7月, 2008 2 次提交
  35. 09 7月, 2008 1 次提交
    • D
      diagnostic fixes on OpenVZ failures · db9bcc9b
      Daniel Veillard 提交于
      * src/openvz_conf.c src/openvz_conf.h src/openvz_driver.c: applied
      patch from Evgeniy Sokolov fixing error diagnostic when exec'ing
      OpenVZ commands.
      Daniel
      db9bcc9b
  36. 06 2月, 2008 1 次提交
  37. 04 9月, 2007 1 次提交
  38. 03 9月, 2007 1 次提交
  39. 10 8月, 2007 1 次提交