- 13 9月, 2013 1 次提交
-
-
由 Xu Tian 提交于
Add rescan and list disk steps; Do rescan to ensure diskpart read latest disk configuration and it will avoid diskpart report 'The disk you specified is not valid.' error, list disk step will record disk info before check disk drive; New steps will helpful for debugging when test failed at pci device test step; Signed-off-by: NXu Tian <xutian@redhat.com>
-
- 11 9月, 2013 16 次提交
-
-
由 Yang Feng 提交于
sr-iov: Update PciAssignable class to support more feature.
-
由 Feng Yang 提交于
For pci-assign we need not get all the same group device. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
virttest.test_setup: Fix issue that 'pci-assign' is treated as not support in some host which really support it. In some host pci-assign is aliased as kvm-pci-assign in qemu-kvm -device ? So pci-assign is treated as not support. Add code to fix this. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
It used to set which device we want to use in device assignment test Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Also add new function get_same_group_devs() to get devices in same group. Get device's driver from /sys/bus/pci/devices/[device id]/driver Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
In this patch have following update: 1. Delete self.type_list and introduce self.devices. 2. Update add_device() to support mac setting for VF. 3. Update get_devs() to use new get_vf_devs() and get_pf_devs(). 4. Update kvm parameter by echo to /sys folder. 5. Support set mac for VF. 6. Update the way used to update kvm module parameter. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
get requested vf or pf from self.pf_vf_info list. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Get the PF PCI ID from self.pf_vf_info. Return the first available PF if name is not set. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This function will return corresponding pf eth name and vf num according to vf id. We need use pf eth name and vf num when setting mac for vf. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
get_pf_vf_info() will get following pf information: pf_id: The id of the pf device. occupied: Whether the pf device assigned or not vf_ids: vf device id list of this pf. ethname: network device interface name in host for this pf. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 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>
-
由 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>
-
由 Feng Yang 提交于
Now we need set mac for vf before using it. Or guest could not get IP. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
由 Feng Yang 提交于
This patch will fix following issue: "qemu: -device pci-assign,host=06:00.1,id=id_06:00.1: Parameter 'id' expects an identifier\n" Also correct parameter in add_pcidevice function call. Signed-off-by: NFeng Yang <fyang@redhat.com>
-
- 10 9月, 2013 11 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Yiqiao Pu 提交于
Run CrystalDiskMark in guest during s3 and s4. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Yiqiao Pu 提交于
Add cmd /c to let the cmd session wait util the autoit scripts finished. Otherwise it will return immediately after the autoit scripts start. Also correct the script name. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Xu Tian 提交于
Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Yang Feng 提交于
virttest.utils_misc: Convert host_setup_flag into int
-
由 Lucas Meneghel Rodrigues 提交于
Fix some extra problems with docstrings in the code tree. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This file is also borrowed from autotest, and already reflects the updates to the coding style of the projects under the autotest umbrella. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
This way we can keep those scripts in sync among virt-test and autotest. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 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>
-
由 Dongsheng Yang 提交于
Options of run_pep8 tool is changed, then the description should be updated at the same time. Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
-
由 Chris Evich 提交于
It's possible to install libvirt bits w/o installing kvm or xen. This will be reflected in 'virsh capabilities' output, but the VM class just reports a key error. Added two specific error logging messages to make the problem clearer, but continue to raise the original exception. Signed-off-by: NChris Evich <cevich@redhat.com>
-
- 09 9月, 2013 12 次提交
-
-
由 Chris Evich 提交于
virttest.libvirt_storage_unittest: remove ModuleLoadCheckVirsh class.
-
由 Dongsheng Yang 提交于
Since we initialize a bogus_virsh in setup to provide a fake virsh for unittest, then there is no need to skip if virsh command is not available. Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
-
由 Yiqiao Pu 提交于
If host_setup_flag is set up in cfg files. Convert it to int in this step. This can ignore the type error when use it for bit check. Signed-off-by: NYiqiao Pu <ypu@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 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>
-
由 Lucas Meneghel Rodrigues 提交于
-
由 Lucas Meneghel Rodrigues 提交于
Using the program codespell https://github.com/lucasdemarchi/codespell We found a number of spelling mistakes, that could be found and fixed. The result of the automated script was double checked, of course. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Integrate codespell to our own check_patch.py script. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 yangdongsheng 提交于
Integrate the PEP8 linter into the virt-test full tree and patch verification process. It works by verifying whether the PEP8 linter modified the file in place, if it did, it means there are non compliances in the code. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com> Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
This calls the PEP8 linter called autopep8: https://github.com/hhatto/autopep8 So we can make autotest to fully adhere to PEP8, since there's a tool that can enforce the standard. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com> Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-