]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
ts-xen-install: enable timestamp on guests logs
authorRoger Pau Monne <roger.pau@citrix.com>
Thu, 25 Nov 2021 15:06:46 +0000 (16:06 +0100)
committerIan Jackson <iwj@xenproject.org>
Mon, 6 Dec 2021 18:17:13 +0000 (18:17 +0000)
Enable the timestamp feature of xenconsoled so guests logs have a time
reference. Can be helpful when debugging boot related slowness.

This requires using the XENCONSOLED_ARGS option and setting both the
log and the timestamp options. Note that setting XENCONSOLED_TRACE
will override any options in XENCONSOLED_ARGS, so they can not be used
in conjunction.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <iwj@xenproject.org>
ts-xen-install

index 47865eb607966961ee5707dde482194ba8d38af6..bf55d4e5c470cb54014dd2d8a31cd3e2b5611d76 100755 (executable)
@@ -140,7 +140,7 @@ sub adjustconfig () {
 
     my @commons_config =
         (
-          "XENCONSOLED_TRACE" => "guest",
+          "XENCONSOLED_ARGS" => '"--log=guest --timestamp=all"',
        );
 
     my $xenstored = target_var($ho, 'xenstored');