Skip to contentSkip to conversation

xtf: Always boot with loglvl=all guest_loglvl=all

PATCH In review Ian Jackson 2 participants 5 messages Nov 8, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 xtf: Always boot with loglvl=all guest_loglvl=all

---
 make-flight | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
make-flight +1 -1
index 7bb536f..a374884 100755
@@ -463,7 +463,7 @@ do_xtf_tests () {
       job_create_test test-xtf-$xenarch-$dom0arch-$i                 \
        test-xtf xl $xenarch $dom0arch                                \
             xtfbuildjob=${bfi}build-$xenarch-xtf                           \
-            xen_boot_append='hvm_fep=1'                              \
+            xen_boot_append='hvm_fep=1 loglvl=all guest_loglvl=all'	\
             all_hostflags=$most_hostflags,diverse-xtf-x86
   done
 }
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#1 lore raw

PATCH v2 2/4 BuildSupport: Honour $buildcmd_global_prefix

This will make life more convenient in a moment.

---
 Osstest/BuildSupport.pm | 4 ++++
 1 file changed, 4 insertions(+)
Osstest/BuildSupport.pm +4 -0
index 7e114cf..4c2b658 100644
@@ -38,6 +38,7 @@ BEGIN {
                       builddirsprops
                       buildcmd_stamped_logged
                       $builddir $makeflags
+		      $buildcmd_global_prefix
 
                       prepbuilddirs
 
@@ -57,10 +58,13 @@ our ($whhost,$ho);
 our ($builddir,$makeflags);
 our ($xendist);
 
+our $buildcmd_global_prefix //= '';
+
 sub buildcmd_stamped_logged ($$$$$$) {
     my ($timeout, $component, $stampname, $prefix, $cmd, $suffix) = @_;
     target_cmd_build($ho, $timeout, $builddir, <<END);
         cd $component
+        $buildcmd_global_prefix
         $prefix
         ( $cmd 2>&1 &&             touch ../$stampname-ok-stamp
         ) |tee ../$stampname-log
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw

PATCH v2 3/4 ts-xen-build: Enable CONFIG_EXPERT

In reply to Ian Jackson

This requires an environment variable set in the build environment, too. (There is an argument amongst hypervisor maintainers about whether this requirement in xen.git is a good idea; but, nevertheless, it is currently there in several existing trees, so we need to set it.)

---
 ts-xen-build | 5 +++++
 1 file changed, 5 insertions(+)
ts-xen-build +5 -0
index 3e53d74..80f6492 100755
@@ -43,6 +43,10 @@ builddirsprops();
 
 my $enable_xsm = ($r{enable_xsm}//'false') =~ m/true/ ? 1 : 0;
 
+$buildcmd_global_prefix= <<END;
+    export XEN_CONFIG_EXPERT=y
+END
+
 sub config_tree ($$$) {
     my ($which, $configurlvar, $configtagvar) = @_;
 
@@ -103,6 +107,7 @@ END
 END
         <<END
 	if test -f xen/Kconfig; then
+		echo >>xen/.config CONFIG_EXPERT=y
 		echo >>xen/.config CONFIG_HVM_FEP=y
 	fi
 END
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#3 lore raw

PATCH v2 4/4 ts-xen-build: Enable CONFIG_VERBOSE_DEBUG

In reply to Ian Jackson
---
 ts-xen-build | 1 +
 1 file changed, 1 insertion(+)
ts-xen-build +1 -0
index 80f6492..7cdd365 100755
@@ -109,6 +109,7 @@ END
 	if test -f xen/Kconfig; then
 		echo >>xen/.config CONFIG_EXPERT=y
 		echo >>xen/.config CONFIG_HVM_FEP=y
+		echo >>xen/.config CONFIG_VERBOSE_DEBUG=y
 	fi
 END
                );
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#4 lore raw

Re: [OSSTEST PATCH v2 4/4] ts-xen-build: Enable CONFIG_VERBOSE_DEBUG

Quoted 11 lines · Ian Jackson
---
 ts-xen-build | 1 +
 1 file changed, 1 insertion(+)
ts-xen-build +0 -0
index 80f6492..7cdd365 100755

ts-xen-build END · line 115

Quoted 7 lines
ts-xen-build +1 -0
@@ -109,6 +109,7 @@ END
 	if test -f xen/Kconfig; then
 		echo >>xen/.config CONFIG_EXPERT=y
 		echo >>xen/.config CONFIG_HVM_FEP=y
+		echo >>xen/.config CONFIG_VERBOSE_DEBUG=y
 	fi
 END
                );

Overall, Reviewed-by: Andrew Cooper <[email protected]>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel