- 13 11月, 2013 2 次提交
-
-
由 yangdongsheng 提交于
Signed-off-by: Nyangdongsheng <yangds.fnst@cn.fujitsu.com>
-
由 Dongsheng Yang 提交于
Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
-
- 08 11月, 2013 16 次提交
-
-
由 Lucas Meneghel Rodrigues 提交于
In fact, previous fixes that make nfs to use the staging library needed some tweaking to match expectations. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Make the nfs module use the service API previous to the change made on 69ac938d. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Turns out that change was made with little thought with regards to the users of the code that already existed. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
virttest.qemu_devices: Make IDE bus strict_mode only
-
由 Lucas Meneghel Rodrigues 提交于
virsh_snapshot_create_as: Properly format output_dump
-
由 Lukáš Doktor 提交于
When using IDE bus, only ide.1 bus is used by default. We have to force the ide.0 in order to use it (similar to AHCI). This patch makes all QBusUnitBuses act this way. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 John Ferlan 提交于
Recent changes to dumpxml missed the snapshot_dumpxml reference when changing the returned data as a CmdResult. Format the output_dump with the .stdout.strip()
-
由 Lucas Meneghel Rodrigues 提交于
virt-libguestfs: Fix bugs in virt_sysprep test
-
由 Lucas Meneghel Rodrigues 提交于
virt: propcan clean some old style construction V2
-
由 Lucas Meneghel Rodrigues 提交于
workaround for ovs
-
由 Li Yang 提交于
Signed-off-by: NLi Yang <liyang.fnst@cn.fujitsu.com>
-
由 Pavel Hrdina 提交于
It is possible to call 'virsh setmem --domain test 524288' but the current code create 'virsh setmem 524288 --domain test' for the right parameters. Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
-
由 Pavel Hrdina 提交于
The domain name and memory size have to be defined to PASS the test on newer libvirt.
-
由 Pavel Hrdina 提交于
There are some tests that have different result on older libvirt and newer libvirt. The right condition is that the new libvirt should not fail, but the older one should fail. By this patch we follow this behaviour. Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
-
由 Pavel Hrdina 提交于
We should restore memory into original size by using the original_outside_mem instead of original_inside_mem because the inside mem is lower than the outside mem and because of the virsh setmem command is setting the outside mem. Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
-
- 07 11月, 2013 22 次提交
-
-
由 Dongsheng Yang 提交于
Signed-off-by: NDongsheng Yang <yangds.fnst@cn.fujitsu.com>
-
由 Chris Evich 提交于
Nettype user default fixes
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
This change mirrors the default as used by the test runner. I added/rearranged the comments to make it clear it will be overridden. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Sample output: 15:37:08 INFO | Starting test ... 15:37:08 DEBUG| Test parameters: ... 15:39:52 WARNI| 15:39:52 WARNI| Testing with nettype='user' while running as root may produce unexpected results!!! 15:39:52 WARNI| Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
When test runner is executed as root, default to using bridge-mode networking. Otherwise, force it to user-mode, unless different on the command line. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Include more details about the NIC and Network in question when reporting possible port-redirection problems. Sample: 14:57:16 DEBUG| Destroying VM 14:57:16 DEBUG| Trying to shutdown VM with shell command 14:57:16 DEBUG| Don't know how to connect to guest port 22 with networking type 'user', to destination 'virbr0', for nic 'nic1' with mac '52:54:00:5d:5e:5f' and ip 'None'. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
virttest.qemu_devices: Workaround unsupported -drive addr=...
-
由 Lukáš Doktor 提交于
Antient versions of qemu don't support -drive addr=... option. This workaround logs and ignores setting of addr. Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Turns out staging also needed __init__.py fixing. Sorry about that once again. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Lucas Meneghel Rodrigues 提交于
Due to a very bad mistake of mine, I hose the ability to access utils_test.qemu and utils_test.libvirt. By importing libvirt and qemu internally those problems should be fixed. Sorry guys. Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
-
由 Yunping Zheng 提交于
Currently, when close tap device, it's can not automatically cleaned from openvswitch-db, sinece openvswitch have it's own userspace db, and that ovsdb is considered to be only modified by the user. when qemu exit by error, the ovs will never delete the port from it's db, even kernel have destroied the port, as a result, when we run a loop using ovs, it alway raise error for the port already exist. This patch just add a workaround, make the test loop using ovs can run normally. Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Yunping Zheng 提交于
Now when using find_current_bridge, if the host not install openvswitch it will raise like: AttributeError: 'NoneType' object has no attribute 'port_to_br' This patch add a check whether ovs is exist before using it. Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Yunping Zheng 提交于
Whitespace character("\n") exist in the stdout data, when run 'ovs-vsctl' command in some system. better remove it before return Signed-off-by: NYunping Zheng <yunzheng@redhat.com>
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com> Conflicts: qemu/cfg/multi-host-tests.cfg virttest/utils_test.py
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Jiří Župka 提交于
Signed-off-by: NJiří Župka <jzupka@redhat.com>
-
由 Chris Evich 提交于
The propcan dict_get, dict_set, dict_del were renamed with double-underscores in a prior commit, but updating this module was missed. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
The unittests were mistakenly relying on the host system's virsh/libvird state. Mocked up the used dumpxml method to make the unittest self-contained. There was also a bug in passing the dummy virsh instance in as a positional instead of named parameter. API changes were made but unittests never updated. They're all passing now. Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Signed-off-by: NChris Evich <cevich@redhat.com>
-
由 Chris Evich 提交于
Burried in docstrings are instructions that using propcan's special dict_set, super_set, etc. methods is for subclasses only (i.e. not for test-modules!) One test was doing this, so I assume the convension is/could/would be lost on other people also. Renamed these special methods with double-underscore names to flag them as being special. Updated documentation (in case it gets read) also, but I'm assuming the new names will serve as a better deterance to using them. Signed-off-by: NChris Evich <cevich@redhat.com> Conflicts: virttest/virsh.py Conflicts: virttest/libvirt_xml/vm_xml.py
-
由 Chris Evich 提交于
There are very few places that need to re-calculate all ancestor __slots__ values. It's more efficient to just store them as an instance attribute, set from __new__(). I also updated all users dependent on the old __slots__ behavior to use the new __all_slots__ attribute instead. Signed-off-by: NChris Evich <cevich@redhat.com>
-