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 da...@gibson.dropbear.id.au wrote: From: Timothy Rule tr...@linux.vnet.ibm.com 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

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 Gibsonda...@gibson.dropbear.id.au wrote: From: Timothy Ruletr...@linux.vnet.ibm.com The 9P spec states that for the stat message the stat[n] structure shall be encoded at offset 7 in the 9P message (see

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

2011-11-07 Thread David Gibson
From: Timothy Rule tr...@linux.vnet.ibm.com 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) at offset 7 of the 9P message, and then