qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v3] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nw


From: Stefan Hajnoczi
Subject: [Qemu-devel] Re: [PATCH v3] v9fs_walk: As per 9p2000 RFC, MAXWELEM >= nwnames >= 0.
Date: Tue, 5 Apr 2011 09:54:20 +0100

On Tue, Apr 5, 2011 at 6:56 AM, Harsh Prateek Bora
<address@hidden> wrote:
> The nwnames field in TWALK message is assumed to be >=0 and <= MAXWELEM
> which is defined as macro P9_MAXWELEM (16) in virtio-9p.h as per 9p2000
> RFC. Appropriate changes are required in V9fsWalkState and v9fs_walk.
>
> v3:
> - Updated if-else conditions to appropriately handle nwnames = 0.
>
> v2:
> - Added check in v9fs_walk_complete as well.
>
> Signed-off-by: Harsh Prateek Bora <address@hidden>
> ---
>  hw/9pfs/virtio-9p.c |    7 +++++--
>  hw/9pfs/virtio-9p.h |    2 +-
>  2 files changed, 6 insertions(+), 3 deletions(-)

hw/virtio-9p.c

I think you've submitted a patch against an internal tree that isn't upstream.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]