From: "Jan Beulich" Subject: Re: [PATCH for-xen-4.5] docs: EFI configuration file must be ASCII type Date: Thu, 23 Oct 2014 08:18:40 +0100 Message-ID: <5448C7F0020000780004153D@mail.emea.novell.com> References: <1413995440-22473-1-git-send-email-konrad.wilk@oracle.com> <1413995440-22473-2-git-send-email-konrad.wilk@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XhCfS-0004Fn-0T for xen-devel@lists.xenproject.org; Thu, 23 Oct 2014 07:18:42 +0000 In-Reply-To: <1413995440-22473-2-git-send-email-konrad.wilk@oracle.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk Cc: andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 22.10.14 at 18:30, 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 line > terminators > > The latter is no good. > > Signed-off-by: Konrad Rzeszutek Wilk > --- > docs/misc/efi.markdown | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/docs/misc/efi.markdown b/docs/misc/efi.markdown > index ad8da93..78a8122 100644 > --- a/docs/misc/efi.markdown > +++ b/docs/misc/efi.markdown > @@ -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 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