1. 21 3月, 2014 1 次提交
  2. 07 1月, 2014 1 次提交
    • L
      qemu.tests.virtio_console: Force new params in vm.create() · 871ce1d1
      Lukáš Doktor 提交于
      This test started with "start_vm = no" and we are starting the VM
      manually. It's not guaranteed, that params were updated in preprocess
      so we need to make sure params were updated by calling create with
      new params.
      
      One example of incorrect params is when VM exists and is alive from
      previous test. In such case preprocess skips initialization (start_vm
      = no") and vm.create() destroys and recreates the VM from previous test.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      871ce1d1
  3. 19 12月, 2013 2 次提交
  4. 06 12月, 2013 1 次提交
    • L
      qemu.tests.virtio_console: Update test_hotplug_virtio_pci · 2cd3c539
      Lukáš Doktor 提交于
      Fix the problem with duplicated IDs caused by early device_del execution.
      Monitor returns no output but internally waits for OS ACPI respone. This
      message, in case kernel is not yet initialized, never occurs.
      
      This version resends the device_del in the first round until it succeeds,
      than it just waits until the device disappears.
      
      Additionally the test was rewritten to use qemu_devices to handle the
      hotplug/unplug and the test cfg was tweaked to be more intensive.
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      2cd3c539
  5. 01 11月, 2013 1 次提交
  6. 09 10月, 2013 1 次提交
  7. 08 10月, 2013 8 次提交
  8. 10 9月, 2013 2 次提交
  9. 09 9月, 2013 2 次提交
  10. 02 9月, 2013 1 次提交
    • L
      shared.scripts.virtio_console_guest: Fix problem with async mode · d1f302b3
      Lukáš Doktor 提交于
      The bacground process was likely to be killed by SIGIO while setting
      port to async mode. This was due of bad workflow, where first the
      port was set to async mode, than the the new SIGIO handler was set.
      
      With this version when we set async mode, we fist add the SIGIO
      handler and then set the port to async mode.
      
      When we are setting the port back, the order is the opposite, so
      first the port is set to sync mode and then we remove the SIGIO
      handler.
      
      Additionally the workaround with test_delete_guest_script() was
      removed as it's fixed by this patch.
      
      NOTE: You have to remove the previous /tmp/virtio_console_guest.py*
            in order to let virtio_console test to copy this updated one!
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      d1f302b3
  11. 25 7月, 2013 1 次提交
  12. 10 4月, 2013 2 次提交
  13. 04 4月, 2013 1 次提交
    • L
      qemu.tests: Use params[] for required params · a9f0d2c5
      Lukáš Doktor 提交于
      This patch benefits from the better error message when key is missing
      in config params. Instead of custom handling of missing param it
      uses params[] directly.
      
      I modified those params, where I was 100% certain that they are
      required and doesn't have default value:
       * val = params.get(..) followed by if not val: raise...
       * int(params.get(...))
       * params.get(...).split()
       * commands which require string (eg. session.cmd(params.get(...)))
      
      I didn't test all the tests before and after in order to verify
      possible typos but I used pylint before and after, watching for
      new errors (code rate before and after).
      Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
      a9f0d2c5
  14. 13 3月, 2013 2 次提交
  15. 12 3月, 2013 1 次提交
  16. 22 2月, 2013 5 次提交
  17. 07 2月, 2013 2 次提交
  18. 25 12月, 2012 2 次提交
  19. 04 12月, 2012 2 次提交
  20. 02 12月, 2012 1 次提交
  21. 29 11月, 2012 1 次提交