1. 17 3月, 2009 1 次提交
  2. 03 3月, 2009 2 次提交
  3. 14 2月, 2009 1 次提交
    • J
      test:///default driver: don't dereference NULL "def" · f98b9e05
      Jim Meyering 提交于
      * src/test.c (testNetworkCreate, testNetworkDefine): Since "def" is
      set to NULL immediately after any vir*AssignDef call (to indicate we
      no longer own it and to ensure no clean-up path mistakenly frees it),
      dereference via net->def->, not def->.
      f98b9e05
  4. 03 2月, 2009 1 次提交
    • J
      cleanup: remove useless if-before-VIR_FREE · c18ccff4
      Jim Meyering 提交于
      * Makefile.cfg (useless_free_options): Also check for VIR_FREE.
      * src/iptables.c (iptRulesFree): Remove useless if-before-VIR_FREE.
      * src/remote_internal.c (remoteAuthSASL): Likewise.
      * src/test.c (testOpenFromFile): Likewise.
      c18ccff4
  5. 21 1月, 2009 2 次提交
  6. 16 1月, 2009 1 次提交
  7. 08 1月, 2009 1 次提交
  8. 07 1月, 2009 2 次提交
  9. 18 12月, 2008 2 次提交
  10. 11 12月, 2008 1 次提交
  11. 08 12月, 2008 2 次提交
  12. 07 12月, 2008 1 次提交
  13. 05 12月, 2008 4 次提交
  14. 04 12月, 2008 1 次提交
  15. 02 12月, 2008 1 次提交
  16. 28 11月, 2008 1 次提交
  17. 17 11月, 2008 1 次提交
  18. 14 11月, 2008 1 次提交
    • D
      KVM/QEmu migration support · df285bdd
      Daniel Veillard 提交于
      * 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 src/driver.h src/libvirt.c
        src/libvirt_internal.h 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/test.c src/virsh.c: large patch to
        add migration support for KVM/QEmu, based on the work of Rich Jones
        and Chris Lalancette. This introduce a new version of the prepare
        and finish steps of the migration, so changes the driver API and
        a lot of code.
      Daniel
      df285bdd
  19. 05 11月, 2008 2 次提交
  20. 31 10月, 2008 1 次提交
  21. 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
  22. 14 10月, 2008 1 次提交
    • J
      avoid many format string warnings · fd52c6ff
      Jim Meyering 提交于
      Building with --disable-nls exposed many new warnings like these:
      virsh.c:4952: warning: format not a string literal and no format ...
      util.c:163: warning: format not a string literal and no format arguments
      All but one of the following changes add a "%s" argument before
      the offending _(...) argument.
      
      This was the only manual change:
      * src/lxc_driver.c (lxcVersion): Use %s and strerror(errno)
      rather than %m, to avoid a warning from gcc -Wformat-security.
      
      Add "%s" before each warned about format-string-with-no-%-directive:
      * src/domain_conf.c (virDomainHostdevSubsysUsbDefParseXML)
      (virDomainDefParseString, virDomainDefParseFile):
      * src/hash.c (virGetConnect, __virGetDomain, virReleaseDomain)
      (__virGetNetwork, virReleaseNetwork, __virGetStoragePool)
      (virReleaseStoragePool, __virGetStorageVol, virReleaseStorageVol):
      * src/lxc_container.c (lxcContainerChild):
      * src/lxc_driver.c (lxcDomainDefine, lxcDomainUndefine)
      (lxcDomainGetInfo, lxcGetOSType, lxcDomainDumpXML)
      (lxcSetupInterfaces, lxcDomainStart, lxcDomainCreateAndStart)
      (lxcVersion, lxcGetSchedulerParameters):
      * src/network_conf.c (virNetworkDefParseString)
      (virNetworkDefParseFile):
      * src/openvz_conf.c (openvzReadNetworkConf, openvzLoadDomains):
      * src/openvz_driver.c (openvzDomainDefineCmd)
      (openvzDomainGetInfo, openvzDomainDumpXML, openvzDomainShutdown)
      (openvzDomainReboot, ADD_ARG_LIT, openvzDomainDefineXML)
      (openvzDomainCreateXML, openvzDomainCreate, openvzDomainUndefine)
      (openvzDomainSetAutostart, openvzDomainGetAutostart)
      (openvzDomainSetVcpus):
      * src/qemu_driver.c (qemudDomainBlockPeek, qemudDomainMemoryPeek):
      * src/remote_internal.c (remoteDomainBlockPeek)
      (remoteDomainMemoryPeek, remoteAuthPolkit):
      * src/sexpr.c (sexpr_new, _string2sexpr):
      * src/storage_backend_disk.c (virStorageBackendDiskMakeDataVol)
      (virStorageBackendDiskCreateVol):
      * src/storage_backend_fs.c
      (virStorageBackendFileSystemNetFindPoolSources):
      * src/storage_backend_logical.c (virStorageBackendLogicalFindLVs)
      (virStorageBackendLogicalFindPoolSources):
      * src/test.c (testOpenDefault, testOpenFromFile, testOpen)
      (testGetDomainInfo, testDomainRestore)
      (testNodeGetCellsFreeMemory):
      * src/util.c (virExec):
      * src/virsh.c (cmdAttachDevice, cmdDetachDevice)
      (cmdAttachInterface, cmdDetachInterface, cmdAttachDisk)
      (cmdDetachDisk, cmdEdit):
      * src/xend_internal.c (do_connect, wr_sync, xend_op_ext)
      (urlencode, xenDaemonDomainCreateXML)
      (xenDaemonDomainLookupByName_ids, xenDaemonDomainLookupByID)
      (xenDaemonParseSxprOS, xend_parse_sexp_desc_char)
      (xenDaemonParseSxprChar, xenDaemonParseSxprDisks)
      (xenDaemonParseSxpr, sexpr_to_xend_topology, sexpr_to_domain)
      (xenDaemonDomainFetch, xenDaemonDomainGetAutostart)
      (xenDaemonDomainSetAutostart, xenDaemonDomainMigratePerform)
      (xenDaemonDomainDefineXML, xenDaemonGetSchedulerType)
      (xenDaemonGetSchedulerParameters)
      (xenDaemonSetSchedulerParameters, xenDaemonDomainBlockPeek)
      (xenDaemonFormatSxprChr, virDomainXMLDevID):
      * src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu)
      (xenXMDomainCreate, xenXMDomainDefineXML)
      (xenXMDomainAttachDevice, xenXMDomainDetachDevice):
      * src/xml.c (virXPathString, virXPathNumber, virXPathLong)
      (virXPathULong, virXPathBoolean, virXPathNode, virXPathNodeSet):
      * src/xs_internal.c (xenStoreOpen):
      fd52c6ff
  23. 11 10月, 2008 1 次提交
    • J
      testError format strings: explicitly include domain and network names · 6ac27467
      Jim Meyering 提交于
      This repairs the "make check" failure of tests/undefine.
      * src/test.c (testResumeDomain, testPauseDomain): Likewise.
      (testShutdownDomain, testGetDomainInfo, ): Likewise.
      (testSetMemory, testSetVcpus, testDomainCreate, testDomainUndefine)
      (testDomainGetSchedulerType, testDomainGetSchedulerParams): Likewise.
      (testDomainSetSchedulerParams, testNetworkUndefine): Likewise.
      (testNetworkStart, testNetworkGetBridgeName): Likewise.
      (testDomainCoreDump, testDomainSave): Likewise, and...
      Name the file upon failed open or write.
      Use strerror(errno) in diagnostics.
      * tests/undefine: Adjust expected output.
      
      test.c (testError): Remove now-ignored dom and net parameters.
      This is a sytnax-only change: removing the two unused parameters
      and updating all callers:
      * src/test.c (GET_DOMAIN, GET_NETWORK, testError)
      (testBuildCapabilities, testOpenDefault, testOpenFromFile)
      (testOpen, testGetHostname, testGetURI, testGetCapabilities)
      (testLookupDomainByID, testLookupDomainByUUID)
      (testLookupDomainByName, testResumeDomain, testPauseDomain)
      (testShutdownDomain, testGetDomainInfo, testDomainSave)
      (testDomainRestore, testDomainCoreDump, testGetOSType)
      (testSetMemory, testSetVcpus, testListDefinedDomains)
      (testNodeGetCellsFreeMemory, testDomainCreate)
      (testDomainUndefine, testDomainGetSchedulerType)
      (testDomainGetSchedulerParams, testDomainSetSchedulerParams)
      (testLookupNetworkByUUID, testLookupNetworkByName)
      (testListNetworks, testListDefinedNetworks, testNetworkUndefine)
      (testNetworkStart, testNetworkGetBridgeName): Update callers.
      6ac27467
  24. 10 10月, 2008 3 次提交
  25. 09 10月, 2008 1 次提交
  26. 21 8月, 2008 1 次提交
  27. 25 7月, 2008 3 次提交