- 11 9月, 2013 1 次提交
-
-
由 Feng Yang 提交于
We have update vm.pci_assignable.request_devs() function call. Now we need create device dict and use it in request_devs(). We need set device["type"], device['mac'] (for vf), device["name"] (optional) Signed-off-by: NFeng Yang <fyang@redhat.com>
-
- 10 9月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Make virt-test to have a docstring style mostly compliant with the sphinx's [1] format, reStructured text. This means that we have to trade all '@' tags to be ':', mostly. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 09 9月, 2013 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
With the help of the PEP8 script, a semi-automated clean of the code base was made, and effectively changing some of the coding style rules of our code base: * No more 2 lines spacing among functions * No more combined module imports In the end, it was going to be too difficult to take into consideration E501 (line length > 80) errors and W601 (.has_key() is deprecated), so these were ignored, at least for now. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 04 4月, 2013 1 次提交
-
-
由 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>
-
- 29 12月, 2012 2 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Rather than performing a live check on the qemu binary to see if it supports qmp, and verify params, do a much simpler yet robust and valid - verify the 'protocol' attribute of the vm.monitor object. This is a replacement for a patch sent by Feng Yang to the list. CC: Feng Yang <fyang@redhat.com> Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
In order to be consistent with previous changes. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 25 12月, 2012 1 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
A frequent request we've got from users is that the name 'kvm' makes assumptions that are not true for a lot of the use cases of the test suite. Then let's rename the subtest 'kvm' to 'qemu', making it more accurate. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 05 12月, 2012 1 次提交
-
-
由 Feng Yang 提交于
This script cover sr-iov hotplug test cases. Changes from v1: Delete useless line and module. Signed-off-by: NFeng Yang <fyang@redhat.com>
-