1. 04 2月, 2013 23 次提交
  2. 02 2月, 2013 3 次提交
  3. 01 2月, 2013 1 次提交
  4. 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
  5. 30 1月, 2013 10 次提交