libxl: disallow enabling PoD and ALTP2M at the same time
PATCH 1/1 libxl: disallow enabling PoD and ALTP2M at the same time
That combination would cause Xen to crash. Note that this is not a security issue because ALTP2M is experimental.
---
Cc: Ian Jackson <[email protected]>
Maybe backport this to 4.6 and 4.7?
--- tools/libxl/libxl_create.c | 7 +++++++ 1 file changed, 7 insertions(+)
tools/libxl/libxl_create.c +7 -0
@@ -885,6 +885,13 @@ static void initiate_domain_create(libxl__egc *egc, goto error_out; } +if (d_config->c_info.type ==LIBXL_DOMAIN_TYPE_HVM && +libxl_defbool_val (d_config->b_info.u.hvm.altp2m) && + pod_enabled) { +LOG (ERROR ,"Cannot enable PoD and ALTP2M at the same time" ); + goto error_out; + } +/* PV vNUMA is not yet supported because there is an issue with * cpuid handling. */
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time"):
Quoted 2 lines
That combination would cause Xen to crash. Note that this is not a security issue because ALTP2M is experimental.
You mean, though
Note that although this is a security issue, is not an XSA-worthy because ALTP2M is experimental.
And you should probably CC the altp2m maintainers.
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 10 lines · Ian Jackson
Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time"):
Quoted 2 lines
That combination would cause Xen to crash. Note that this is not a security issue because ALTP2M is experimental.
Acked-by Ian Jackson <[email protected]>You mean, though
Note that although this is a security issue, is not an XSA-worthy because ALTP2M is experimental.
Right, this is more accurate.
Quoted 3 lines
And you should probably CC the altp2m maintainers.
I've done this now.
Wei.
Quoted 1 line
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 5 lines · Wei Liu
Quoted 4 lines · Ian Jackson
Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time"):
Quoted 2 lines
That combination would cause Xen to crash. Note that this is not a security issue because ALTP2M is experimental.
Quoted 7 lines
Quoted 6 lines
Acked-by Ian Jackson <[email protected]>You mean, though
Note that although this is a security issue, is not an XSA-worthy because ALTP2M is experimental.
Updated commit message and applied.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Quoted 8 lines · Wei Liu
Quoted 7 lines · Wei Liu
Quoted 6 lines · Ian Jackson
Wei Liu writes ("[PATCH for-4.8] libxl: disallow enabling PoD and ALTP2M at the same time"):
Quoted 2 lines
That combination would cause Xen to crash. Note that this is not a security issue because ALTP2M is experimental.
Acked-by Ian Jackson <[email protected]>
Quoted 7 lines
Quoted 5 lines
Quoted 4 lines
You mean, though
Note that although this is a security issue, is not an XSA-worthy because ALTP2M is experimental.
Updated commit message and applied.
I interpreted the code for setting default value wrong. I will revert the patch and staging and rework it.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel