1. 29 4月, 2008 1 次提交
  2. 28 4月, 2008 2 次提交
  3. 26 4月, 2008 2 次提交
  4. 25 4月, 2008 1 次提交
    • J
      avoid problems with sign-extended "char" operand to is* functions · 225ba3f0
      Jim Meyering 提交于
      * src/util.h (to_uchar): Define function.
      * src/nodeinfo.c (linuxNodeInfoCPUPopulate): Apply to_uchar to is* operand.
      * src/qemu_driver.c (qemudExtractMonitorPath): Likewise.
      * src/sexpr.c (_string2sexpr): Likewise.
      * src/stats_linux.c (xenLinuxDomainDeviceID): Likewise.
      * src/util.c (TOLOWER, __virMacAddrCompare, virParseMacAddr): Likewise.
      * src/virsh.c (cmdVcpupin, vshCommandGetToken): Likewise.
      225ba3f0
  5. 18 4月, 2008 2 次提交
    • J
      avoid compile error when <pthread.h> is absent · 2d206f1d
      Jim Meyering 提交于
      * src/internal.h (HAVE_PTHREAD_H): Test with "#ifdef", not "#if".
      2d206f1d
    • R
      Fixes for MinGW. · 8df91acf
      Richard W.M. Jones 提交于
      	* configure.in: Fix pkg-config detection of libxml2,
      	  add -lgcrypt to gnutls lib.
      	* src/Makefile.am: If compiling --without-libvirtd then
      	  don't compile any part of the storage driver.
      	* configure.in, src/hash.c, src/internal.h: Detect availability
      	  of pthread library and compile out mutex code if not available.
      	* src/storage_driver.c, src/util.c: Ignore some missing
      	  headers on MinGW.
      8df91acf
  6. 11 4月, 2008 3 次提交
  7. 10 4月, 2008 2 次提交
  8. 09 4月, 2008 2 次提交
  9. 08 4月, 2008 3 次提交
  10. 04 4月, 2008 4 次提交
  11. 03 4月, 2008 1 次提交
  12. 01 4月, 2008 1 次提交
  13. 31 3月, 2008 2 次提交
    • D
      remove dandling domain/net/conn pointers from error data · c7d7aa1c
      Daniel Veillard 提交于
      * src/hash.c src/internal.h src/virterror.c: remove dandling
        domain/net/conn pointers from error data when released.
      * src/lxc_driver.c: fix a NULL/0 return error mismatch
      Daniel
      c7d7aa1c
    • D
      linux countainers cleanup patches · 497f2520
      Daniel Veillard 提交于
      * src/lxc_conf.c src/lxc_conf.h: cleanup patch for the conf driver
        of linux countainers, reuse XPath helpers, make string fields dynamic
        and remove a memory leak.
      * src/lxc_driver.c: avoid some problems when the config directory is
        not accessible and for regression tests
      Daniel
      497f2520
  14. 29 3月, 2008 2 次提交
  15. 28 3月, 2008 1 次提交
  16. 27 3月, 2008 11 次提交
    • J
      lxcError: mark a string and add to the list of nearly-checked functions · c5adab52
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add, but commented-out.
      * src/lxc_conf.c (lxcParseXML): Mark a diagnostic for translation.
      c5adab52
    • J
      testError: mark most string arguments for translation · 76a70984
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add testError
      * src/test.c (testDomainSave, testDomainRestore): Mark strings.
      (testDomainCoreDump): Likewise.
      76a70984
    • J
      openvzLog: mark its string arguments for translation · 7f863926
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add openvzLog.
      * src/openvz_conf.c (openvzAssignVMDef, openvzParseXML): Mark strings.
      * src/openvz_driver.c (openvzDomainShutdown, openvzDomainReboot):
      (openvzDomainDefineXML, openvzDomainCreateLinux):
      (openvzDomainCreate, openvzDomainUndefine): Likewise.
      7f863926
    • J
      error: mark most string arguments for translation · 5bb81e1d
      Jim Meyering 提交于
      Also mark some arguments to __virRaiseError.
      * Makefile.maint (msg_gen_function): Add error.
      * po/POTFILES.in: Add src/openvz_conf.c and src/openvz_driver.c.
      * src/openvz_conf.c (openvzParseXML, openvzGetVPSInfo): Mark strings.
      * src/openvz_driver.c (openvzDomainLookupByID): Likewise.
      (openvzDomainLookupByUUID, openvzDomainLookupByName): Likewise.
      (openvzDomainGetInfo, openvzDomainShutdown, openvzDomainReboot)
      (openvzDomainCreate, openvzDomainUndefine): Likewise.
      * src/remote_internal.c (check_cert_file): Likewise.
      (negotiate_gnutls_on_connection, verify_certificate): Likewise.
      (remoteAuthenticate, addrToString, remoteAuthSASL): Likewise.
      (remoteAuthPolkit, call, really_read_buf): Likewise.
      5bb81e1d
    • J
      Convert diagnostics like "VAR > MAX_VAR" to translatable messages. · f1eed04b
      Jim Meyering 提交于
      * src/remote_internal.c (errorf): New function.
      (remoteListDomains, remoteDomainPinVcpu, remoteDomainGetVcpus):
      (remoteListDefinedDomains, remoteListNetworks):
      (remoteListDefinedNetworks): Convert strings to be translatable,
      and also to include offending and maximum values.  Use errorf.
      f1eed04b
    • J
      qemudReportError: mark for translation string args to this function · b53c4e51
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add qemudReportError.
      * src/qemu_conf.c (qemudLoadDriverConfig)
      (qemudExtractVersion, qemudParseDiskXML, qemudParseInterfaceXML)
      (qemudParseInputXML, qemudParseXML, qemudNetworkIfaceConnect)
      (qemudBuildCommandLine, qemudSaveConfig, qemudParseVMDeviceDef)
      (qemudAssignVMDef, qemudSaveVMDef, qemudSaveNetworkConfig)
      (qemudParseDhcpRangesXML, qemudParseNetworkXML)
      (qemudAssignNetworkDef, qemudSaveNetworkDef, qemudGenerateXML)
      (qemudGenerateNetworkXML, qemudDeleteConfig): Mark strings.
      * src/qemu_driver.c (qemudBuildDnsmasqArgv, qemudAddIptablesRules)
      (qemudGetCapabilities, qemudDomainGetOSType)
      (qemudListDefinedDomains, qemudListNetworks)
      (qemudListDefinedNetworks, qemudNetworkGetBridgeName): Mark strings.
      b53c4e51
    • J
      ReportError: mark for translation string args to this function · 3163224b
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add ReportError.
      * src/util.c (_virExec): Mark strings.
      3163224b
    • J
      xenXMError: mark for translation string args to this function · 56a3cb80
      Jim Meyering 提交于
      * Makefile.maint (msg_gen_function): Add xenXMError.
      * src/xm_internal.c (xenXMParseXMLToConfig, xenXMDomainDefineXML):
      (xenXMDomainAttachDevice, xenXMDomainDetachDevice): Mark strings.
      56a3cb80
    • J
      Mark many more strings for translation. · 513bd04c
      Jim Meyering 提交于
      * Makefile.maint (err_func_re): Add to the list and make it readable.
      * po/POTFILES.in: Add src/util.c and src/xm_internal.c, and sort.
      * src/storage_backend.c: Fix comment.
      * src/util.c (virFileLinkPointsTo): Mark a string.
      * qemud/remote.c (remoteDispatchClientRequest): Mark strings.
      (remoteDispatchOpen, CHECK_CONN, remoteDispatchGetType): Likewise.
      (remoteDispatchDomainGetSchedulerType): Likewise.
      (remoteDispatchDomainGetSchedulerParameters): Likewise.
      (remoteDispatchDomainSetSchedulerParameters): Likewise.
      (remoteDispatchDomainBlockStats): Likewise.
      (remoteDispatchDomainInterfaceStats): Likewise.
      (remoteDispatchDomainAttachDevice, remoteDispatchDomainCreate):
      (remoteDispatchDomainDestroy, remoteDispatchDomainDetachDevice):
      (remoteDispatchDomainDumpXml, remoteDispatchDomainGetAutostart):
      (remoteDispatchDomainGetInfo, remoteDispatchDomainGetMaxMemory):
      (remoteDispatchDomainGetMaxVcpus, remoteDispatchDomainGetOsType):
      (remoteDispatchDomainGetVcpus): Likewise.
      (remoteDispatchDomainMigratePerform): Likewise.
      (remoteDispatchListDefinedDomains, remoteDispatchDomainPinVcpu):
      (remoteDispatchDomainReboot, remoteDispatchDomainResume):
      (remoteDispatchDomainSave, remoteDispatchDomainCoreDump):
      (remoteDispatchDomainSetAutostart): Likewise.
      (remoteDispatchDomainSetMaxMemory, remoteDispatchDomainSetMemory):
      (remoteDispatchDomainSetVcpus, remoteDispatchDomainShutdown):
      (remoteDispatchDomainSuspend, remoteDispatchDomainUndefine):
      (remoteDispatchListDefinedNetworks, remoteDispatchListDomains):
      (remoteDispatchListNetworks, remoteDispatchNetworkCreate):
      (remoteDispatchNetworkDestroy, remoteDispatchNetworkDumpXml):
      (remoteDispatchNetworkGetAutostart, remoteDispatchNetworkGetBridgeName):
      (remoteDispatchNetworkSetAutostart, remoteDispatchNetworkUndefine):
      (addrToString, remoteDispatchAuthSaslInit, remoteDispatchAuthSaslStart):
      (remoteDispatchAuthSaslStep, remoteDispatchListDefinedStoragePools):
      (remoteDispatchListStoragePools, remoteDispatchStoragePoolCreate):
      (remoteDispatchStoragePoolBuild, remoteDispatchStoragePoolDestroy):
      (remoteDispatchStoragePoolDelete, remoteDispatchStoragePoolRefresh):
      (remoteDispatchStoragePoolGetInfo, remoteDispatchStoragePoolDumpXml):
      (remoteDispatchStoragePoolGetAutostart): Likewise.
      (remoteDispatchStoragePoolSetAutostart):
      (remoteDispatchStoragePoolListVolumes):
      (remoteDispatchStoragePoolNumOfVolumes):
      (remoteDispatchStoragePoolUndefine, remoteDispatchStorageVolCreateXml):
      (remoteDispatchStorageVolDelete, remoteDispatchStorageVolGetInfo):
      (remoteDispatchStorageVolDumpXml, remoteDispatchStorageVolGetPath):
      (remoteDispatchStorageVolLookupByName): Likewise.
      * src/qemu_driver.c (qemudOpenMonitor, qemudStartVMDaemon):
      (dhcpStartDhcpDaemon, qemudStartNetworkDaemon):
      (qemudDomainSuspend, qemudDomainResume, qemudDomainShutdown):
      (qemudDomainGetOSType, qemudDomainSetMaxMemory):
      (qemudDomainSetMemory, qemudDomainGetInfo, qemudDomainSave):
      (qemudDomainRestore, qemudDomainDumpXML, qemudDomainStart):
      (qemudDomainUndefine, qemudDomainChangeCDROM):
      (qemudDomainAttachDevice, qemudDomainGetAutostart):
      (qemudDomainSetAutostart, qemudDomainInterfaceStats):
      (qemudNetworkLookupByUUID, qemudNetworkLookupByName):
      (qemudNetworkUndefine, qemudNetworkStart, qemudNetworkDestroy):
      (qemudNetworkDumpXML, qemudNetworkGetAutostart):
      (qemudNetworkSetAutostart): Likewise.
      * src/virsh.c (cmdVcpupin, cmdAttachDevice, cmdDetachDevice): Likewise.
      * src/xm_internal.c (xenXMConfigCacheRefresh, xenXMDomainPinVcpu): Likewise.
      513bd04c
    • D
      Linux container fixes, move driver in the daemon. · 425cf2e7
      Daniel Veillard 提交于
      * src/lxc_conf.c src/lxc_conf.h src/lxc_driver.c src/remote_internal.c:
        applied patch from Dan Berrange to change the way the lxc driver
        works, migrating the support in the daemon, it also removes some
        compilation issues and teh way the configuration files are named.
      Daniel
      425cf2e7
    • D
      support of older versions of iscsiadm. · ae15bc72
      Daniel Veillard 提交于
      * src/storage_backend_iscsi.c: patch from Chris Lalancette to improve
        support with older versions of iscsiadm.
      Daniel
      ae15bc72