On 02/03/2010 04:47 PM, Michael Goldish wrote:
- "Uri Lublin" wrote:
Signed-off-by: Uri Lublin
---
client/tests/kvm/tests/timedrift.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.py
b/client/tests/kvm/tests/ti
On 02/03/2010 04:25 PM, Michael Goldish wrote:
- "Uri Lublin" wrote:
On 02/02/2010 01:48 PM, Lucas Meneghel Rodrigues wrote:
Hi folks:
We're on an effort of streamlining the KVM test experience, by
choosing
sane defaults and helper scripts that can overcome the initial
Signed-off-by: Uri Lublin
---
client/tests/kvm/tests/timedrift.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.py
b/client/tests/kvm/tests/timedrift.py
index b3e8770..06f6a70 100644
--- a/client/tests/kvm/tests/timedrift.py
+++ b
On 02/02/2010 01:48 PM, Lucas Meneghel Rodrigues wrote:
Hi folks:
We're on an effort of streamlining the KVM test experience, by choosing
sane defaults and helper scripts that can overcome the initial barrier
with getting the KVM test running. On one of the conversations I've had
today, we came
On 10/21/2009 11:31 PM, Lucas Meneghel Rodrigues wrote:
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -339,20 +339,27 @@ class VM:
+elif params.get("sha1sum"):
+logging.debug("Comparing expected SHA1 sum with SHA1 sum of "
+
On 10/21/2009 11:31 PM, Lucas Meneghel Rodrigues wrote:
Some distributors ship CD and DVD files with SHA1 hash sums instead
of MD5 hash sums, so let's extend the kvm_utils functions to
evaluate and compare SHA1 hashes:
* sha1sum_file(): Calculate SHA1 sum for file
+def sha1sum_file(filename, siz
On 10/21/2009 12:37 PM, Amos Kong wrote:
On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote:
- "Dor Laor" wrote:
On 10/15/2009 11:48 AM, Amos Kong wrote:
For the sake of safety maybe we should start both VMs with -snapshot.
Dor, what do you think? Is it safe to start 2 VMs w
On 09/14/2009 08:26 AM, Yolkfull Chow wrote:
On Wed, Sep 09, 2009 at 09:12:05PM +0300, Michael Goldish wrote:
This module is meant to reduce code size by performing common test procedures.
Generally, code here should look like test code.
+def wait_for_login(vm, nic_index=0, timeout=240):
+
On 08/31/2009 12:29 PM, Lukáš Doktor wrote:
This patch adds KSM test. We faced many difficulties which weren't
solvable by regular ways so please take a look and comment.
Hello Lukas,
Can you please provide reviewers with some more information:
1. What does your test do. Please briefly outline
On 06/19/2009 12:50 AM, David Huff wrote:
this script gets run by the preprocesser and setup a floppy disk image
containing the answers file
will also setup a pxe envrionment if tftp parameter is supplied.
Hi David,
Most of my comments would probably be "automatically" fixed when you port it
On 06/19/2009 12:50 AM, David Huff wrote:
You must add your own product key to the windows config file.
---
client/tests/kvm/unattended/Fedora-11-i386.ks | 24 +++
client/tests/kvm/unattended/WinXP-32.sif | 52 +
2 files changed, 76 insertions(+), 0 de
On 06/15/2009 10:45 PM, Michael Goldish wrote:
Currently parameters for barrier_2() are extracted from 'params' in the main
run_steps() test routine, and then passed to barrier_2().
Instead, let barrier_2() extract parameters from 'params' as it sees fit.
This will make adding new parameters slig
From: Supriya Kannery
Default is to run each test once.
Just add iterations = N in kvm_tests.cfg to the test(s) you
want to run multiple times.
Signed-off-by: Supriya Kannery
Cc : Michael Goldish
Signed-off-by: Uri Lublin
---
client/tests/kvm/control |4 +++-
1 files changed, 3
The following patch did not make it in the merge.
I've been waiting for the merge to stabilize first.
--
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
On 06/09/2009 11:41 AM, Yolkfull Chow wrote:
Hi,
This test will boot VMs until one of them becomes unresponsive, and
records the maximum number of VMs successfully started.
Hello,
Some more comments (in addition to previous comments by others)
1. Do not just send monitor command "quit" but
changes since commit 2a0a76645f72dcbd495ea37b566d017796eca24e:
Uri Lublin (1):
kvm_tests.cfg: adding some missing iso image md5sum values
are available in the git repository at:
git://github.com/ehabkost/autotest.git to-kvm-autotest-merge1
Hello,
I ran some tests using the newly merged kvm-autotest.
Results summa
changes since commit 2a0a76645f72dcbd495ea37b566d017796eca24e:
Uri Lublin (1):
kvm_tests.cfg: adding some missing iso image md5sum values
are available in the git repository at:
git://github.com/ehabkost/autotest.git to-kvm-autotest-merge1
Pulled, Thanks.
--
To unsubscribe from this list: send the line "unsubscr
On 05/21/2009 03:29 AM, Mike Burns wrote:
See comment in control file for details of implementation
Signed-off-by: Mike Burns
---
client/tests/kvm_runtest_2/control|6 ++
client/tests/kvm_runtest_2/kvm_install.py | 11 +--
2 files changed, 15 insertions(+), 2 deleti
On 05/12/2009 06:34 PM, Mike Burns wrote:
From: Michael Burns
Signed-off-by: Michael Burns
---
client/tests/kvm_runtest_2/control| 18 +-
client/tests/kvm_runtest_2/kvm_install.py | 15 +++
2 files changed, 32 insertions(+), 1 deletions(-)
diff --git
On 05/10/2009 08:15 PM, sudhir kumar wrote:
Hi Uri,
Any comments?
-- Forwarded message --
From: sudhir kumar
The kvm-autotest shows the following PASS results for migration,
while the VM was crashed and test should have failed.
Here is the sequence of test commands and results
got on the IRC
channel, people are happy with the current state of the test. I am going
to commit it if nobody pronounces against it :)
From: Uri Lublin (u...@redhat.com)
Dror Russo (dru...@redhat.com)
Michael Goldish (mgold...@redhat.com)
David Huff (dh...@
sudhir kumar wrote:
Michael,
any updates on this patch? Are you going to commit this or you have
any other plans/patch ?
I'm not sure having the inter-host migration is best implemented on the
autotest-client side. Actually this is one of the few tests I think belong to
the autotest-server s
David Huff wrote:
This will allow for adding of additional tests with out modifying the "code."
One would just add the testname.py file to the test_dir and edit the comfig
file.
---
client/tests/kvm_runtest_2/kvm_runtest_2.py | 32 +++---
1 files changed, 23 insertions(+)
David Huff wrote:
looking for comments/feedback
These relatively simple changes to kvm_runtest_2 will allow for the addition of new tests without having modifying kvm_runtest "code."
One would just add a newtest.py file and update the config file. This will
simplify test development an
On 05/04/2009 03:08 PM, supriya kannery wrote:
A commit-message is useful here.
Signed-off-by: Supriya Kannery
Cc : Michael Goldish
> --- kvm-autotest-tap/client/tests/kvm_runtest_2/control 2009-05-04
17:03:20.0 +0530
> +++ kvm-autotest-tap/client/tests/kvm_runtest_2/control.mod 2009-
On 05/14/2009 01:29 PM, sudhir kumar wrote:
> On Thu, May 14, 2009 at 12:22 PM, jason wang wrote:
>> 2) Public bridge support: I've sent a patch(TAP network support in
>> kvm-autotest), this patch needs external DHCP server and requires nmap
>> support. I don't know whether the method of original
supriya kannery wrote:
A patch for iterating over VM reboot
- Supriya Kannery,
LTC, IBM
I think adding iterations capability belongs to the infrastructure, not the test
itself. Implement it once in the infrastructure, instead of once per test.
Also I think autotest has such a capability (ad
Hello,
I've just pushed some new commits of kvm-autotest.
One thing that have changed is the way we name steps-data images (and as a
result a minor change to the step files format).
If you have created your own step-files (and have the automatically-generated
steps-data images for them), you
Avi Kivity wrote:
Eduardo Habkost wrote:
Signed-off-by: Eduardo Habkost
---
client/tests/kvm_runtest_2/stepeditor.py | 14 +-
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/client/tests/kvm_runtest_2/stepeditor.py
b/client/tests/kvm_runtest_2/stepeditor.py
inde
Avi Kivity wrote:
Plain 'qemu' now runs an empty VM; a -help is needed to get the help message.
Signed-off-by: Avi Kivity
---
client/tests/kvm_runtest_2/kvm_preprocessing.py |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm_runtest_2/kvm_preprocessing.p
Ryan Harper wrote:
When a test case fails and throws an execption, we don't log the
exception details, only that it occured.
reboot: DEBUG: remote_login: Got password prompt; sending '123456'
reboot: DEBUG: remote_login: Got shell prompt -- logged in
reboot: Logged in
reboot: DEBUG: run_once: Te
Ryan Harper wrote:
When generating an html report from make_html_report.py, one needs to
supply the full path to the results directory. This value ends up being
embedded in the output which breaks relocating the results dir to a
different path. This patch adds a new flag that supresses the full
Mike Burns wrote:
Signed-off-by: Mike Burns
Applied, thanks.
Ryan, thanks for the Ack.
--
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
Jamie Lokier wrote:
Anthony Liguori wrote:
block-qcow2: keep highest allocated byte (Uri Lublin)
We want to know the highest written offset for qcow2 images.
This gives a pretty good (and easy to calculate) estimation to how
much more allocation can be done for the block device
seconds), and subsequently Libvirt times out when I try to start a
guest VM from virsh.
This is caused by qemu r6404:
commit 5d4cbd78aa33f6d034a62207c99ad0b64af44621
Author: aliguori
Date: Thu Jan 22 18:57:22 2009 +
block-qcow2: keep highest allocated byte (Uri Lublin)
We want
Ryan Harper wrote:
* Uri Lublin [2009-03-04 01:59]:
I noticed the references to the setup isos for windows that presumbly
install cygwin telnetd/sshd, are those available? if the isos
themselves aren't, if the build instructions are, that would be very
useful.
You are right. We do ha
From: "sudhir kumar"
>On Wed, Mar 4, 2009 at 11:45 PM, Ryan Harper wrote:
>>> * Uri Lublin [2009-03-04 02:59]:
>>> >- guest install wizard using md5sum region matching ... ouch. This is
>>> >quite fickle. I've seen different kvms generate di
From: "Ryan Harper"
> Uri Lublin [2009-03-04 02:59]:
>>
>> > - it seems like the definition and rules ought to be separate from the
>> > last section which defines which tests to run (the fc8_quick area), so
>> > adding something as simple as i
Ryan Harper wrote:
* Uri Lublin [2009-03-01 13:10]:
Ryan,
Sorry for the late response.
KVM-autotest is a test framework for kvm, based on autotest
(http://autotest.kernel.org).
I've been digging into kvm_runtest_2 and have some feedback, but first
to say, runtest_2 is huge cleanu
Hello,
KVM-autotest is a test framework for kvm, based on autotest
(http://autotest.kernel.org).
Its purpose is to keep kvm stable.
For developers, we want to find regressions early.
For users, we want users to feel confident kvm runs well on their own machine.
Also we would like to present re
John Wong wrote:
Hi, how do you send keyboard signal to guest vm?
eg: ctrl+alt+del, ctrl+alt+back, ctrl+alt+f1
Try using sendkey monitor command, e.g. "sendkey ctrl-alt-f1".
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kerne
hony Liguori wrote:
Uri Lublin wrote:
In the scenario above (with ACK/GO messages), SRC _does_ know that DST
have failed (as it does not receive ACK). With ACK/GO messages we only
need third party involvement to handle a scenario where GO does not
reach DST. Without ACK/GO messages we need
Anthony Liguori wrote:
Uri Lublin wrote:
That is true, but in the case I mentioned above it would take the
management tool some time (guest down time) to realize what happens,
and to send "cont" to the SRC. With end-of-migration messages SRC
discovers DST fails and immediately co
Avi Kivity wrote:
Uri Lublin wrote:
Weren't there some acks flowing back on the old protocol to let the
source now things are fine?
There were, but there aren't now. They don't improve reliability.
Why do you think they don't improve reliability ?
The Ack/Go message
Anthony Liguori wrote:
Avi Kivity wrote:
Anthony Liguori wrote:
Uri Lublin wrote:
Anthony Liguori wrote:
I have already cut your text, but I don't understand the comment
about not being "full duplex". Is there a reason why migration needs
to be bidirectional? I don
Anthony Liguori wrote:
Uri Lublin wrote:
Anthony Liguori wrote:
I have already cut your text, but I don't understand the comment about
not being "full duplex". Is there a reason why migration needs to be
bidirectional? I don't think there's a fundamental reason it
Anthony Liguori wrote:
Anthony Liguori wrote:
Also, having checks and the read and write functions to determine if
the is_write flag is set along with whether buf_index > 0 that
fprintf()'d and aborted would be good for debugging.
I have a patch that does this along with fixing a few other
Avi Kivity wrote:
Uri Lublin wrote:
Currently qemu_fopen_ops accepts both get_buffer and put_buffer, but
if both are given (non NULL) we encounter problems:
1. There is only one buffer and index, which may mean data corruption.
2. qemu_flush (which is also called by qemu_fclose) is writing
given to qemu_fopen_ops.
2. It changes qemu_fopen_fd to register only get_buffer for a reader
and only put_buffer for a writer (adding a 'reader' parameter).
3. The incoming fd migration code calls qemu_fopen_fd as a reader only.
Signed-off-by: Uri Lublin <[EMAIL PROTECTED]>
--
Hello,
We are testing 5 guest OSes, each with some qemu/kvm command line options and
using some tests. For example user-irq means '-no-kvm-irqchip -no-kvm-pit'.
Regards,
Uri.
kvm_setup GOOD
kvm_install
Similar to include/asm.
Otherwise, if already exists, the new symlink is created under the old linked
directory.
Signed-off-by: Uri Lublin <[EMAIL PROTECTED]>
---
kernel/Makefile |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/Makefile b/kernel/Makefile
Instead of just printing an error message.
Signed-off-by: Uri Lublin <[EMAIL PROTECTED]>
---
qemu/vl.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/qemu/vl.c b/qemu/vl.c
index b34a114..9a4a4ec 100644
--- a/qemu/vl.c
+++ b/qemu/vl.c
@@ -7117,6 +7117,8
The default for .slot is 0, which is wrong for all other kvm-slots.
This fixes enabling/disabling kvm dirty page logging.
Signed-off-by: Uri Lublin <[EMAIL PROTECTED]>
---
libkvm/libkvm.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libkvm/libkvm.c b/libkvm/li
jd wrote:
Hi
I have a setup using shared nfs disks. When migration is attempted, it fails... any ideas on how to debug this..?
/Jd
Details
===
migration: write failed (Connection reset by peer)^M
Migration failed! ret=0 error=9
Source : KVM-73, Cent OS 5.2, 64 bit.
qemu-system-x86_
Hacking, Stuart wrote:
From: Uri Lublin [mailto:[EMAIL PROTECTED]
Hacking, Stuart wrote:
Hello,
Hi,
We have been doing some experimentation with modifications to the
migration code in the Qemu and came up against a problem.
We included
some code in a different file and are receiving the
Hacking, Stuart wrote:
Hello,
Hi,
We have been doing some experimentation with modifications to the
migration code in the Qemu and came up against a problem. We included
some code in a different file and are receiving the following error from
make:
---
Migration.o: In function `migrate_pr
Sukanto Ghosh wrote:
Hi,
What needs to be done in case I want to automate the live migration of
the guests (e.g. for load balancing) ?
I want to have some programs running on multiple nodes, which will
monitor the load on the respective hosts and in case of imbalance can
automatically migrate a
Stuart Sheldon wrote:
Another newbie question...
I've looks all over the place, and just can't seem to figure this out. I
want to build and install everything but the kernel modules from release
source. This will allow me to test against the vanilla modules that come
with the kernel source. C
Stephen Liu wrote:
Hi folks,
Ubuntu 8.04 server amd64 - host - headless (w/o X packages)
Ubuntu 6.06 server amd64 - guest - headless (w/o X packages)
KVM
> # qemu-img create -f qcow2 ubuntu6.06_080805.img 10G
Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB
# kvm -hdb ubunt
Stephen Liu wrote:
--- Uri Lublin <[EMAIL PROTECTED]> wrote:
Stephen Liu wrote:
# qemu-img create -f qcow2 ubuntu6.06_080805.img 10G
Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB
# kvm -hdb ubuntu6.06_080805.img -cdrom /dev/scd0 -m 512
Stephen Liu wrote:
Hi folks,
Ubuntu 8.04 server amd64 - host - headless (w/o X packages)
Ubuntu 6.06 server amd64 - guest - headless (w/o X packages)
KVM
# qemu-img create -f qcow2 ubuntu6.06_080805.img 10G
Formatting 'ubuntu6.06_080805.img', fmt=qcow2, size=10485760 kB
# kvm -hdb ubuntu6.0
Ryan Harper wrote:
* Uri Lublin <[EMAIL PROTECTED]> [2008-07-16 18:15]:
I think most kvm-tests will be client tests.
Agreed, the above examples will be client tests. Autotest client can do
parallel execution, or even step-wise. Between those, we should be able
to ensure we get
Ryan Harper wrote:
* Uri Lublin <[EMAIL PROTECTED]> [2008-07-14 20:26]:
Ryan Harper wrote:
* Uri Lublin <[EMAIL PROTECTED]> [2008-07-10 07:42]:
Marcelo Tosatti wrote:
On Sun, Jul 06, 2008 at 01:16:13PM +0300, Uri Lublin wrote:
- As you mention, it should reuse the server/clie
paolo pedaletti wrote:
Hi,
I hope this is the right ml to submit my problem.
Abstract: I can't setup 2 different network inside my VMs, one public
and one private.
Scheme:
eth0 -
-| proxy |---eth1
|- |
H| |
O| eth0 - |
S|-
Ryan Harper wrote:
* Uri Lublin <[EMAIL PROTECTED]> [2008-07-10 07:42]:
Marcelo Tosatti wrote:
On Sun, Jul 06, 2008 at 01:16:13PM +0300, Uri Lublin wrote:
- As you mention, it should reuse the server/client model for running
tests inside guests. I hacked up a "kvm_autotest
Marcelo Tosatti wrote:
On Thu, Jul 10, 2008 at 03:09:36PM +0300, Uri Lublin wrote:
The big problem with writing client tests is that you have to rewrite
what autotest already provides, diverging from mainline. That means work
to be done everytime a new test is added in autotest, which could
Marcelo Tosatti wrote:
On Sun, Jul 06, 2008 at 01:16:13PM +0300, Uri Lublin wrote:
The test framework is based on autotest ( http://test.kernel.org/autotest ).
Currently we only using client tests, later we may want to use server tests
for more complicated tests.
This is looking great
Hello,
We are happy to announce the availability of kvm-autotest, a test framework
for KVM based on autotest. Naturally, the purpose is to make KVM stable,
find/fix bugs faster and prevent regressions. It is to serve developers, to test
if their new code breaks anything, as well as users,
From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED]
>I am trying the live migration function, but meet some problem: The
>guest OS was blocked (or maybe dead) on target machine.
>
>The symptom is I can not interact with the migrated OS after operation.
>I believe it's dead, because the mouse ca
Signed-off-by: Uri Lublin <[EMAIL PROTECTED]>
---
libkvm/libkvm.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c
index 1e7bbed..62bcb90 100644
--- a/libkvm/libkvm.c
+++ b/libkvm/libkvm.c
@@ -243,6 +243,9 @@ kvm_context_t kv
70 matches
Mail list logo