Re: [Qemu-devel] [PATCH v3 2/3] 9pfs: convert 'len/copied_len' field in V9fsXattr to the type of uint64_t

2016-10-13 Thread Greg Kurz
On Thu, 13 Oct 2016 03:09:42 -0700 Li Qiang wrote: > From: Li Qiang > > The 'len' in V9fsXattr comes from the 'size' argument in setxattr() > function in guest. The setxattr() function's declaration is this: > > int setxattr(const char *path, const char *name, > const void *value,

[Qemu-devel] [PATCH v3 2/3] 9pfs: convert 'len/copied_len' field in V9fsXattr to the type of uint64_t

2016-10-13 Thread Li Qiang
From: Li Qiang The 'len' in V9fsXattr comes from the 'size' argument in setxattr() function in guest. The setxattr() function's declaration is this: int setxattr(const char *path, const char *name, const void *value, size_t size, int flags); and 'size' is treated as u64 in linux ke