Re: [virtio-comment] [PATCH] virtio-gpu.tex: fix some UTF-8 damage

From
Stefan Hajnoczi <>
Date
2021-01-18T16:34:26+00:00
ID
Thread
Re: [virtio-comment] [PATCH] virtio-gpu.tex: fix some UTF-8 damage
On Thu, Jan 14, 2021 at 09:20:59PM +0000, Alex Bennée wrote:
> While building I got a warning about:
> 
>   ! Package utf8x Error: MalformedUTF-8sequence.
> 
> Fixes: 87fa6b5 ("virtio-gpu: add support for mapping/unmapping blob resources")
> Signed-off-by: Alex Bennée <>
> ---
>  virtio-gpu.tex | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/virtio-gpu.tex b/virtio-gpu.tex
> index 8225db6..a6afeda 100644
> --- a/virtio-gpu.tex
> +++ b/virtio-gpu.tex
> @@ -660,11 +660,11 @@ \subsubsection{Device Operation: controlq (3d)}\label{sec:Device Types / GPU Dev
>          le64 offset;
>  };
>  
> -#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f
> +#define VIRTIO_GPU_MAP_CACHE_MASK      0x0f

For anyone wondering what the issue was:

  $ hexdump -C
  00000020  53 4b 20 c2 a0 20 c2 a0  20 c2 a0 30 78 30 66 0a  |SK .. .. ..0x0f.|

The 0xc2 and 0xa0 bytes are being removed, leaving just the ASCI SPACE
(0x20) characters.

Reviewed-by: Stefan Hajnoczi <>