Re: [Qemu-devel] [PATCH] 9pfs: Stat response from server offset by 2 bytes

2011-11-08 Thread Tim Rule
On 11/08/2011 02:39 PM, Aneesh Kumar K.V wrote: On Tue, 8 Nov 2011 16:55:17 +1100, David Gibson wrote: From: Timothy Rule The 9P spec states that for the stat message the "stat[n]" structure shall be encoded at offset 7 in the 9P message (see §13.9 message Rstat). The existing code is encod

Re: [Qemu-devel] [PATCH] 9pfs: Stat response from server offset by 2 bytes

2011-11-08 Thread Aneesh Kumar K.V
On Tue, 8 Nov 2011 16:55:17 +1100, David Gibson wrote: > From: Timothy Rule > > The 9P spec states that for the stat message the "stat[n]" structure shall be > encoded at offset 7 in the 9P message (see §13.9 message Rstat). > > The existing code is encoding a 2 byte value (hard coded 0 value