Update xl.cfg files for Xen 4.10 support
PATCH 1/1 Update xl.cfg files for Xen 4.10 support
From 4.10 onwards, the configuration file should use type= in preference to builder/loader. Leave the older options for legacy compatability.
---
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>
--- config/default-hvm.cfg.in | 5 ++++- config/default-pv.cfg.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)
config/default-hvm.cfg.in +4 -1
@@ -1,5 +1,8 @@ name="test-@@ENV@@-@@NAME@@@@VARIATION@@" -builder="hvm" + +type="hvm" +builder="hvm" # Legacy for before Xen 4.10 + memory=128 firmware_override="@@XTFDIR@@/tests/@@NAME@@/test-@@ENV@@-@@NAME@@"
config/default-pv.cfg.in +4 -1
@@ -1,4 +1,7 @@ name="test-@@ENV@@-@@NAME@@@@VARIATION@@" -loader="generic" + +type="pv" +loader="generic" # Legacy for before Xen 4.10 + memory=128 kernel="@@XTFDIR@@/tests/@@NAME@@/test-@@ENV@@-@@NAME@@"
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 17 lines · Andrew Cooper
From 4.10 onwards, the configuration file should use type= in preference to builder/loader. Leave the older options for legacy compatability.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>--- config/default-hvm.cfg.in | 5 ++++- config/default-pv.cfg.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)config/default-hvm.cfg.in +0
-0
config/default-hvm.cfg.in line 4
Quoted 5 lines
config/default-hvm.cfg.in +3
-1@@ -1,5 +1,8 @@ name="test-@@ENV@@-@@NAME@@@@VARIATION@@" -builder="hvm" + +type="hvm" +builder="hvm" # Legacy for before Xen 4.10
Since this examples are only for >= Xen 4.10, does it really make sense to keep the builder option here?
Do we expect people to mix and match example configuration files?
Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 26 lines · Roger Pau Monné
Quoted 17 lines · Andrew Cooper
From 4.10 onwards, the configuration file should use type= in preference to builder/loader. Leave the older options for legacy compatability.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>--- config/default-hvm.cfg.in | 5 ++++- config/default-pv.cfg.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)config/default-hvm.cfg.in +0
-0config/default-hvm.cfg.in line 4
Quoted 5 lines
config/default-hvm.cfg.in +3
-1@@ -1,5 +1,8 @@ name="test-@@ENV@@-@@NAME@@@@VARIATION@@" -builder="hvm" + +type="hvm" +builder="hvm" # Legacy for before Xen 4.10Since this examples are only for >= Xen 4.10, does it really make sense to keep the builder option here?
Quoted 1 line
Do we expect people to mix and match example configuration files?
There is only one version of XTF. It doesn't branch for different versions of Xen, so needs to support them all.
~Andrew
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Roger Pau Monné
Reviewed-byQuoted 27 lines · Andrew Cooper
Quoted 26 lines · Roger Pau Monné
Quoted 17 lines · Andrew Cooper
From 4.10 onwards, the configuration file should use type= in preference to builder/loader. Leave the older options for legacy compatability.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>--- config/default-hvm.cfg.in | 5 ++++- config/default-pv.cfg.in | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-)config/default-hvm.cfg.in +0
-0config/default-hvm.cfg.in line 4
Quoted 5 lines
config/default-hvm.cfg.in +3
-1@@ -1,5 +1,8 @@ name="test-@@ENV@@-@@NAME@@@@VARIATION@@" -builder="hvm" + +type="hvm" +builder="hvm" # Legacy for before Xen 4.10Since this examples are only for >= Xen 4.10, does it really make sense to keep the builder option here?
Quoted 4 lines
Quoted 1 line
Do we expect people to mix and match example configuration files?
There is only one version of XTF. It doesn't branch for different versions of Xen, so needs to support them all.
Oh, I was confused and thought this was a patch to the xl.cfg example files in xen.get, sorry.
Thanks, Roger.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 4 lines · Andrew Cooper
From 4.10 onwards, the configuration file should use type= in preference to builder/loader. Leave the older options for legacy compatability.
Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel