1. 10 11月, 2015 1 次提交
    • D
      qemu: assume -drive argument is always available · f7861003
      Daniel P. Berrange 提交于
      As of QEMU 0.9.1 the -drive argument can be used to configure
      all disks, so the QEMU driver can assume it is always available
      and drop support for -hda/-cdrom/etc.
      
      Many of the tests need updating because a great many were
      running without CAPS_DRIVE set, so using the -hda legacy
      syntax.
      
      Fixing the tests uncovered a bug in the argv -> xml
      convertor which failed to handle disk with if=floppy.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      f7861003
  2. 09 11月, 2015 1 次提交
    • D
      tests: redo test argv file line wrapping · 8afd34f2
      Daniel P. Berrange 提交于
      Back in
      
        commit bd6c46fa
        Author: Juerg Haefliger <juerg.haefliger@hp.com>
        Date:   Mon Jan 31 06:42:57 2011 -0500
      
          tests: handle backspace-newline pairs in test input files
      
      all the test argv files were line wrapped so that the args
      were less than 80 characters.
      
      The way the line wrapping was done turns out to be quite
      undesirable, because it often leaves multiple parameters
      on the same line. If we later need to add or remove
      individual parameters, then it leaves us having to redo
      line wrapping.
      
      This commit changes the line wrapping so that every
      single "-param value" is one its own new line. If the
      "value" is still too long, then we break on ',' or ':'
      or ' ' as needed.
      
      This means that when we come to add / remove parameters
      from the test files line, the patch diffs will only
      ever show a single line added/removed which will greatly
      simplify review work.
      Signed-off-by: NDaniel P. Berrange <berrange@redhat.com>
      8afd34f2
  3. 25 11月, 2014 1 次提交