1. 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
  2. 10 7月, 2009 1 次提交
    • M
      Add the monitor type to the domain state XML · 05d377bd
      Mark McLoughlin 提交于
      There are no functional changes in this patch apart from adding the
      monitor type to the state XML.
      
      The patch mostly consists of switching to use virDomainChrDef every
      where to describe the monitor.
      
      * src/domain_conf.h: replace monitorpath with monitor_chr
      
      * src/domain_conf.c: handle parsing the monitor type and initializing
        monitor chr
      
      * src/qemu_conf.[ch]: make qemudBuildCommandLine take a
        virDomainChrDefPtr and use that to build the -monitor parameter
      
      * src/qemu_driver.c: split pty specific and common code from
        qemudOpenMonitor, have qemudStartVMDaemon() initialize monitor_chr
      
      * tests/qemuxml2argvtest.c: update for qemudBuildCommandLine() change
      05d377bd
  3. 08 7月, 2009 1 次提交
    • D
      Support <video> element for QEMU guests · ad6d5acb
      Daniel P. Berrange 提交于
      	* src/qemu_conf.c, src/qemu_conf.h: Use -vga or -std-vga
      	when starting guests if video card is present
      	* tests/qemuhelptest.c: Change to use constants instead
      	of hardcoded hex numbers, and add VGA support
      	* tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl-fullscreen.xml,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.args,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-sdl.xml,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.args,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-sasl.xml,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc-tls.xml,
      	tests/qemuxml2argvdata/qemuxml2argv-graphics-vnc.xml,
      	tests/qemuxml2argvdata/qemuxml2argv-input-xen.xml: Add <video>
      	element for testing graphics adapter
      	* tests/qemuxml2argvtest.c: Add QEMUD_CMD_FLAG_VGA flag
      	* tests/qemuxml2xmltest.c: Add missing graphics-vnc-sasl/tls tests
      ad6d5acb
  4. 07 7月, 2009 1 次提交
    • P
      Avoid raising an internal error · b0e48bfd
      Paolo Bonzini 提交于
      * src/qemu_conf.c: when connecting an interface if it reference
        an undefined network, then we used to raise an internal error.
      b0e48bfd
  5. 03 7月, 2009 1 次提交
  6. 30 6月, 2009 1 次提交
  7. 29 6月, 2009 1 次提交
  8. 19 6月, 2009 1 次提交
    • D
      extend the configuration parser for VMX syntax · 144276aa
      Daniel Veillard 提交于
      * qemud/qemud.c src/conf.c src/conf.h src/qemu_conf.c src/xen_unified.c
        src/xm_internal.c tests/conftest.c tests/xmconfigtest.c: extend
        the configuration parser for VMX syntax, patch by Matthias Bolte
      Daniel
      144276aa
  9. 16 6月, 2009 4 次提交
  10. 12 6月, 2009 1 次提交
  11. 11 6月, 2009 3 次提交
    • M
      Add qemu help string parsing tests · 1fbe229b
      Mark McLoughlin 提交于
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      1fbe229b
    • M
      Detect newer qemu-kvm versions · 04cbe687
      Mark McLoughlin 提交于
      The KVM version string can be one of the following:
      
        - qemu-kvm-x.y.z in stable releases
        - kvm-XX for kvm versions up to kvm-85
        - qemu-kvm-devel-XX for kvm version kvm-86 and later
      
      There are only a few of places where we need to detect
      differences between KVM versions based on 0.9.1:
      
        1) VNET_HDR introduced in kvm-74
      
        2) -incoming tcp introduced in kvm-79
      
        3) -incoming exec introduced in kvm-80
      
        4) -incoming stdio in all earlier kvm versions
      
      With qemu-kvm-0.10.x, we can now assume that (1) is available
      if it's a KVM release, (2) and (3) is always available and
      (4) is never available.
      
      So, from now on we should only need to check the qemu version
      number and the "is_kvm" flag for detecting feature availability.
      We only need the KVM version number for older releases.
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      04cbe687
    • M
      Re-factor qemu version parsing · 56ecebf2
      Mark McLoughlin 提交于
      This patch is purely re-factoring without any functional changes
      to make way for the next patch.
      
      The main thing achieved by the refactoring is that we now have
      easier access to the parenthesised string that KVM folks seem
      to delight in changing.
      Signed-off-by: NMark McLoughlin <markmc@redhat.com>
      56ecebf2
  12. 03 6月, 2009 1 次提交
  13. 29 5月, 2009 1 次提交
    • D
      PPC Qemu Machine Type update · 525c3d40
      Daniel Veillard 提交于
      * src/qemu_conf.c docs/schemas/domain.rng
        tests/capabilityschemadata/caps-qemu-kvm.xml: PPC Qemu Machine Type
        changed from g3bw to g3beige some time ago, patch by Thomas Baker
      Daniel
      525c3d40
  14. 28 5月, 2009 2 次提交
  15. 21 5月, 2009 2 次提交
  16. 18 5月, 2009 1 次提交
  17. 11 5月, 2009 2 次提交
  18. 08 5月, 2009 1 次提交
  19. 07 5月, 2009 1 次提交
    • D
      Changes needed for multiple graphics adapters · 7ee54d83
      Daniel Veillard 提交于
      * src/domain_conf.c src/domain_conf.h: parse and save multiple
        graphics elements instead of one, patch by Pritesh Kothari
      * src/qemu_conf.c src/qemu_driver.c: adapt the qemu/kvm driver for
        the new structures, patch by Pritesh Kothari
      * src/xend_internal.c src/xm_internal.c: same thing for Xen drivers
      Daniel
      7ee54d83
  20. 19 4月, 2009 1 次提交
  21. 16 4月, 2009 1 次提交
  22. 01 4月, 2009 1 次提交
  23. 27 3月, 2009 1 次提交
  24. 20 3月, 2009 1 次提交
  25. 16 3月, 2009 1 次提交
  26. 03 3月, 2009 6 次提交
  27. 06 2月, 2009 1 次提交
    • J
      remove remainder of offending strerror uses · bafd7389
      Jim Meyering 提交于
      * qemud/qemud.c (GET_CONF_STR): Use virStrerror, not strerror.
      * qemud/remote.c (remoteDispatchDomainBlockPeek): Likewise.
      (remoteDispatchDomainMemoryPeek, remoteDispatchAuthSaslInit): Likewise.
      (remoteDispatchAuthPolkit): Likewise.
      * src/lxc_container.c (lxcContainerAvailable): Likewise.
      * src/network_driver.c (networkStartNetworkDaemon): Likewise.
      (networkShutdownNetworkDaemon): Likewise.
      * src/qemu_conf.c (qemudExtractVersion, qemudNetworkIfaceConnect):
      * src/storage_conf.c (virStoragePoolLoadAllConfigs): Likewise.
      * src/storage_driver.c (storagePoolUndefine): Likewise.
      * src/uml_driver.c (umlStartup, umlStartVMDaemon): Likewise.
      * src/util.c (virFileReadAll): Likewise.
      * src/uuid.c (virUUIDGenerate): Likewise.
      * src/xen_internal.c (get_cpu_flags): Likewise.
      bafd7389