1. 23 11月, 2010 1 次提交
  2. 20 10月, 2010 1 次提交
    • E
      vcpu: improve vcpu support in xen command line · 0fab10e5
      Eric Blake 提交于
      This patch series focuses on xendConfigVersion 2 (xm_internal) and 3
      (xend_internal), but leaves out changes for xenapi drivers.
      
      See this link for more details about vcpu_avail for xm usage.
      http://lists.xensource.com/archives/html/xen-devel/2009-11/msg01061.html
      
      This relies on the fact that def->maxvcpus can be at most 32 with xen.
      
      * src/xen/xend_internal.c (xenDaemonParseSxpr)
      (sexpr_to_xend_domain_info, xenDaemonFormatSxpr): Use vcpu_avail
      when current vcpus is less than maximum.
      * src/xen/xm_internal.c (xenXMDomainConfigParse)
      (xenXMDomainConfigFormat): Likewise.
      * tests/xml2sexprdata/xml2sexpr-pv-vcpus.sexpr: New file.
      * tests/sexpr2xmldata/sexpr2xml-pv-vcpus.sexpr: Likewise.
      * tests/sexpr2xmldata/sexpr2xml-pv-vcpus.xml: Likewise.
      * tests/xmconfigdata/test-paravirt-vcpu.cfg: Likewise.
      * tests/xmconfigdata/test-paravirt-vcpu.xml: Likewise.
      * tests/xml2sexprtest.c (mymain): New test.
      * tests/sexpr2xmltest.c (mymain): Likewise.
      * tests/xmconfigtest.c (mymain): Likewise.
      0fab10e5
  3. 19 10月, 2010 1 次提交
  4. 14 10月, 2010 1 次提交
  5. 13 10月, 2010 1 次提交
    • D
      Fix Xen SEXPR generation to properly quote strings containing () · 3a092f38
      Daniel P. Berrange 提交于
      * src/xen/sexpr.c: Ensure () are escaped in sexpr2string
      * tests/sexpr2xmldata/sexpr2xml-boot-grub.sexpr,
        tests/sexpr2xmldata/sexpr2xml-boot-grub.xml,
        tests/xml2sexprdata/xml2sexpr-boot-grub.sexpr,
        tests/xml2sexprdata/xml2sexpr-boot-grub.xml: Data files to
        check escaping
      * tests/sexpr2xmltest.c, tests/xml2sexprtest.c: Add boot-grub
        escaping test case
      3a092f38
  6. 31 8月, 2010 1 次提交
  7. 24 8月, 2010 2 次提交
    • J
      xml2sexprtest: Remove graphics from unrelated tests · e27277eb
      Jiri Denemark 提交于
      This caused unnecessary make check failures when libvirt is configured
      --with-rhel5-api
      e27277eb
    • J
      xen tests: Fix missing "type ioemu" with rhel5-api · 20311a9a
      Jiri Denemark 提交于
      The most common cause of errors with rhel5-api turn on was missing
      "(type ioemu)" in sexpr or its equivalent in XM configuration file. This
      happens because the presence of that part in sexpr (or cfg) depends on
      xen version the host is running. Let's avoid it by explicitly specifying
      interface model which ensures "type ioemu" will always be emitted.
      
      This patch adds
      
          <model type='e1000'/>
      
      withing the interface element in all affected xml files. And
      
          (model 'e1000')
      
      to all corresponding sexpr files with similar fix to cfg files. Such
      configuration works regardless on Xen version.
      20311a9a
  8. 15 6月, 2010 1 次提交
    • E
      maint: simplify some ignore files · fb8552f8
      Eric Blake 提交于
      * .hgignore: Delete, no longer used.
      * examples/python/.gitignore: Delete, covered globally.
      * include/.gitignore: Likewise.
      * python/tests/.gitignore: Likewise.
      * docs/schemas/.gitignore: Likewise.
      * tests/xml2sexprdata/.gitignore: Likewise.
      * tests/sexpr2xmldata/.gitignore: Likewise.
      * tests/confdata/.gitignore: Likewise.
      * tests/xencapsdata/.gitignore: Likewise.
      * tests/xmconfigdata/.gitignore: Likewise.
      * tests/xml2sexprdata/.gitignore: Likewise.
      fb8552f8
  9. 28 5月, 2010 1 次提交
  10. 23 3月, 2010 1 次提交
    • J
      tests: do not use the ":disk" suffix in sample xml input · 67904847
      Jim Meyering 提交于
      * tests/xml2sexprdata/xml2sexpr-curmem.xml: Remove ":disk" suffix from
      "<target dev=" value.
      * tests/xml2sexprdata/xml2sexpr-pv-localtime.xml: Likewise.
      * tests/xml2sexprdata/xml2sexpr-curmem.sexpr: Update expected output
      to match.
      * tests/xml2sexprdata/xml2sexpr-pv-localtime.sexpr: Likewise.
      67904847
  11. 25 2月, 2010 1 次提交
    • J
      build: avoid non-srcdir "make distcheck" failures (srcdir vs wildcard) · 083b901e
      Jim Meyering 提交于
      * tests/xencapsdata/Makefile.am: Use $(wildcard in $(srcdir)-aware manner
      * tests/xmconfigdata/Makefile.am: Likewise.
      * tests/xml2sexprdata/Makefile.am: Likewise.
      * tests/sexpr2xmldata/Makefile.am (EXTRA_DIST): Likewise.
      * Makefile.am (XML_EXAMPLES): Use $(wildcard in $(srcdir)-aware manner.
      083b901e
  12. 18 1月, 2010 1 次提交
    • D
      Remove restriction on duplicated sound devices in parser · 4359900e
      Daniel P. Berrange 提交于
      It is perfectly acceptable to have multiple sound devices of
      same type in guest configuration. If the underlying hypervisor
      does not like this, it is its job to complain, not the XML
      parser's
      
      * src/conf/domain_conf.c: Remove hack which deleted duplicated
        sound device models.
      * tests/xml2sexprdata/xml2sexpr-fv-sound.xml: Remove duplicate
        models
      4359900e
  13. 05 12月, 2009 1 次提交
  14. 02 9月, 2009 1 次提交
    • D
      Don't blindly reorder disk drives · 2d6adabd
      Daniel P. Berrange 提交于
      Calling qsort() on the disks array causes disk to be
      unneccessarily re-ordered, potentially breaking the
      ability to boot if the boot disk gets moved later in
      the list. The new algorithm will insert a new disk as
      far to the end of the list as possible, while being
      ordered correctly wrt other disks on the same bus.
      
      * src/domain_conf.c, src/domain_conf.h: Remove disk sorting
        routines. Add API to insert a disk into existing list at
        the optimal position, without resorting disks
      * src/libvirt_private.syms: Export virDomainDiskInsert
      * src/xend_internal.c, src/xm_internal.c: Remove calls to
        qsort, use virDomainDiskInsert instead.
      * src/qemu_driver.c: Remove calls to qsort, use virDoaminDiskInsert
        instead. Fix reordering bugs when hotunplugging disks and
        networks. Fix memory leak in disk/net unplug
      2d6adabd
  15. 16 7月, 2009 1 次提交
    • J
      remove all trailing blank lines · 07613d20
      Jim Meyering 提交于
      by running this command:
      git ls-files -z | xargs -0 perl -pi -0777 -e 's/\n\n+$/\n/'
      This is in preparation for a more strict make syntax-check
      rule that will detect trailing blank lines.
      07613d20
  16. 08 7月, 2009 1 次提交
  17. 03 4月, 2009 1 次提交
  18. 01 4月, 2009 1 次提交
  19. 23 1月, 2009 1 次提交
  20. 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
  21. 17 9月, 2008 1 次提交
  22. 09 9月, 2008 1 次提交
  23. 05 9月, 2008 1 次提交
  24. 03 9月, 2008 1 次提交
  25. 25 7月, 2008 1 次提交
  26. 07 5月, 2008 1 次提交
    • D
      More regression tests for sound support · 0feb4c95
      Daniel Veillard 提交于
      * tests/qemuxml2argvdata/qemuxml2argv-sound.args
        tests/qemuxml2argvdata/qemuxml2argv-sound.xml
        tests/sexpr2xmldata/sexpr2xml-fv-sound-all.sexpr
        tests/sexpr2xmldata/sexpr2xml-fv-sound-all.xml
        tests/sexpr2xmldata/sexpr2xml-fv-sound.sexpr
        tests/sexpr2xmldata/sexpr2xml-fv-sound.xml
        tests/xmconfigdata/test-fullvirt-sound.cfg
        tests/xmconfigdata/test-fullvirt-sound.xml
        tests/xml2sexprdata/xml2sexpr-fv-sound.sexpr
        tests/xml2sexprdata/xml2sexpr-fv-sound.xml: other regression
        tests from previous commit
      Daniel
      0feb4c95
  27. 30 4月, 2008 1 次提交
  28. 26 4月, 2008 1 次提交
  29. 06 2月, 2008 1 次提交
  30. 20 11月, 2007 1 次提交
    • D
      * tests/sexpr2xmltest.c tests/xml2sexprtest.c: warn before exiting · ef4006b3
      Daniel Veillard 提交于
        if the path environment variable is missing, add the tests for
        <shareable/> from/to w! ode for disk
      * tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.sexpr
        tests/sexpr2xmldata/sexpr2xml-disk-block-shareable.xml
        tests/xml2sexprdata/xml2sexpr-disk-block-shareable.sexpr
        tests/xml2sexprdata/xml2sexpr-disk-block-shareable.xml:
        the new tests data
      Daniel
      ef4006b3
  31. 19 7月, 2007 1 次提交
  32. 17 7月, 2007 1 次提交
  33. 07 6月, 2007 1 次提交
    • D
      * src/xend_internal.c src/xm_internal.c src/xml.c: add support · a80faa4b
      Daniel Veillard 提交于
        for arguments to bootloader, patch from Hugh Brock
      * tests/sexpr2xmltest.c tests/xml2sexprtest.c
        tests/sexpr2xmldata/sexpr2xml-pv-bootloader.sexpr
        tests/sexpr2xmldata/sexpr2xml-pv-bootloader.xml
        tests/xml2sexprdata/xml2sexpr-pv-bootloader.sexpr
        tests/xml2sexprdata/xml2sexpr-pv-bootloader.xml: add specific
        regression tests
      Daniel
      a80faa4b
  34. 12 4月, 2007 1 次提交
    • D
      * src/xend_internal.c src/xml.c: applied patch from Nobuhiro Itou · 1ec25df2
      Daniel Veillard 提交于
        to handle CDRom devices with no device name
      * tests/sexpr2xmltest.c tests/xml2sexprtest.c
        tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.sexpr
        tests/sexpr2xmldata/sexpr2xml-no-source-cdrom.xml
        tests/xml2sexprdata/xml2sexpr-no-source-cdrom.sexpr
        tests/xml2sexprdata/xml2sexpr-no-source-cdrom.xml: added regression
        tests for this case based on Nobuhiro Itou test inputs.
      Daniel
      1ec25df2
  35. 07 3月, 2007 1 次提交
  36. 07 2月, 2007 1 次提交
  37. 13 12月, 2006 1 次提交
  38. 07 12月, 2006 1 次提交
  39. 15 11月, 2006 1 次提交