All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] KVM test: Add the support of kernel and initrd option for qemu-kvm
@ 2010-05-19  9:20 Jason Wang
  2010-05-19  9:20 ` [PATCH 2/3] KVM test: Do not use the hard-coded address during unattended installation Jason Wang
  2010-05-19  9:20 ` [PATCH 3/3] KVM test: Add implementation of network based " Jason Wang
  0 siblings, 2 replies; 7+ messages in thread
From: Jason Wang @ 2010-05-19  9:20 UTC (permalink / raw)
  To: lmr, autotest; +Cc: kvm

"-kernel" option is useful for both unattended installation and the
unittest in /kvm/user/test.

Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 client/tests/kvm/kvm_vm.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index c203e14..2515859 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -288,6 +288,16 @@ class VM:
             tftp = kvm_utils.get_path(root_dir, tftp)
             qemu_cmd += " -tftp %s" % tftp
 
+        kernel = params.get("kernel")
+        if kernel:
+            kernel = kvm_utils.get_path(root_dir, kernel)
+            qemu_cmd += " -kernel %s" % kernel
+        
+        initrd = params.get("initrd")
+        if initrd:
+            initrd = kvm_utils.get_path(root_dir, initrd)
+            qemu_cmd += " -initrd %s" % initrd
+        
         extra_params = params.get("extra_params")
         if extra_params:
             qemu_cmd += " %s" % extra_params


^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH 1/3] KVM test: Add the support of kernel and initrd option for qemu-kvm
@ 2010-05-28  8:25 Jason Wang
  2010-05-28  8:25 ` [PATCH 3/3] KVM test: Add implementation of network based unattended installation Jason Wang
  0 siblings, 1 reply; 7+ messages in thread
From: Jason Wang @ 2010-05-28  8:25 UTC (permalink / raw)
  To: lmr, autotest; +Cc: kvm

"-kernel" option is useful for both unattended installation and the
unittest in /kvm/user/test.

Signed-off-by: Jason Wang <jasowang@redhat.com>
---
 client/tests/kvm/kvm_vm.py |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index bca9d15..c7eed56 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -360,6 +360,16 @@ class VM:
             tftp = kvm_utils.get_path(root_dir, tftp)
             qemu_cmd += add_tftp(help, tftp)
 
+        kernel = params.get("kernel")
+        if kernel:
+            kernel = kvm_utils.get_path(root_dir, kernel)
+            qemu_cmd += " -kernel %s" % kernel
+        
+        initrd = params.get("initrd")
+        if initrd:
+            initrd = kvm_utils.get_path(root_dir, initrd)
+            qemu_cmd += " -initrd %s" % initrd
+        
         for redir_name in kvm_utils.get_sub_dict_names(params, "redirs"):
             redir_params = kvm_utils.get_sub_dict(params, redir_name)
             guest_port = int(redir_params.get("guest_port"))


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

end of thread, other threads:[~2010-05-28  8:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-19  9:20 [PATCH 1/3] KVM test: Add the support of kernel and initrd option for qemu-kvm Jason Wang
2010-05-19  9:20 ` [PATCH 2/3] KVM test: Do not use the hard-coded address during unattended installation Jason Wang
2010-05-26 13:58   ` Lucas Meneghel Rodrigues
2010-05-28  8:20     ` Jason Wang
2010-05-19  9:20 ` [PATCH 3/3] KVM test: Add implementation of network based " Jason Wang
2010-05-27 16:30   ` Lucas Meneghel Rodrigues
  -- strict thread matches above, loose matches on Subject: below --
2010-05-28  8:25 [PATCH 1/3] KVM test: Add the support of kernel and initrd option for qemu-kvm Jason Wang
2010-05-28  8:25 ` [PATCH 3/3] KVM test: Add implementation of network based unattended installation Jason Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.