Re: [Qemu-devel] [PATCH v5 2/5] virtio-9p: message header is 7-byte long

2017-06-29 Thread Michael S. Tsirkin
On Wed, Jun 28, 2017 at 10:44:21PM +0200, Greg Kurz wrote: > The 9p spec at http://man.cat-v.org/plan_9/5/intro reads: > > "Each 9P message begins with a four-byte size field specify- > ing the length in bytes of the complete message including > the four bytes of the size field itself. The n

Re: [Qemu-devel] [PATCH v5 2/5] virtio-9p: message header is 7-byte long

2017-06-28 Thread Stefano Stabellini
On Wed, 28 Jun 2017, Greg Kurz wrote: > The 9p spec at http://man.cat-v.org/plan_9/5/intro reads: > > "Each 9P message begins with a four-byte size field specify- > ing the length in bytes of the complete message including > the four bytes of the size field itself. The next byte is > the m

[Qemu-devel] [PATCH v5 2/5] virtio-9p: message header is 7-byte long

2017-06-28 Thread Greg Kurz
The 9p spec at http://man.cat-v.org/plan_9/5/intro reads: "Each 9P message begins with a four-byte size field specify- ing the length in bytes of the complete message including the four bytes of the size field itself. The next byte is the message type, one of the constants in the enumerati