1. 22 10月, 2013 4 次提交
    • X
      qemu.tests: small fix for qemu_iotests · eccb462d
      Xu Tian 提交于
      since qemu_iotests merged into tests/qemu_iotests, add param
      qemu_iotests_dir to set iotests root dir;
      And updated default git repo to qemu-kvm new repo;
      Signed-off-by: NXu Tian <xutian@redhat.com>
      eccb462d
    • E
      run: Setting --qemu_sandbox=on by default · 142f3e9a
      Eduardo Otubo 提交于
      This commit sets the Qemu sandboxing to 'on' by default. It allows the
      user to run all tests using this feature to catch missing system calls
      and providing more feedback to the general security of Qemu.
      Signed-off-by: NEduardo Otubo <otubo@linux.vnet.ibm.com>
      142f3e9a
    • F
      qemu.cfg.boot_from_device: Update bootindex. · c93b0945
      Feng Yang 提交于
      Not first index is 0, so update bootindex to 0, if we want to boot from it
      firstly.
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      c93b0945
    • F
      qemu.tests.boot_from_device: Change vm.create() to preprocess_vm() · 9ba2d985
      Feng Yang 提交于
      In older code we did not update params for vm before creating it.
      So old VM is reused. So we will meet following error:
      15:42:02 ERROR| Exception escaping from test:
      Traceback (most recent call last):
        File "/usr/code/autotest/client/shared/test.py", line 426, in _exec
          _call_test_function(self.execute, *p_args, **p_dargs)
        File "/usr/code/autotest/client/shared/test.py", line 853, in _call_test_function
          raise error.UnhandledTestFail(e)
      UnhandledTestFail: Unhandled VMImageMissingError: CD image file not found: '/tmp/test.iso'
      [context: (run_boot_from_device) --> creating 'virt-tests-vm1']
      Traceback (most recent call last):
        File "/usr/code/autotest/client/shared/test.py", line 846, in _call_test_function
          return func(*args, **dargs)
        File "/usr/code/autotest/client/shared/test.py", line 299, in execute
          postprocess_profiled_run, args, dargs)
        File "/usr/code/autotest/client/shared/test.py", line 216, in _call_run_once
          *args, **dargs)
        File "/usr/code/autotest/client/shared/test.py", line 322, in run_once_profiling
          self.run_once(*args, **dargs)
        File "/usr/code/autotest/client/tests/virt/virt.py", line 139, in run_once
          run_func(self, params, env)
        File "/usr/code/autotest/client/shared/error.py", line 138, in new_fn
          return fn(*args, **kwargs)
        File "/usr/code/autotest/client/tests/virt/qemu/tests/boot_from_device.py", line 112, in run_boot_from_device
          vm.create()
        File "/usr/code/autotest/client/shared/error.py", line 138, in new_fn
          return fn(*args, **kwargs)
        File "/usr/code/autotest/client/tests/virt/virttest/qemu_vm.py", line 1769, in create
          raise virt_vm.VMImageMissingError(iso)
      VMImageMissingError: CD image file not found: '/tmp/test.iso'
      
      This patch could fix this.
      Signed-off-by: NFeng Yang <fyang@redhat.com>
      9ba2d985
  2. 21 10月, 2013 1 次提交
  3. 18 10月, 2013 16 次提交
  4. 16 10月, 2013 12 次提交
  5. 14 10月, 2013 5 次提交
  6. 12 10月, 2013 2 次提交