1. 09 5月, 2013 1 次提交
  2. 19 12月, 2012 1 次提交
  3. 21 9月, 2012 1 次提交
  4. 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
  5. 25 2月, 2012 1 次提交
    • M
      Fixed URI parsing · 9f748277
      Martin Kletzander 提交于
      Function xmlParseURI does not remove square brackets around IPv6
      address when parsing. One of the solutions is making wrappers around
      functions working with xmlURI*. This assures that uri->server will be
      always properly assigned and it doesn't have to be changed when used
      on some new place in the code.
      For this purpose, functions virParseURI and virSaveURI were
      added. These function are wrappers around xmlParseURI and xmlSaveUri
      respectively.
      Also there is one new syntax check function to prohibit these functions
      anywhere else.
      
      File changes:
       - src/util/viruri.h        -- declaration
       - src/util/viruri.c        -- definition
       - src/libvirt_private.syms -- symbol export
       - src/Makefile.am          -- added source and header files
       - cfg.mk                   -- added sc_prohibit_xmlURI
       - all others               -- ID name and include fixes
      9f748277
  6. 14 10月, 2011 2 次提交
    • P
      Xen: Fake versions in xencapstest · 435b9d99
      Philipp Hahn 提交于
      virInitialize() → xenRegister() → xenhypervisorInit() determines the
      version of the Hypervisor. This breaks xencapstest when building as root
      on a dom0 system, since xenHypervisorBuildCapabilities() adds the "hap"
      and "viridian" features based on the detected version.
      
      Add an optional parameter to xenhypervisorInit() to disable automatic
      detection of the Hypervisor version. The passed in arguments are used
      instead.
      Signed-off-by: NPhilipp Hahn <hahn@univention.de>
      435b9d99
    • P
      Xen: move versions to struct · 618758c9
      Philipp Hahn 提交于
      Calling virInitialize() → xenRegister() → xenhypervisorInit() directly
      opens a connection to the Xen Hypervisor, which breaks some unit tests.
      
      Move all static variables into a struct to make it easier to override
      them when testing.
      Signed-off-by: NPhilipp Hahn <hahn@univention.de>
      618758c9
  7. 22 7月, 2011 1 次提交
  8. 08 7月, 2011 1 次提交
    • E
      drivers: prefer unsigned int for flags · 1740c381
      Eric Blake 提交于
      Now that the public APIs always use unsigned flags, the internal
      driver callbacks might as well do likewise.
      
      * src/driver.h (vrDrvOpen, virDrvDomainCoreDump)
      (virDrvDomainGetXMLDesc, virDrvNetworkGetXMLDesc)
      (virDrvNWFilterGetXMLDesc): Update type.
      * src/remote/remote_protocol.x (remote_open_args)
      (remote_domain_core_dump_args, remote_domain_get_xml_desc_args)
      (remote_network_get_xml_desc_args)
      (remote_nwfilter_get_xml_desc_args): Likewise.
      * src/test/test_driver.c: Update clients.
      * src/remote/remote_driver.c: Likewise.
      * src/xen/xen_hypervisor.c: Likewise.
      * src/xen/xen_hypervisor.h: Likewise.
      * src/xen/xen_driver.c: Likewise.
      * src/xen/xend_internal.c: Likewise.
      * src/xen/xend_internal.h: Likewise.
      * src/xen/xm_internal.c: Likewise.
      * src/xen/xm_internal.h: Likewise.
      * src/xen/xs_internal.c: Likewise.
      * src/xen/xs_internal.h: Likewise.
      * src/xen/xen_inotify.c: Likewise.
      * src/xen/xen_inotify.h: Likewise.
      * src/phyp/phyp_driver.c: Likewise.
      * src/openvz/openvz_driver.c: Likewise.
      * src/vmware/vmware_driver.c: Likewise.
      * src/vbox/vbox_driver.c: Likewise.
      * src/vbox/vbox_tmpl.c: Likewise.
      * src/xenapi/xenapi_driver.c: Likewise.
      * src/esx/esx_driver.c: Likewise.
      * src/esx/esx_interface_driver.c: Likewise.
      * src/esx/esx_network_driver.c: Likewise.
      * src/esx/esx_storage_driver.c: Likewise.
      * src/esx/esx_device_monitor.c: Likewise.
      * src/esx/esx_secret_driver.c: Likewise.
      * src/esx/esx_nwfilter_driver.c: Likewise.
      * src/interface/netcf_driver.c: Likewise.
      * src/nwfilter/nwfilter_driver.c: Likewise.
      * src/libxl/libxl_driver.c: Likewise.
      * src/qemu/qemu_driver.c: Likewise.
      * src/lxc/lxc_driver.c: Likewise.
      * src/uml/uml_driver.c: Likewise.
      * src/network/bridge_driver.c: Likewise.
      * src/secret/secret_driver.c: Likewise.
      * src/storage/storage_driver.c: Likewise.
      * src/node_device/node_device_hal.c: Likewise.
      * src/node_device/node_device_udev.c: Likewise.
      * src/remote_protocol-structs: Likewise.
      1740c381
  9. 29 5月, 2011 1 次提交
    • E
      maint: prefer newer API names internally · 163e5f04
      Eric Blake 提交于
      Rather mechanical in nature.
      
      * src/driver.h: Use newer virTypedParameter API names.
      * src/libvirt.c: Likewise.
      * daemon/remote.c: Likewise.
      * src/esx/esx_driver.c: Likewise.
      * src/libxl/libxl_driver.c: Likewise.
      * src/lxc/lxc_driver.c: Likewise.
      * src/qemu/qemu_driver.c: Likewise.
      * src/remote/remote_driver.c: Likewise.
      * src/test/test_driver.c: Likewise.
      * src/xen/xen_driver.c: Likewise.
      * src/xen/xen_hypervisor.c: Likewise.
      * src/xen/xen_hypervisor.h: Likewise.
      * src/xen/xend_internal.c: Likewise.
      * tools/virsh.c: Likewise.
      163e5f04
  10. 16 5月, 2011 1 次提交
  11. 09 11月, 2010 1 次提交
  12. 10 3月, 2010 1 次提交
  13. 03 2月, 2010 1 次提交
  14. 12 11月, 2009 1 次提交
    • D
      Filter out stale domains from xenstore listing · 7c34bb26
      Daniel P. Berrange 提交于
      The xenstore database sometimes has stale domain IDs which are not
      present in the hypervisor anymore. Filter these out to avoid causing
      confusion
      
      * src/xen/xs_internal.c: Filter domain IDs against HV's list
      * src/xen/xen_hypervisor.h, src/xen/xen_hypervisor.c: Add new
        xenHypervisorHasDomain() method for checking ID validity
      7c34bb26
  15. 21 9月, 2009 1 次提交
    • 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
  16. 23 1月, 2009 1 次提交
  17. 22 12月, 2008 1 次提交
  18. 18 12月, 2008 1 次提交
  19. 17 11月, 2008 1 次提交
  20. 05 11月, 2008 1 次提交
  21. 05 9月, 2008 1 次提交
  22. 21 8月, 2008 1 次提交
  23. 25 7月, 2008 1 次提交
  24. 11 4月, 2008 1 次提交
  25. 06 12月, 2007 1 次提交
  26. 14 11月, 2007 1 次提交
  27. 28 9月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h[.in] src/driver.h src/openvz_driver.c · 4bf3bc9e
      Daniel Veillard 提交于
        src/qemu_driver.c src/remote_internal.c src/test.c
        src/xen_internal.[ch] src/xen_unified.c src/xend_internal.[ch]
        src/libvirt.c src/libvirt_sym.version: adding NUMA support patches
        from Beth Kon adding new virNodeGetCellsFreeMemory entry point
        and extending the virConnectGetCapabilities one. Fix a couple of
        issues in the patch and add to exported symbols from shared lib.
      * docs/virsh.pod docs/virsh.1 src/virsh.c: added new command
        freecell to get the available memory on the node or in a NUMA cell.
      * docs/*: updated and regenerated the documentation
      Daniel
      4bf3bc9e
  28. 21 8月, 2007 1 次提交
    • R
      Tue Aug 21 10:58:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 442a1577
      Richard W.M. Jones 提交于
      	* src/libvirt.c (virDomainBlockStats, virDomainInterfaceStats):
      	  Added block device and network interface statistics.
      	* src/xen_internal.c: Support for stats from Xen domains.
      	* qemud/remote.c, qemud/remote_protocol.x, qemud/remote_internal.c:
      	  Support for fetching device and network interface stats
      	  across remote connections.
      	* src/virsh.c: Added 'virsh domblkstat' and 'virsh domifstat'
      	  commands to display stats.
      	* docs/libvir.html, docs/hvsupport.html: Updated hvsupport
      	  documentation.
      442a1577
  29. 11 8月, 2007 1 次提交
  30. 06 7月, 2007 1 次提交
    • R
      Fri Jul 6 16:08:00 BST 2007 Richard W.M. Jones <rjones@redhat.com> · 4ea0ef79
      Richard W.M. Jones 提交于
      	* src/proxy_internal.c, src/proxy_internal.h,
      	  src.xen_internal.c, src/xen_internal.h,
      	  src/xen_unified.c, src/xen_unified.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: The interface
      	  between xen_unified.c and its underlying driver now uses
      	  a custom structure (struct xenUnifiedDriver) instead
      	  of reusing virDriver.
      	* src/xen_unified.c: virDomainLookup* functions in Xen
      	  now throw VIR_ERR_NO_DOMAIN if the domain does not exist.
      	* src/xs_internal.c: Fix indentation.
      4ea0ef79
  31. 05 6月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in · 652f3bb1
      Daniel Veillard 提交于
        src/driver.h src/libvirt.c src/libvirt_sym.version
        src/proxy_internal.c src/qemu_internal.c src/test.c
        src/virsh.c src/xen_internal.c src/xen_internal.h src/xen_unified.c
        src/xend_internal.c src/xm_internal.c src/xs_internal.c:
        Applied patches from Atsushi SAKAI to add the scheduler API,
        with patch from Rich Jones for error handing, and a number
        of cleanups and more error checking from me
      Daniel
      652f3bb1
  32. 04 4月, 2007 1 次提交
  33. 27 3月, 2007 1 次提交
  34. 16 3月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h[.in] include/libvirt/virterror.h · 635ae389
      Daniel Veillard 提交于
        proxy/libvirt_proxy.c qemud/Makefile.am qemud/conf.c qemud/conf.h
        qemud/dispatch.c qemud/internal.h qemud/protocol.h
        src/driver.h src/internal.h src/libvirt.c src/libvirt_sym.version
        src/proxy_internal.c src/proxy_internal.h src/qemu_internal.c
        src/test.c src/virsh.c src/virterror.c src/xen_internal.c
        src/xen_internal.h src/xend_internal.c src/xm_internal.c
        src/xml.h src/xs_internal.c: applied patch from Richard Jones
        adding virConnectGetCapabilities(), plus various small little
        fixes
      * docs/*: fixed the api extractor script and regenerated
      Daniel
      635ae389
  35. 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
  36. 08 3月, 2007 1 次提交
    • D
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in · b412cfad
      Daniel Veillard 提交于
        src/driver.h src/libvirt.c src/libvirt_sym.version
        src/proxy_internal.c src/qemu_internal.c src/test.c src/virsh.c
        src/xen_internal.c src/xen_internal.h src/xend_internal.c
        src/xm_internal.c src/xs_internal.c: applied patch from
        Masayuki Sunou to add and entry point to check the maximum
        number of virtual CPU supported by a virtualization mechanism
      * doc/*.html doc/libvirt-*.xml: regenerated the interfaces descriptions
        and associated docs.
      Daniel
      b412cfad
  37. 04 8月, 2006 1 次提交
    • D
      * include/libvirt/libvirt.h include/libvirt/libvirt.h.in · 7a8a6338
      Daniel Veillard 提交于
        src/libvirt.c src/libvirt_sym.version src/xen_internal.c
        src/xen_internal.h src/xend_internal.c src/xend_internal.h:
        applied patch from Michel Ponceau and Philippe Berthault for
        virtual CPU and affinity support plus a bit of cleanup.
      Daniel
      7a8a6338
  38. 30 6月, 2006 2 次提交