- 19 9月, 2013 3 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
The problem was that the arguments for the string interpolation were not passed as a tuple, as they should. When hitting an unknown migration protocol error, the return would raise a TypeError. Let's fix it. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 18 9月, 2013 3 次提交
-
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Lots of times to call vmxml.undefine() and vmxml.define(), to make our config in vmxml take effect in vm. Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
- 17 9月, 2013 6 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Turns out RHEL5 qemu does not support the 'info qtree' command, therefore an attempt to parse the output of this command will fail. So skip that particular check when running on this particular qemu version. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
On RHEL5, we were not passing boot=on properly to the qemu-kvm binary. Fix the heuristics to detect whether the binary uses this ancient syntax to define virtio disks as bootable. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lukáš Doktor 提交于
Use the unified configs (scsiid=>unit, lun=>port) and store the images in the usual location. The location '/tmp/%s' was used before because python was unable to execute that long command and this prefix shorten it significantly. Now autotest supports the way to deal with long commands so we can finally store the images in the right location. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Some cases create many disks, which takes a long time, where most time consumes the handling around cmd execution. This patch parallelize the image processing in case we deal with over 20 disks. It spawns $no_cpus * 2 threads (or less in case it would be inefficient). The performance improvement was significant (30=>12s on 4CPU system). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
Current kernels support unlimited argument length, the only limit is stack size. The default stack size is usually 8KB which is sufficient for ~2MB commands. Use ulimit to increase these limits. The multi_disk in some configurations attacks the 2MB barier and in the future we might see this comming (unless we switch to -readconfig). NOTE: Only superuser can increase the hard limit, anyway if the command fails the test continues and tries to execute the cmd anyway. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
- 16 9月, 2013 5 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
virttest.qemu_devices: Fix floppy issues
-
由 Lukáš Doktor 提交于
Old qemu without -global support must use -drive index=n to set the floppy slot. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
image_format is usually set for images. Floppies usually use raw so we'd have to either set image format for floppies or we can simply ignore it (this solution). Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lukáš Doktor 提交于
media accepts only disk or cdrom. Use media='' to ignore it even in strict_mode. (strict_mode sets media=disk when media is None) Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Yang Feng 提交于
qemu.test: add reboot step for pci_hotplug testing
-
- 14 9月, 2013 1 次提交
-
-
由 Laszlo Ersek 提交于
Before upstream qemu commit commit 56c4bfb3f07f3107894c00281276aea4f5e8834d Author: Laszlo Ersek <lersek@redhat.com> Date: Tue Aug 6 12:37:11 2013 +0200 dump: rebase from host-private RAMBlock offsets to guest-physical addresses the dump-guest-memory QMP command used to write incorrect vmcores for x86_64 guests with more than 3.5GB RAM. Add a testcase that creates a 4GB guest, dumps its core, copies it into the guest, and analyzes it there with the "crash" utility. Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=981582 Related RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=990118Suggested-by: NAdemar de Souza Reis Jr. <areis@redhat.com> Signed-off-by: NLaszlo Ersek <lersek@redhat.com>
-
- 13 9月, 2013 8 次提交
-
-
由 Yanbing Du 提交于
Signed-off-by: NYanbing Du <ydu@redhat.com>
-
由 Yanbing Du 提交于
Signed-off-by: NYanbing Du <ydu@redhat.com>
-
由 Xu Tian 提交于
We need step reboot guest after hotplug/unplug pci device to verify guest not crash or hang when reboot; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Yang Feng 提交于
Enhance pci_test_cmd for block_hotplug testing
-
由 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>
-
由 Yang Feng 提交于
Small fix for unattended_install.floppy_ks test
-
由 Xu Tian 提交于
Reading ks from floppy driectly isn't works for some distr but boot option 'ks=hd:/dev/fd0' can reading ks from mounted floppy; so skip replace this options; Signed-off-by: NXu Tian <xutian@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
- 12 9月, 2013 2 次提交
-
-
由 Chris Evich 提交于
* Simple/minimal implementation with passwd property, more can be added later. * Thanks to Kyla - Wei Zhang <weizhan@redhat.com> for requesting and helping test. * Added unittest for graphics device to verify changes are commited to vm_xml instance. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Yanbing Du 提交于
Readonly mode is an important part for virsh command,so add a boolean parameter 'readonly' when execute virsh commnd. Signed-off-by: NYanbing Du <ydu@redhat.com>
-
- 11 9月, 2013 12 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 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>
-