1. 29 10月, 2008 3 次提交
    • J
      adapt to API change in gnulib · cabb75c5
      Jim Meyering 提交于
      * qemud/qemud.c: Include <netdb.h>, not "getaddrinfo.h"
      * src/remote_internal.c: Likewise.
      cabb75c5
    • J
      9801d7c5
    • J
      use ARRAY_CARDINALITY more · 05589b72
      Jim Meyering 提交于
      * tests/nodeinfotest.c: Include "util.h".
      * src/xen_internal.c: Likewise.
      * src/qemu_conf.c (qemudCapsInit): Use ARRAY_CARDINALITY.
      * src/storage_backend.c (virStorageBackendForType): Likewise.
      * src/storage_backend_fs.c (virStorageBackendProbeFile): Likewise.
      * src/xen_internal.c (xenHypervisorMakeCapabilitiesInternal): Likewise.
      * src/xend_internal.c (xenDaemonParseSxpr): Likewise.
      * tests/nodeinfotest.c (mymain): Likewise.
      * tests/qparamtest.c (DO_TEST): Likewise.
      05589b72
  2. 24 10月, 2008 6 次提交
  3. 23 10月, 2008 4 次提交
    • C
      Brown paper bag bug. I didn't preserve the · c4027243
      Chris Lalancette 提交于
      <sources> tags properly, and I didn't put the <source> tag into the
      proper place, so I totally changed the output of the discovery XML.
      Fix this up to do the right thing.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      c4027243
    • 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
    • C
      An updated patch for adding <device> tags to logical · e3b792d6
      Chris Lalancette 提交于
      findPoolSources.  Given danpb's last feedback, I completely removed the XML
      parsing and did it all with structures.  The result should (hopefully) be a lot
      easier on the eyes, and is a little more generic.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      e3b792d6
    • C
      As suggested by danpb, to fix up the regression caused by last week's VIR_ENUM · c0c0fb8e
      Chris Lalancette 提交于
      cleanup patch, add a ".defaultFormat" member to .poolOptions.  In
      storage_conf.c, if virXPathString(/pool/source/format/@type) returns NULL, then
      set the pool type to .defaultFormat; otherwise, lookup the type via
      formatFromString.
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      c0c0fb8e
  4. 22 10月, 2008 4 次提交
  5. 21 10月, 2008 1 次提交
  6. 17 10月, 2008 5 次提交
  7. 16 10月, 2008 4 次提交
  8. 15 10月, 2008 1 次提交
  9. 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
  10. 13 10月, 2008 1 次提交
  11. 11 10月, 2008 4 次提交
    • 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
    • D
      Fix virRealloc bug for zero-size · 0c4a0484
      Daniel P. Berrange 提交于
      0c4a0484
    • D
      Support SDL config with QEMU guests · 7e0d3e62
      Daniel P. Berrange 提交于
      7e0d3e62
    • D
      427f7a8b
  12. 10 10月, 2008 6 次提交