1. 02 2月, 2013 2 次提交
    • J
      virt: Improve DHCP RFC compatibility · ce807457
      Jiří Župka 提交于
      Client can suggest IP address which he wants to have.
      Autotest check if IP address is accessible, thanks to
      it there is no problem with changing of guest network.
      Additionally it helps with windows DHCP compatibility.
      Signed-off-by: NJiří Župka <jzupka@redhat.com>
      ce807457
    • L
      multi_disk: Fix incorrect params · ba876db6
      Lukáš Doktor 提交于
      * max_disk must not have any usbs, otherwise there are not enough
        slots in PCI
      * default image_boot = yes which generates in multi_disk test
        multiple disks with index = 1 and test failure. By forcing default
        value stg_image_boot = 'no' we can keep the default value (and index
        of image1) and let the other disk to have their own indexes.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      ba876db6
  2. 01 2月, 2013 1 次提交
  3. 31 1月, 2013 3 次提交
    • L
      qemu: unittests - Handle running on qemu upstream new testdevs · f2f9d584
      Lucas Meneghel Rodrigues 提交于
      The implementation of the devices needed for KVM unit
      testing changed a bit on qemu:
      
      1) There's no need for a testlog anymore (as kvm-unit-tests
         now writes to the standard serial port)
      2) Now there's a shared new device, called isa-debug-exit,
         that when written to, causes qemu to exit
      3) Due to the new behavior of the isa-debug-exit device,
         the new known good behavior for qemu at the end of the
         unit test is to return 1.
      
      Take that all into account, while still keeping backwards
      compatibility. Also, document how one can run the unittests
      with the new virt-tests runner both in the config file
      and the wiki.
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      f2f9d584
    • L
      qemu_vm: Update testdev option, add -isa-debug-exit option · 1608d6cd
      Lucas Meneghel Rodrigues 提交于
      For qemu upstream, in order to run the kvm-unit-tests suite,
      there are new test devices, that differ in syntax from the
      ones present in qemu-kvm:
      
      * pc-testdev
      * isa-debug-exit
      
      Add them both to the qemu VM class, and make things
      backwards compatible (ie, if an older qemu-kvm is being
      tested, it'll handle the correct syntaxes as well).
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      1608d6cd
    • L
      qemu_vm: Making qemu creation module honor cpu_model unconditionally · 3a7cf8d8
      Lucas Meneghel Rodrigues 提交于
      When we introduced qemu CPU model configuration, we opted
      for robustness, so we wouldn't add a cpu_model to the
      command line in case it was not showing on qemu -cpu help
      text. This is bad because:
      
      1) It was all done very silently
      2) This makes negative cpu model testing unfeasible
      
      So let's honor the setting, and print a error message,
      so people have a better idea of what's going on. In
      such cases, the bad param will be passed to qemu, it
      will fail and a VMCreateError will be thrown.
      
      CC: Igor Mammedov <imammedo@redhat.com>
      Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
      3a7cf8d8
  4. 30 1月, 2013 14 次提交
  5. 29 1月, 2013 6 次提交
  6. 26 1月, 2013 7 次提交
  7. 25 1月, 2013 7 次提交