Re: [Qemu-devel] [PATCH v3] 9pfs: proxy: assert if unmarshal fails

2017-03-17 Thread Philippe Mathieu-Daudé
On 03/17/2017 08:20 PM, Greg Kurz wrote: Replies from the virtfs proxy are made up of a fixed-size header (8 bytes) and a payload of variable size (maximum 64kb). When receiving a reply, the proxy backend first reads the whole header and then unmarshals it. If the header is okay, it then does the

[Qemu-devel] [PATCH v3] 9pfs: proxy: assert if unmarshal fails

2017-03-17 Thread Greg Kurz
Replies from the virtfs proxy are made up of a fixed-size header (8 bytes) and a payload of variable size (maximum 64kb). When receiving a reply, the proxy backend first reads the whole header and then unmarshals it. If the header is okay, it then does the same operation with the payload. Since th