[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] docs/misc: livepatch: Espace backslash


  • To: Julien Grall <julien@xxxxxxx>
  • From: "Wieczorkiewicz, Pawel" <wipawel@xxxxxxxxx>
  • Date: Tue, 14 Jan 2020 08:40:10 +0000
  • Accept-language: en-US
  • Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "Wieczorkiewicz, Pawel" <wipawel@xxxxxxxxx>, Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>, Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
  • Delivery-date: Tue, 14 Jan 2020 08:40:25 +0000
  • Ironport-sdr: MFBLlrIN3LQ740KuuJ1hFV6XhHkvzqfJvo1b2ccn/Mo16woHNliMxFbcLKF5m+8JlMWpBmxTTj smZPw+QrEx9Q==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVyl6tD21tO8QlNkO0SjexvPUSC6fp17gA
  • Thread-topic: [PATCH] docs/misc: livepatch: Espace backslash


> On 13. Jan 2020, at 23:12, Julien Grall <julien@xxxxxxx> wrote:
> 
> pandoc is currently failing to generate the pdf with the following
> error:
> ! Undefined control sequence.
> l.1048   metadata string format is: key=value\0
> 
> In this case, we want to print \0 so we need to backslash-escape the
> first character.
> 
> Interestingly pandoc will not complain when creating html and will just
> ignore \0 completely.
> 
> Fixes: 5083e0ff93 ("livepatch: Add metadata runtime retrieval mechanism")
> Signed-off-by: Julien Grall <julien@xxxxxxx>
> Cc: Pawel Wieczorkiewicz <wipawel@xxxxxxxxx>
> ---
> docs/misc/livepatch.pandoc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/misc/livepatch.pandoc b/docs/misc/livepatch.pandoc
> index 2f3f95ed37..9473ad5991 100644
> --- a/docs/misc/livepatch.pandoc
> +++ b/docs/misc/livepatch.pandoc
> @@ -739,7 +739,7 @@ The caller provides:
>    Caller *MUST* allocate enough space to be able to store all received data
>    (i.e. total allocated space *MUST* match the `metadata_total_size` value
>    provided by the hypervisor). Individual payload metadata string can be of
> -   arbitrary length. The metadata string format is: 
> key=value\0...key=value\0.
> +   arbitrary length. The metadata string format is: 
> key=value\\0...key=value\\0.
>  * `metadata_len` - Virtual address of where to write the length of each 
> metadata
>    string of the payload. Caller *MUST* allocate up to `nr` of them. Each 
> *MUST*
>    be of sizeof(uint32_t) (4 bytes).
> -- 
> 2.17.1
> 


Sorry for yet another problem...

Reviewed-by: Pawel Wieczorkiewicz <wipawel@xxxxxxxxx>







Amazon Development Center Germany GmbH
Krausenstr. 38
10117 Berlin
Geschaeftsfuehrung: Christian Schlaeger, Jonathan Weiss
Eingetragen am Amtsgericht Charlottenburg unter HRB 149173 B
Sitz: Berlin
Ust-ID: DE 289 237 879




_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.