[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 01/35] Serial console: honour LinuxSerialConsole in bootloader setup



Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/Debian.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 5eecf92..52527bf 100644
--- a/Osstest/Debian.pm
+++ b/Osstest/Debian.pm
@@ -67,8 +67,9 @@ sub debian_boot_setup ($$$$$;$) {
 
     my $kopt;
     my $console= target_var($ho,'console');
+    $console ||= get_host_native_linux_console($ho);
     if (defined $console && length $console) {
-        $kopt= "console=$console";
+        $kopt= $console eq 'NONE' ? '' : "console=$console";
     } else {
         $kopt= "xencons=ttyS console=ttyS0,$c{Baud}n8";
     }
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.