Update EFI docs to document bug.
PATCH 1/1 Update EFI docs to document bug.
Hey,
I mentioned this issue a month ago on the xen-devel mailing list (can't find link, will update bug system) but I had not made any progress at all. This patch documents this in the documentation - and once the fix is in we can revert it.
This is done so that we can have it before the RCs start and folks don't trip over this.
docs/misc/efi.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
Konrad Rzeszutek Wilk (1):
docs: EFI configuration file must be ASCII type
PATCH 1/1 docs: EFI configuration file must be ASCII type
Currently Xen can only read the configuration file if it is in ASCII format. If it is in CHAR16 or CHAR8 it will choke. One way to verify this is to use 'file':
xen.cfg: ASCII text xen-char16.cfg: Little-endian UTF-16 Unicode text, with CRLF, CR line terminators
The latter is no good.
--- docs/misc/efi.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
docs/misc/efi.markdown +2 -1
@@ -34,7 +34,8 @@ The configuration file consists of one or more sections headed by a section name enclosed in square brackets, with individual values specified in each section. A section named `[global]` is treated specially to allow certain settings to apply to all other sections (or to provide defaults for certain -settings in case individual sections don't specify them). A typical file would +settings in case individual sections don't specify them). This file MUST be +in ASCII type and not in CHAR8 or CHAR16 (for now). A typical file would thus look like this (`#` serving as comment character): **************************example begin******************************
Signature · 1 line
1.9.3
Re: [PATCH for-xen-4.5] docs: EFI configuration file must be ASCII type
Quoted 25 lines
Quoted 1 line
Quoted 1 line · On 22.10.14 at 18:30, <[email protected]> wrote:
Currently Xen can only read the configuration file if it is in ASCII format. If it is in CHAR16 or CHAR8 it will choke. One way to verify this is to use 'file':
xen.cfg: ASCII text xen-char16.cfg: Little-endian UTF-16 Unicode text, with CRLF, CR lineterminators
The latter is no good.
Signed-off-by Konrad Rzeszutek Wilk <[email protected]>--- docs/misc/efi.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)docs/misc/efi.markdown +0
-0@@ -34,7 +34,8 @@ The configuration file consists of one or more sectionsheaded by a section
name enclosed in square brackets, with individual values specified in each section. A section named[global]is treated specially to allow certain settings to apply to all other sections (or to provide defaults for certain
docs/misc/efi.markdown The configuration file consists of one or more sections headed by a section · line 38
Quoted 3 lines
docs/misc/efi.markdown +2
-1-settings in case individual sections don't specify them). A typical file would +settings in case individual sections don't specify them). This file MUST be +in ASCII type and not in CHAR8 or CHAR16 (for now). A typical file would
I'll convert this to use UTF instead of CHAR, and also re-word slightly to make clear other types aren't being supported either.
Jan