1. 05 11月, 2008 1 次提交
  2. 04 11月, 2008 1 次提交
  3. 29 10月, 2008 3 次提交
    • J
      avoid many mingw-specific warnings · a6c7f474
      Jim Meyering 提交于
      * tests/virshtest.c (mymain): Use only one definition of this function.
      [WIN32]: Call exit(77) to skip the test.
      * tests/nodeinfotest.c: Likewise.
      a6c7f474
    • J
      cvsignore mingw build artifacts: *.exe · 57d54689
      Jim Meyering 提交于
      57d54689
    • 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
  4. 17 10月, 2008 1 次提交
    • J
      generate .gitignore files from .cvsignore ones · 164fbbd6
      Jim Meyering 提交于
      * Makefile.maint (sync-vcs-ignore-files): New target.
      Prompted by a patch from James Morris.
      http://thread.gmane.org/gmane.comp.emulators.libvirt/8619/focus=8773
      Add all (now-generated) .gitignore files.
      * .gitignore: New file.
      * build-aux/.gitignore: New file.
      * docs/.gitignore: New file.
      * docs/devhelp/.gitignore: New file.
      * docs/examples/.gitignore: New file.
      * docs/examples/python/.gitignore: New file.
      * gnulib/lib/.gitignore: New file.
      * gnulib/lib/arpa/.gitignore: New file.
      * gnulib/lib/netinet/.gitignore: New file.
      * gnulib/lib/sys/.gitignore: New file.
      * gnulib/tests/.gitignore: New file.
      * include/.gitignore: New file.
      * include/libvirt/.gitignore: New file.
      * po/.gitignore: New file.
      * proxy/.gitignore: New file.
      * python/.gitignore: New file.
      * python/tests/.gitignore: New file.
      * qemud/.gitignore: New file.
      * src/.gitignore: New file.
      * tests/.gitignore: New file.
      * tests/confdata/.gitignore: New file.
      * tests/sexpr2xmldata/.gitignore: New file.
      * tests/virshdata/.gitignore: New file.
      * tests/xencapsdata/.gitignore: New file.
      * tests/xmconfigdata/.gitignore: New file.
      * tests/xml2sexprdata/.gitignore: New file.
      164fbbd6
  5. 11 10月, 2008 3 次提交
    • 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
      Support SDL config with QEMU guests · 7e0d3e62
      Daniel P. Berrange 提交于
      7e0d3e62
    • D
      427f7a8b
  6. 07 10月, 2008 1 次提交
  7. 17 9月, 2008 1 次提交
  8. 09 9月, 2008 1 次提交
  9. 05 9月, 2008 2 次提交
  10. 03 9月, 2008 1 次提交
  11. 21 8月, 2008 1 次提交
  12. 15 8月, 2008 1 次提交
  13. 12 8月, 2008 1 次提交
  14. 11 8月, 2008 1 次提交
    • J
      tests: append a newline to expected-output files lacking NL-at-EOF · efb8492b
      Jim Meyering 提交于
      * tests/qemuxml2argvtest.c (testCompareXMLToArgvFiles): Adjust the
      code that creates "actual" output, so that it too produces a
      newline-terminated buffer.
      * tests/qemuxml2argvdata/*.args: Append a newline to each, via:
      for i in $(find|grep '\.args$'); do echo >> $i;done
      efb8492b
  15. 08 8月, 2008 4 次提交
    • D
      Fix const-correctness of virRUn and virExec · b3728d7d
      Daniel P. Berrange 提交于
      b3728d7d
    • D
      llow to add a disk as an USB device (QEmu/KVM) · 5ba37230
      Daniel Veillard 提交于
      * src/domain_conf.c src/domain_conf.h src/qemu_conf.c
        src/qemu_driver.c: patch from Guido Günther allowing to add
        disk as USB devices
      * docs/libvirt.rng: extend the schemas for the new value
      * tests/qemuxml2argvdata/qemuxml2argv-disk-usb.args
        tests/qemuxml2argvdata/qemuxml2argv-disk-usb.xml
        tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: add a specific
        test to the regression suite
      Daniel
      5ba37230
    • D
      Extend parser and add support for USB devices in QEmu/KVM · d1710d35
      Daniel Veillard 提交于
      * src/domain_conf.c src/domain_conf.h src/qemu_conf.c
        src/qemu_driver.c: Patch from Guido Günther allowing to pass
        usb devices to qemu/kvm
      * docs/libvirt.rng: add the new functionality to the grammar
      * tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.args
        tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-address.xml
        tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.args
        tests/qemuxml2argvdata/qemuxml2argv-hostdev-usb-product.xml
        tests/qemuxml2argvtest.c tests/qemuxml2xmltest.c: adding examples
        to the regression tests
      * libvirt.spec.in: fix the licence tag
      Daniel
      d1710d35
    • D
      * tests/domainschematest: patch from Guido Günther to fix RNG checking · f61ac900
      Daniel Veillard 提交于
        in out of tree builds.
      daniel
      f61ac900
  16. 06 8月, 2008 1 次提交
    • C
      Recently upstream Xen added support for having xvd devices > 16. For the most · 8c300028
      Chris Lalancette 提交于
      part, this doesn't really concern libvirt, since for things like attach and
      detach we just pass it through and let xend worry about whether it is supported
      or not.  The one place this breaks down is in the stats collecting code, where
      we need to figure out the device number so we can go digging in /sys for the
      statistics.
      
      To remedy this, I've re-written xenLinuxDomainDeviceID() to use regular
      expressions to figure out the device number from the name.  The major advantage
      is that now xenLinuxDomainDeviceID() looks fairly identical to
      tools/python/xen/util/blkif.py (in the Xen sources), so that adding additional
      devices in the future should be much easier.  It also reduces the size of the
      code, and, in my opinion, the code complexity.
      
      With this patch in place, I was able to get block statistics both on older style
      devices (/dev/xvda) and on the new, expanded devices (/dev/xvdaa).
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      8c300028
  17. 01 8月, 2008 2 次提交
  18. 29 7月, 2008 1 次提交
  19. 25 7月, 2008 5 次提交
  20. 23 7月, 2008 1 次提交
  21. 12 7月, 2008 3 次提交
  22. 11 7月, 2008 1 次提交
  23. 09 7月, 2008 3 次提交