From: Michael Goldish <mgoldish@redhat.com>
To: Jason Wang <jasowang@redhat.com>
Cc: autotest@test.kernel.org, kvm@vger.kernel.org
Subject: Re: [PATCH 9/9] KVM test: Redirect the console to serial for all linux guests
Date: Wed, 28 Apr 2010 15:24:24 +0300 [thread overview]
Message-ID: <4BD828F8.2080609@redhat.com> (raw)
In-Reply-To: <20100426100434.26268.52519.stgit@localhost.localdomain>
On 04/26/2010 01:04 PM, Jason Wang wrote:
> As we have the ability to dump the content from serial console or use
> a session through it, we need to redirect the console to serial
> through unattended files to make use of it.
>
> Signed-off-by: Jason Wang <jasowang@redhat.com>
> ---
> client/tests/kvm/unattended/Fedora-10.ks | 2 +-
> client/tests/kvm/unattended/Fedora-11.ks | 2 +-
> client/tests/kvm/unattended/Fedora-12.ks | 2 +-
> client/tests/kvm/unattended/Fedora-8.ks | 2 +-
> client/tests/kvm/unattended/Fedora-9.ks | 2 +-
> client/tests/kvm/unattended/OpenSUSE-11.xml | 1 +
> client/tests/kvm/unattended/RHEL-3-series.ks | 2 +-
> client/tests/kvm/unattended/RHEL-4-series.ks | 2 +-
> client/tests/kvm/unattended/RHEL-5-series.ks | 2 +-
> client/tests/kvm/unattended/SLES-11.xml | 1 +
> 10 files changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/client/tests/kvm/unattended/Fedora-10.ks b/client/tests/kvm/unattended/Fedora-10.ks
> index 61e59d7..8628036 100644
> --- a/client/tests/kvm/unattended/Fedora-10.ks
> +++ b/client/tests/kvm/unattended/Fedora-10.ks
> @@ -11,7 +11,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
I see no reason to completely silence the regular console. We can let
some output go to the regular console as well as the serial one by using
--append="console=tty0 console=ttyS0"
> zerombr
> clearpart --all --initlabel
> autopart
> diff --git a/client/tests/kvm/unattended/Fedora-11.ks b/client/tests/kvm/unattended/Fedora-11.ks
> index 0be7d06..5ce8ee2 100644
> --- a/client/tests/kvm/unattended/Fedora-11.ks
> +++ b/client/tests/kvm/unattended/Fedora-11.ks
> @@ -10,7 +10,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
>
> clearpart --all --initlabel
> diff --git a/client/tests/kvm/unattended/Fedora-12.ks b/client/tests/kvm/unattended/Fedora-12.ks
> index 0be7d06..5ce8ee2 100644
> --- a/client/tests/kvm/unattended/Fedora-12.ks
> +++ b/client/tests/kvm/unattended/Fedora-12.ks
> @@ -10,7 +10,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
>
> clearpart --all --initlabel
> diff --git a/client/tests/kvm/unattended/Fedora-8.ks b/client/tests/kvm/unattended/Fedora-8.ks
> index f4a872d..884d556 100644
> --- a/client/tests/kvm/unattended/Fedora-8.ks
> +++ b/client/tests/kvm/unattended/Fedora-8.ks
> @@ -11,7 +11,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
> clearpart --all --initlabel
> autopart
> diff --git a/client/tests/kvm/unattended/Fedora-9.ks b/client/tests/kvm/unattended/Fedora-9.ks
> index f4a872d..884d556 100644
> --- a/client/tests/kvm/unattended/Fedora-9.ks
> +++ b/client/tests/kvm/unattended/Fedora-9.ks
> @@ -11,7 +11,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
> clearpart --all --initlabel
> autopart
> diff --git a/client/tests/kvm/unattended/OpenSUSE-11.xml b/client/tests/kvm/unattended/OpenSUSE-11.xml
> index 7dd44fa..2a4fec0 100644
> --- a/client/tests/kvm/unattended/OpenSUSE-11.xml
> +++ b/client/tests/kvm/unattended/OpenSUSE-11.xml
> @@ -50,6 +50,7 @@
> <module>edd</module>
> </initrd_module>
> </initrd_modules>
> + <append>console=ttyS0,115200</append>
> <loader_type>grub</loader_type>
> <sections config:type="list"/>
> </bootloader>
> diff --git a/client/tests/kvm/unattended/RHEL-3-series.ks b/client/tests/kvm/unattended/RHEL-3-series.ks
> index 884b386..26b1130 100644
> --- a/client/tests/kvm/unattended/RHEL-3-series.ks
> +++ b/client/tests/kvm/unattended/RHEL-3-series.ks
> @@ -10,7 +10,7 @@ rootpw 123456
> firewall --enabled --ssh
> timezone America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> clearpart --all --initlabel
> autopart
> reboot
> diff --git a/client/tests/kvm/unattended/RHEL-4-series.ks b/client/tests/kvm/unattended/RHEL-4-series.ks
> index ce4a430..f2f934f 100644
> --- a/client/tests/kvm/unattended/RHEL-4-series.ks
> +++ b/client/tests/kvm/unattended/RHEL-4-series.ks
> @@ -11,7 +11,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
> clearpart --all --initlabel
> autopart
> diff --git a/client/tests/kvm/unattended/RHEL-5-series.ks b/client/tests/kvm/unattended/RHEL-5-series.ks
> index f4a872d..884d556 100644
> --- a/client/tests/kvm/unattended/RHEL-5-series.ks
> +++ b/client/tests/kvm/unattended/RHEL-5-series.ks
> @@ -11,7 +11,7 @@ firewall --enabled --ssh
> selinux --enforcing
> timezone --utc America/New_York
> firstboot --disable
> -bootloader --location=mbr
> +bootloader --location=mbr --append="console=ttyS0,115200"
> zerombr
> clearpart --all --initlabel
> autopart
> diff --git a/client/tests/kvm/unattended/SLES-11.xml b/client/tests/kvm/unattended/SLES-11.xml
> index 93e5685..7656891 100644
> --- a/client/tests/kvm/unattended/SLES-11.xml
> +++ b/client/tests/kvm/unattended/SLES-11.xml
> @@ -49,6 +49,7 @@
> <module>edd</module>
> </initrd_module>
> </initrd_modules>
> + <append>console=ttyS0,115200</append>
> <loader_type>grub</loader_type>
> <sections config:type="list"/>
> </bootloader>
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-04-28 12:24 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-26 10:03 [PATCH 0/9] Make use of the redirection of guest serial Jason Wang
2010-04-26 10:03 ` [PATCH 1/9] KVM test: Introduce the prompt assist Jason Wang
2010-04-28 11:28 ` Michael Goldish
2010-05-06 2:55 ` Jason Wang
2010-05-06 15:18 ` Lucas Meneghel Rodrigues
2010-04-26 10:03 ` [PATCH 2/9] KVM test: Add the ability to send the username in remote_login() Jason Wang
2010-04-28 11:32 ` Michael Goldish
2010-04-26 10:03 ` [PATCH 3/9] KVM test: Make the login re suitable for serial console Jason Wang
2010-04-28 11:18 ` Michael Goldish
2010-05-06 2:57 ` Jason Wang
2010-04-26 10:03 ` [PATCH 4/9] KVM test: Redirect the serial to the unix domain socket Jason Wang
2010-04-26 10:04 ` [PATCH 5/9] KVM test: Log the content from guest serial console Jason Wang
2010-04-28 13:26 ` Michael Goldish
2010-05-06 3:03 ` Jason Wang
2010-04-26 10:04 ` [PATCH 6/9] KVM test: Raise error when met unknown type in kvm_vm.remote_login() Jason Wang
2010-05-06 15:15 ` [Autotest] " Lucas Meneghel Rodrigues
2010-04-26 10:04 ` [PATCH 7/9] KVM test: Introduce the local_login() Jason Wang
2010-04-28 12:01 ` Michael Goldish
2010-04-28 23:44 ` Amos Kong
[not found] ` <20100428234409.GA2738@akong@redhat.com>
2010-05-05 9:37 ` [Autotest] " Michael Goldish
2010-05-06 3:07 ` Jason Wang
2010-04-26 10:04 ` [PATCH 8/9] KVM test: Create the background threads before calling process() Jason Wang
2010-04-28 11:55 ` Michael Goldish
2010-05-06 15:35 ` [Autotest] " Lucas Meneghel Rodrigues
2010-04-26 10:04 ` [PATCH 9/9] KVM test: Redirect the console to serial for all linux guests Jason Wang
2010-04-28 12:24 ` Michael Goldish [this message]
2010-05-06 3:08 ` Jason Wang
2010-05-06 15:43 ` Lucas Meneghel Rodrigues
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BD828F8.2080609@redhat.com \
--to=mgoldish@redhat.com \
--cc=autotest@test.kernel.org \
--cc=jasowang@redhat.com \
--cc=kvm@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).