osstest: followup from the PVH toolstack series
cover osstest: followup from the PVH toolstack series
Hello,
The two patches in this series modify osstest in order to fix the PVH tests, and also switch HVM guests to use the 'type' option (note that the builder option is kept for compatibility reasons).
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
PATCH 1/2 osstest: fix PVH DomU tests
The pvh=1 xl option was removed, so switch the PVH tests to use type='pvh' instead.
---
Cc: [email protected]
--- ts-debian-fixup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
ts-debian-fixup +2 -2
@@ -136,8 +136,8 @@ sub otherfixupcfg () { my $pvh = guest_var($gho,'pvh',undef); if ($pvh) { - $cfg =~ s/^pvh\b.*//mg; - $cfg .= "\npvh=$pvh\n"; + $cfg =~ s/^type=\b.*//mg; + $cfg .= "\ntype='pvh'\n"; } # PCI passthrough
Signature · 7 lines
2.13.5 (Apple Git-94) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 2/2 osstest: use type='hvm' for HVM guests
In reply to Roger Pau MonneThe previous builder='hvm' is also kept for compatibility with older Xen releases. Note that the type option is ignored in previous Xen versions.
---
Cc: [email protected]
--- Osstest/TestSupport.pm | 1 + 1 file changed, 1 insertion(+)
Osstest/TestSupport.pm +1 -0
@@ -2089,6 +2089,7 @@ sub more_prepareguest_hvm ($$$$;@) { my $cfg = <<END; $kernel builder = 'hvm' +type = 'hvm' # disk = [ $disks
Signature · 7 lines
2.13.5 (Apple Git-94) _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 2/2] osstest: use type='hvm' for HVM guests
Roger Pau Monne writes ("[PATCH 2/2] osstest: use type='hvm' for HVM guests"):
Quoted 3 lines
The previous builder='hvm' is also kept for compatibility with older Xen releases. Note that the type option is ignored in previous Xen versions.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 1/2] osstest: fix PVH DomU tests
In reply to Roger Pau MonneRoger Pau Monne writes ("[PATCH 1/2] osstest: fix PVH DomU tests"):
Quoted 2 lines
The pvh=1 xl option was removed, so switch the PVH tests to use type='pvh' instead.
What will be the effect of this on old Xen branches ?
I think it might stop the pvh tests from working in those branches.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 1/2] osstest: fix PVH DomU tests
Quoted 5 lines · Ian Jackson
Roger Pau Monne writes ("[PATCH 1/2] osstest: fix PVH DomU tests"):
Quoted 2 lines
The pvh=1 xl option was removed, so switch the PVH tests to use type='pvh' instead.
What will be the effect of this on old Xen branches ?
PVHv1 is also removed from the Linux kernel, so it's just a matter of time until those start failing, if they are not failing already.
Quoted 1 line
I think it might stop the pvh tests from working in those branches.
This change will just turn the PVH tests into PV test on old branches, because type=pvh will be ignored and the guest is going to boot in PV mode.
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 1/2] osstest: fix PVH DomU tests
Roger Pau Monné writes ("Re: [PATCH 1/2] osstest: fix PVH DomU tests"):
Quoted 6 lines · Ian Jackson
Quoted 1 line
I think it might stop the pvh tests from working in those branches.
This change will just turn the PVH tests into PV test on old branches, because type=pvh will be ignored and the guest is going to boot in PV mode.
That's not brilliant. Can we make this change conditional and/or drop the pvh tests for older branches ?
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 1/2] osstest: fix PVH DomU tests
Quoted 10 lines · Ian Jackson
Roger Pau Monné writes ("Re: [PATCH 1/2] osstest: fix PVH DomU tests"):
Quoted 6 lines · Ian Jackson
Quoted 1 line
I think it might stop the pvh tests from working in those branches.
This change will just turn the PVH tests into PV test on old branches, because type=pvh will be ignored and the guest is going to boot in PV mode.
That's not brilliant. Can we make this change conditional and/or drop the pvh tests for older branches ?
IMHO we should drop the PVH tests for older branches (ie: PVHv1 tests). This has already been removed from current Linux and Xen, so it makes no sense to continue testing them.
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel