When input some invialid words in QMP port, qemu outputs this error message:
parse error: invalid keyword `%s'
This patch makes qemu output the content.
Signed-off-by: Amos Kong ak...@redhat.com
---
json-parser.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/json
2010/4/18 Øyvind Sæther oyvi...@everdot.org:
The patch lets me run 1920x1080 resolution, some displays are only that
and not 1920x1200 these days. Gentoos ebuild doesn't seem to make the
vgabios and only uses /pc-bios/vgabios.bin, making kvm/vgabios and
replace vgabios.bin with the
On Sun, May 2, 2010 at 9:14 PM, Dan Johansson k...@dmj.nu wrote:
Hi, It's me again.
After some time with a lot to do outside the computer world, I am now
continuing my KVM-Project. I have gotten all my KVM-Guest to run separately,
but when I try to start more then one at the same time I get
On Fri, May 14, 2010 at 4:33 PM, Alexander Graf ag...@suse.de wrote:
On 14.05.2010, at 10:10, TianJing wrote:
Hi all,
i am trying to install kvm on RHEL5.5, the server is power leader
S5000VSA, the CPU is intel E5335, and i check that it support vm.
when i run the commamd: modprobe
Hello all,
Can I ask some question of the offloading function with Virtio-NIC?
I'm interested in KVM virtualization. The virtual NIC is different
from real hardward. And there is also a big distance between
Virtio-NIC and E1000-NIC.
The offloading function of Virtio-NIC close related with the
On Mon, May 31, 2010 at 7:44 AM, Amos Kong kongjian...@gmail.com wrote:
Hello all,
Can I ask some question of the offloading function with Virtio-NIC?
I'm interested in KVM virtualization. The virtual NIC is different
from real hardward. And there is also a big distance between
Virtio-NIC
, in
_autotest_logging_handle_error
09/23 09:50:27 ERROR| traceback:0013| traceback.print_stack()
09/23 09:50:27 ERROR|setup_modu:0087| Future logging formatting exceptions
disabled.
09/23 09:50:27 ERROR| kvm:0067| Test failed: global name
'root_module_name' is not defined
Signed-off-by: Amos Kong ak
exceptions
disabled.
09/23 09:50:27 ERROR| kvm:0067| Test failed: global name
'root_module_name' is not defined
Signed-off-by: Amos Kong ak...@redhat.com
---
client/setup_modules.py |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/client/setup_modules.py b/client
Test 802.1Q vlan of nic, config it by vconfig command.
1) Create two VMs
2) Setup guests in different vlan by vconfig and test communication by ping
using hard-coded ip address
3) Setup guests in same vlan and test communication by ping
4) Recover the vlan config
Signed-off-by: Amos Kong ak
.
Regards,
--
Amos Kong
Quality Engineer
Raycom Office(Beijing), Red Hat Inc.
Phone: +86-10-62608183
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Test 802.1Q vlan of nic, config it by vconfig command.
1) Create two VMs
2) Setup guests in different vlan by vconfig and test communication by ping
using hard-coded ip address
3) Setup guests in same vlan and test communication by ping
4) Recover the vlan config
Signed-off-by: Amos
On Mon, Oct 19, 2009 at 10:22:21AM +0200, Dor Laor wrote:
On 10/15/2009 11:48 AM, Amos Kong wrote:
Test 802.1Q vlan of nic, config it by vconfig command.
1) Create two VMs
2) Setup guests in different vlan by vconfig and test communication by
ping
using hard-coded ip address
On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote:
See comments below.
Hi all,
Thanks for your reply.
- Dor Laor dl...@redhat.com wrote:
On 10/15/2009 11:48 AM, Amos Kong wrote:
Test 802.1Q vlan of nic, config it by vconfig command.
1) Create two VMs
2
qemu-ifup is a script for setting network bridge.
If no execute permission, always face this problem:
autotest/client/tests/kvm/scripts/qemu-ifup: could not launch network script
Could not initialize device 'tap
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0
be setup in configure file.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/kvm_tests.cfg.sample | 12 ++
client/tests/kvm/tests/vlan_tag.py| 68 +
2 files changed, 80 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm/tests
On Wed, Oct 21, 2009 at 06:37:56PM +0800, Amos Kong wrote:
On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote:
See comments below.
Hi all,
Thanks for your reply.
.
Agree with you.
When I test this case, the original get_command_status() always cause special
read
If login timeout, wait_for() returned 'None' and assigned to 'session'.
When call session.close(), this prlblem was caused:
AttributeError: 'NoneType' object has no attribute 'close'
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/tests/timedrift_with_migration.py |3 ++-
1
On Sat, Dec 26, 2009 at 10:07:58AM -0500, Michael Goldish wrote:
- Amos Kong ak...@redhat.com wrote:
On Fri, Dec 25, 2009 at 08:28:18AM -0500, Michael Goldish wrote:
- Amos Kong ak...@redhat.com wrote:
If login timeout, wait_for() returned 'None' and assigned
- Original Message -
With check_image_foo = yes, KVM autotest will use
qemu-img to perform checks on the qcow2 image.
This new functionality intends to replace the
script check_image.py. The plan is to supersede most
of the pre/post scripts in place throughout KVM
autotest.
Good
On Wed, Feb 09, 2011 at 11:28:56AM +0200, Avi Kivity wrote:
On 02/09/2011 03:50 AM, Michael Goldish wrote:
This is a reimplementation of the dict generator. It is much faster than the
current implementation and uses a very small amount of memory. Running time
and memory usage scale
On Fri, Feb 18, 2011 at 05:14:09PM -0200, Lucas Meneghel Rodrigues wrote:
As the original patch set don't define supported_features
for it.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
Acked-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/tests/ethtool.py |6
Communicate between two vms, and try to capture packages from another vm in
the same lan.
This test used tcpdump, so we need limit it with Linux guests.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/tests/privacy.py | 44
client/tests/kvm
.
Signed-off-by: Feng Yang fy...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/kvm_vm.py | 38
client/tests/kvm/tests_base.cfg.sample |4 +++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm
On Wed, Mar 09, 2011 at 06:21:04AM -0300, Lucas Meneghel Rodrigues wrote:
The programs cd_hash, html_report, scan_results can be
used by other users of autotest, so move them to the
tools directory inside the client directory.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
Hi pekka,
Does virtio-console work with kvm-tools?
It seems that virtio-console.vps[] is not initialized in virtio-console.c
(gdb) r run -i linux-0.2.img -k ./vmlinuz-2.6.38-rc6+ -r
./initrd.img-2.6.38-rc6+ -p=init=1 -m 500 -c
Starting program: /project/rh/kvm-tools/tools/kvm/kvm run -i
On Sun, Apr 10, 2011 at 11:13:54AM +0400, Cyrill Gorcunov wrote:
On 04/10/2011 11:09 AM, Pekka Enberg wrote:
On Sun, Apr 10, 2011 at 9:50 AM, Asias He asias.he...@gmail.com wrote:
This patch makes Ctrl+a escape key. Ctrl+a+x will terminate kvm tools.
It works for both serial and virtio
, used = 0x0}, pfn = 0,
last_avail_idx = 0}
Reported-by: Amos Kong ak...@redhat.com
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/include/kvm/virtio.h | 22 --
tools/kvm/virtio.c | 32 +---
2 files changed, 29
the check of virt_queue out of virt_queue__get_iov()
Reported-by: Amos Kong ak...@redhat.com
Signed-off-by: Asias He asias.he...@gmail.com
Signed-off-by: Amos Kong ak...@redhat.com
---
tools/kvm/include/kvm/virtio.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/kvm
I try to test with a rhel6.0 guest, it hung during the shutdown.
guest)# init 0
guest)# could not read byte from child: Success
initctl: Event failed
Stopping atd: [ OK ]
Stopping abrt daemon: [ OK ]
Stopping sshd: [ OK ]
Shutting down postfix: [ OK ]
Stopping crond: [ OK ]
Stopping
...@kernel.org
Looks good for me.
Reviewed-by: Amos Kong ak...@redhat.com
---
tools/kvm/include/kvm/ioport.h |2 +
tools/kvm/ioport.c | 128
tools/kvm/kvm-run.c|3 +
3 files changed, 57 insertions(+), 76 deletions
On Sun, Apr 10, 2011 at 08:05:30PM +0530, Onkar Mahajan wrote:
What is vnet0 ? I see it when i do
ifconfig in the host. Is it a TAP device ??
What's the output of '# brctl show' ?
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to
\
--dhcp-range 192.168.33.1,192.168.33.254
Signed-off-by: Amos Kong kongjian...@gmail.com
---
tools/kvm/util/set_private_br.sh | 51 ++
1 files changed, 51 insertions(+), 0 deletions(-)
create mode 100755 tools/kvm/util/set_private_br.sh
diff --git a/tools
# ./kvm-ifup-vbr0 $tap_name
Signed-off-by: Amos Kong kongjian...@gmail.com
---
tools/kvm/util/kvm-ifup-vbr0 |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
create mode 100755 tools/kvm/util/kvm-ifup-vbr0
diff --git a/tools/kvm/util/kvm-ifup-vbr0 b/tools/kvm/util/kvm-ifup-vbr0
Signed-off-by: Amos Kong kongjian...@gmail.com
---
tools/kvm/include/kvm/virtio-net.h |2 +-
tools/kvm/kvm-run.c|9 -
tools/kvm/virtio-net.c | 14 ++
3 files changed, 19 insertions(+), 6 deletions(-)
diff --git a/tools/kvm/include/kvm/virtio
Changes from v1:
- rebased to latest tree
- replace system() by execv()
Signed-off-by: Amos Kong kongjian...@gmail.com
---
tools/kvm/include/kvm/virtio-net.h |1 +
tools/kvm/kvm-run.c| 10 +-
tools/kvm/virtio-net.c | 35 +--
3
;
+ }
+ }
this path does not seem to have robust error handling: both fork() and
waitpid() can (and sometimes do) fail. If waitpid() fails then 'status' might
be ununitialized as well, IIRC.
Thanks,
Ingo
Signed-off-by: Amos Kong kongjian...@gmail.com
---
tools/kvm/virtio-net.c | 11
On Sun, Jun 13, 2010 at 05:33:42PM +0300, Michael Goldish wrote:
This module should replace vm.send_monitor_cmd(). Instead of connecting to
the
monitor each time a command is issued, this module maintains a continuous
connection to the monitor. It disconnects when a test terminates and
On Sun, Jun 13, 2010 at 05:33:44PM +0300, Michael Goldish wrote:
An initial QMP client implementation.
Should be fully functional and supports asynchronous events.
However, most tests must be modified to support it, because it returns output
in a different format from the human monitor (the
to address_pool in
following format:
{'macpool': {'AE:9D:94:6A:9b:f9': ['20100310-165222-Wt7l:0']}}
AE:9D:94:6A:9b:f9: mac address
20100310-165222-Wt7l : instance attribute of VM
0: index of NIC
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0
')
Signed-off-by: Michael Goldish mgold...@redhat.com
Reviewed-by: Amos Kong ak...@redhat.com
Looks good for me, In the past, I've to create symbolic links for fix this
issue.
---
client/tests/kvm/kvm_preprocessing.py |6 +++---
client/tests/kvm/kvm_utils.py |7 ---
2 files
The following series contain 11 network related subtests, welcome to give me
some suggestions about correctness, design, enhancement.
Thank you so much!
---
Amos Kong (14):
KVM-test: Add a new macaddress pool algorithm
KVM Test: Add a function get_interface_name
The following series contain 11 network related subtests, welcome to give me
some suggestions about correctness, design, enhancement.
Thank you so much!
---
Amos Kong (14):
KVM-test: Add a new macaddress pool algorithm
KVM Test: Add a function get_interface_name
...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index fb2d1c2..7c0946e 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b/client/tests/kvm/kvm_utils.py
@@ -5,6 +5,7
The function get_interface_name is used to get the interface name of linux
guest through the macaddress of specified macaddress.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests
The kvm_net_utils.py is a just a place that wraps common network
related commands which is used to do the network-related tests.
Use -1 as the packet ratio for loss analysis.
Use quiet mode when doing the flood ping.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak
tests_base.cfg
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/ping.py b/client/tests/kvm/tests/ping.py
new file mode 100644
index 000..cfccda4
--- /dev/null
+++ b/client
According to different nic model set different MTU for it. And ping from guest
to host, to see whether tested size can be received by host.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git
, this test will be fail.
We can extend this test by using another disk later, then we can transfer larger
files without the limit of first disk size.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/file_transfer.py
b
Repeatedly load/unload nic driver, try to transfer file between guest and host
by threads at the same time, and check the md5sum.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/nicdriver_unload.py
b/client
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/nic_promisc.py
b/client/tests/kvm
Use 'ping' to test send/recive multicat packets. Flood ping test is also added.
Limit guest network as 'bridge' mode, because multicast packets could not be
transmitted to guest when using 'user' network.
Add join_mcast.py for joining machine into multicast groups.
Signed-off-by: Amos Kong ak
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests
Mainly test steps:
1. get a new mac from pool, and the old mac addr of guest.
2. execute the mac_change.sh in guest.
3. relogin to guest and query the interfaces info by `ifconfig`
Signed-off-by: Cao, Chen k...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0
TCP_SENDFILE UDP_STREAM. DLPI only supported by Unix, unix domain test is
not necessary, so drop test of DLPI and unix domain.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/netperf.py
b/client/tests/kvm/tests/netperf.py
On Tue, Jul 20, 2010 at 01:19:39PM +0300, Michael Goldish wrote:
Michael,
Thanks for your comments. Let's simplify this method together.
On 07/20/2010 04:34 AM, Amos Kong wrote:
Old method uses the mac address in the configuration files which could
lead serious problem when multiple tests
Except for kvm-clock, we need to wait a few seconds to let the interrupt
lost during the stop to be reinjected. So sleep for 30 seconds ( could
be configurated throug configuration file).
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed
On Tue, Jul 20, 2010 at 06:53:27PM +0300, Michael Goldish wrote:
On 07/20/2010 04:44 PM, Amos Kong wrote:
On Tue, Jul 20, 2010 at 01:19:39PM +0300, Michael Goldish wrote:
Michael,
Thanks for your comments. Let's simplify this method together.
I would produce a v2 later basing
On Wed, Jul 28, 2010 at 01:29:22PM +0300, Michael Goldish wrote:
On 07/27/2010 05:08 AM, Lucas Meneghel Rodrigues wrote:
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
The function get_interface_name is used to get the interface name of linux
guest through the macaddress of specified
On Tue, Jul 27, 2010 at 10:15:49AM -0300, Lucas Meneghel Rodrigues wrote:
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
This test use ping to check the virtual nics, it contains two kinds of test:
1. Packet loss ratio test, ping the guest with different size of packets.
2. Stress test
On Thu, Jul 22, 2010 at 01:14:17PM +0300, Michael Goldish wrote:
whql_submission runs a submission on a given device. It requires a
functioning external DTM server which runs rss.exe like regular Windows VMs,
preferably with administrator permissions.
The submission is defined by descriptors
On Wed, Jul 28, 2010 at 07:07:34PM -0300, Lucas Meneghel Rodrigues wrote:
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
It would be a good idea to have an alternate
On Tue, Aug 3, 2010 at 3:10 AM, Lucas Meneghel Rodrigues l...@redhat.com
wrote:
On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test. RTL8139 NIC doesn't
support TSO, LRO, it's too old, so drop offload test from rtl8139. LRO, GRO
are only
On Tue, Jul 27, 2010 at 10:13 PM, Lucas Meneghel Rodrigues
l...@redhat.com wrote:
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
According to different nic model set different MTU for it. And ping from
guest
to host, to see whether tested size can be received by host.
Signed-off
On Tue, Jul 27, 2010 at 10:36 PM, Lucas Meneghel Rodrigues
l...@redhat.com wrote:
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
This test is the basic test of transfering file between host and guest. Try
to
transfer a large file from host to guest, and transfer it back to host
On Thu, Jul 29, 2010 at 5:35 AM, Lucas Meneghel Rodrigues
l...@redhat.com wrote:
On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Signed-off-by: Amos Kong ak
On Thu, Jul 22, 2010 at 01:14:19PM +0300, Michael Goldish wrote:
The parameters that define submissions (dd_name_*, dd_data_*, desc_path_*)
were
collected from manually created submissions.
I haven't yet collected the parameters for Windows 2003 and 2008, so for now
WHQL tests are disabled
On Tue, Aug 17, 2010 at 06:40:05PM -0400, jzupka wrote:
---
client/tests/kvm/tests/ksm_overcommit.py |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
Looks good for me. Except some trailing whitespace :)
After disable transparent hugepage, ksm_parallel can pass.
ksm_serial
Add new drive option 'werror' of qemu-kvm command for KVM-autotest workframe.
It can be configured by 'drive_werror' variable in configure file.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/kvm_vm.py |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git
/x86.c:3367: error: expected expression before ‘)’ token
Signed-off-by: Amos Kong ak...@redhat.com
---
arch/x86/kvm/x86.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index bb9a24a..097ad3a 100644
--- a/arch/x86/kvm/x86.c
+++ b
- Jiří Župka jzu...@redhat.com wrote:
---
client/tests/kvm/scripts/virtio_guest.py | 22
--
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/client/tests/kvm/scripts/virtio_guest.py
b/client/tests/kvm/scripts/virtio_guest.py
index
Add mount and umount function, you can assign source, mount_point, type
and permission.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/kvm_utils.py | 55 +
1 files changed, 55 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm
image_copy is used to copy guests' images from NFS server to test
machines. It takes too much time for installing guests everytime.
You can config NFS server directory in tests_base.cfg.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/tests/image_copy.py | 45
On Fri, Jan 07, 2011 at 01:21:09PM -0200, Lucas Meneghel Rodrigues wrote:
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
client/tests/kvm/tests/ethtool.py |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/client/tests/kvm/tests/ethtool.py
KVM guest always pauses on NOSPACE error, this test
just repeatedly extend guest disk space and resume guest
from paused status.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/scripts/check_image.py |0
client/tests/kvm/tests/enospc.py| 56
- Original Message -
From: Amos Kong ak...@redhat.com
KVM guest always pauses on NOSPACE error, this test
just repeatedly extend guest disk space and resume guest
from paused status.
Changes from v2:
- Oops! Forgot to update tests_base.cfg.sample
Changes from v1:
- Use
For latest kernel, the device name of ide disk is 'sd*',
not 'hd*'.
Signed-off-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/tests/enospc.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/enospc.py b/client/tests/kvm/tests/enospc.py
index
This patchset contains 11 network related subtests, welcome more suggestions
about correctness, design and enhancement.
This is the version 2, thanks your comments.
---
Amos Kong (17):
KVM-test: Add a new macaddress pool algorithm
Add a get_ifname function
KVM Test: Add
-by: Jason Wang jasow...@redhat.com
Signed-off-by: Feng Yang fy...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index fb2d1c2..b019fc5 100644
--- a/client/tests/kvm
It's more clear to use 'nic_mode + nic_index + vnc_port' than 'tap0',
It's also unique for one guest.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 6812c98..e4f216c 100755
The function get_interface_name is used to get the interface name of linux
guest through the macaddress of specified macaddress.
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests
in raw_ping
- Use session.sendline(\003) to send (ctrl+c) signal
- Use None to indicate that the session should be local
- Fix of coding style
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client
.
But we must check the ping result before/after flood-ping.
The interval and packet size could be configurated through tests_base.cfg
Changes from v1:
- Improve error message
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions
According to different nic model set different MTU for it. And ping from guest
to host, to see whether tested size can be received by host.
Changes from v1:
- Make standard of lost ratio can be configured
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
, this test will be fail.
We can extend this test by using another disk later, then we can transfer larger
files without the limit of first disk size.
Changes from v1:
- Use md5 to verify the integrity of files
- Try to use autotest API, such as, utils.system()
Signed-off-by: Amos Kong ak...@redhat.com
Repeatedly load/unload nic driver, try to transfer file between guest and host
by threads at the same time, and check the md5sum.
Changes from v1:
- Use a new method to get nic driver name
- Use utils.hash_file() to get md5sum
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Changes from v1:
- Don't abruptly fail the whole test if we get a failure for a single size
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions
the firewall rules with iptables -F
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/scripts/join_mcast.py
b/client/tests/kvm/scripts/join_mcast.py
new file mode 100755
index 000..0d90e5c
--- /dev/null
+++ b/client
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
FIXME: Use dnsmasq for pxe test
Signed-off-by: Jason Wang jasow...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions
Mainly test steps:
1. get a new mac from pool, and the old mac addr of guest.
2. execute the mac_change.sh in guest.
3. relogin to guest and query the interfaces info by `ifconfig`
Signed-off-by: Cao, Chen k...@redhat.com
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0
TCP_SENDFILE UDP_STREAM. DLPI only supported by Unix, unix domain test is
not necessary, so drop test of DLPI and unix domain.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/netperf.py
b/client/tests/kvm/tests/netperf.py
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index b019fc5..a24585b 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b/client/tests/kvm/kvm_utils.py
@@ -789,7 +789,7 @@ def
vlan
. Maximal plumb/unplumb vlans
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/vlan.py b/client/tests/kvm/tests/vlan.py
new file mode 100644
index 000..a9c84b2
--- /dev/null
+++ b/client/tests/kvm/tests
Framework could not totalise default extra_params and extra_params_vm1 in the
following condition, it's difficult to realise when parsing config file or
calling get_sub_dict*().
extra_params += ' str1'
- case:
extra_params_vm1 += str2
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files
, match new opened TCP port by
netstat. Capture the packages info by tcpdump, it contains package length.
FIXME: Quary supported offload function by 'ethtool'
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/ethtool.py
Bug 615839 - kernel panic when install guest with -fda
There exists a bug of floppy driver, it blocked our installation tests.
So replace floppy with cdrom for Linux guestsin unattended_install.
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions
-by: Amos Kong ak...@redhat.com
---
client/tests/kvm/scripts/unattended.py | 127 ++--
client/tests/kvm/tests_base.cfg.sample | 88 --
2 files changed, 119 insertions(+), 96 deletions(-)
diff --git a/client/tests/kvm/scripts/unattended.py
b/client
-- Forwarded message --
From: Amos Kong kongjian...@gmail.com
Date: Tue, Sep 7, 2010 at 7:49 AM
Subject: Guest hangs when I do general operation.
To: 王箫 siro...@gmail.com
kvm upstream: 43e413f7db1a4a90671dda0b1d6c1f8cb30673ed KVM: Whitespace
changes to remove differences wrt kvm
On Mon, Sep 06, 2010 at 05:33:11PM +0800, Jason Wang wrote:
Kvm-unit-tests have moved to a repo out of qemu-kvm. This patch let
the unittest could build the tests from specified git repo.
Looks good for me.
Reviewed-by: Amos Kong ak...@redhat.com
Signed-off-by: Jason Wang jasow
This summary would be helpful when analyze test log
Signed-off-by: Amos Kong ak...@redhat.com
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/x86/kvmclock_test.c b/x86/kvmclock_test.c
index 5b14ae2..97fe6b3 100644
--- a/x86/kvmclock_test.c
+++ b/x86/kvmclock_test.c
@@ -19,12
On Wed, Sep 8, 2010 at 1:55 AM, Blue Swirl blauwir...@gmail.com wrote:
On Tue, Sep 7, 2010 at 2:43 AM, Amos Kong kongjian...@gmail.com wrote:
kvm upstream: 43e413f7db1a4a90671dda0b1d6c1f8cb30673ed KVM: Whitespace
changes to remove differences wrt kvm-updates/2.6.37
qemu upstream
1 - 100 of 392 matches
Mail list logo