xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH 05/10] ts-host-install: Support for different console devices
Date: Wed, 4 Sep 2013 17:58:18 +0100	[thread overview]
Message-ID: <1378313903-10539-5-git-send-email-ian.campbell@citrix.com> (raw)
In-Reply-To: <1378313870.17510.172.camel@kazak.uk.xensource.com>

Subsumes NoSerial host property as well.
---
 README          |    5 +++--
 ts-host-install |    6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/README b/README
index d92afea..4bf3b26 100644
--- a/README
+++ b/README
@@ -88,8 +88,9 @@ HostProp_<testbox>_Ether
    MAC address of the box <testbox>.  Only needed if you want
    to use the osstest host and Xen installer.
 
-HostProp_<testbox>_NoSerial
-   Set to 1 if <testbox> has no serial, system will use VGA console
+HostProp_<testbox>_SerialConsole
+   Set to the serial console device on the platform. Defaults to
+   ttyS0. If set to "NONE" then the system will use VGA console
    instead.
 
 HostProp_<testbox>_DIFrontend
diff --git a/ts-host-install b/ts-host-install
index b7257d7..b974365 100755
--- a/ts-host-install
+++ b/ts-host-install
@@ -177,8 +177,10 @@ END
         get_host_property($ho, "install-append $ho->{Suite}", '');
 
     push @installcmdline, qw(--);
-    push @installcmdline, "console=ttyS0,$c{Baud}n8"
-	unless get_host_property($ho, "NoSerial", "0");
+
+    my $console = get_host_property($ho, "SerialConsole", "ttyS0");
+    push @installcmdline, "console=$console,$c{Baud}n8"
+        unless $console eq "NONE";
 
     my $installcmdline= join ' ', @installcmdline;
 
-- 
1.7.10.4

  parent reply	other threads:[~2013-09-04 16:58 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04 16:57 [PATCH osstest 00/10] Add initial support for testing arm32 on arm servers (Calxeda Midway) Ian Campbell
2013-09-04 16:58 ` [PATCH 01/10] README: Point to current test report mail Ian Campbell
2013-09-04 16:58 ` [PATCH 02/10] Allow hyphen in host names when parsing properties Ian Campbell
2013-09-04 16:58 ` [PATCH 03/10] standalone-reset: configure for armhf too Ian Campbell
2013-09-04 16:58 ` [PATCH 04/10] mg-debian-installer-update: support armhf Ian Campbell
2013-09-04 16:58 ` Ian Campbell [this message]
2013-09-04 16:58 ` [PATCH 06/10] ts-host-install: Add need-kernel-deb host flag Ian Campbell
2013-09-04 16:58 ` [PATCH 07/10] Debian: Honour need-kernel-deb- flag in the installed system too Ian Campbell
2013-09-04 16:58 ` [PATCH 08/10] Debian: New host flag need-uboot-bootstr Ian Campbell
2013-09-04 16:58 ` [PATCH 09/10] Debian: New host flag "no-di-kernel" Ian Campbell
2013-09-04 16:58 ` [PATCH 10/10] make-flight: make an armhf flight Ian Campbell
2013-09-04 17:42 ` [PATCH osstest 00/10] Add initial support for testing arm32 on arm servers (Calxeda Midway) Ian Campbell
2013-09-05 11:27 ` Ian Campbell
2013-09-05 11:31   ` Ian Jackson
2013-09-05 11:36     ` Ian Campbell
2013-09-06 15:12 ` Ian Campbell
2013-09-06 16:13   ` Ian Jackson
2013-09-09  9:51     ` Ian Campbell
2013-09-10 16:54       ` Ian Jackson
2013-09-11  9:24         ` Ian Campbell
2013-09-11 16:17           ` Ian Jackson
2013-09-12  8:46             ` Ian Campbell
2013-09-12 11:00               ` Ian Jackson
2013-09-12 11:19                 ` Ian Campbell
2013-09-12 14:22                   ` Ian Jackson
2013-09-12 14:27                     ` Ian Campbell
2013-09-12 11:28                 ` Ian Campbell
2013-09-12 14:46                   ` Ian Jackson
2013-09-10 16:54       ` Ian Jackson
2013-09-09 10:01     ` Ian Campbell
2013-09-09 10:34       ` Ian Campbell

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=1378313903-10539-5-git-send-email-ian.campbell@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xen.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).