kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] KVM-test: Add new drive option 'werror'
@ 2010-01-19 14:18 Amos Kong
  2010-01-19 15:21 ` [Autotest] " Lucas Meneghel Rodrigues
  0 siblings, 1 reply; 2+ messages in thread
From: Amos Kong @ 2010-01-19 14:18 UTC (permalink / raw)
  To: autotest; +Cc: kvm


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 <akong@redhat.com>
---
 client/tests/kvm/kvm_vm.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 7c55ba0..8985f25 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -231,6 +231,8 @@ class VM:
                 qemu_cmd += ",if=%s" % image_params.get("drive_format")
             if image_params.get("drive_cache"):
                 qemu_cmd += ",cache=%s" % image_params.get("drive_cache")
+            if image_params.get("drive_werror"):
+                qemu_cmd += ",werror=%s" % image_params.get("drive_werror")
             if image_params.get("drive_serial"):
                 qemu_cmd += ",serial=%s" % image_params.get("drive_serial")
             if image_params.get("image_snapshot") == "yes":
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Autotest] [PATCH] KVM-test: Add new drive option 'werror'
  2010-01-19 14:18 [PATCH] KVM-test: Add new drive option 'werror' Amos Kong
@ 2010-01-19 15:21 ` Lucas Meneghel Rodrigues
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas Meneghel Rodrigues @ 2010-01-19 15:21 UTC (permalink / raw)
  To: Amos Kong; +Cc: autotest, kvm

On Tue, Jan 19, 2010 at 12:18 PM, Amos Kong <akong@redhat.com> wrote:
>
> Add new drive option 'werror' of qemu-kvm command for KVM-autotest workframe.
> It can be configured by 'drive_werror' variable in configure file.

Applied, thanks!

> Signed-off-by: Amos Kong <akong@redhat.com>
> ---
>  client/tests/kvm/kvm_vm.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
> index 7c55ba0..8985f25 100755
> --- a/client/tests/kvm/kvm_vm.py
> +++ b/client/tests/kvm/kvm_vm.py
> @@ -231,6 +231,8 @@ class VM:
>                 qemu_cmd += ",if=%s" % image_params.get("drive_format")
>             if image_params.get("drive_cache"):
>                 qemu_cmd += ",cache=%s" % image_params.get("drive_cache")
> +            if image_params.get("drive_werror"):
> +                qemu_cmd += ",werror=%s" % image_params.get("drive_werror")
>             if image_params.get("drive_serial"):
>                 qemu_cmd += ",serial=%s" % image_params.get("drive_serial")
>             if image_params.get("image_snapshot") == "yes":
> --
> 1.5.6.5
>
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
>



-- 
Lucas

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-19 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-19 14:18 [PATCH] KVM-test: Add new drive option 'werror' Amos Kong
2010-01-19 15:21 ` [Autotest] " Lucas Meneghel Rodrigues

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).