On Mon, May 20, 2013 at 8:05 AM, Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> wrote: > From: "Aneesh Kumar K.V" <aneesh.ku...@linux.vnet.ibm.com> > > When guest tries to chmod a block or char device file over 9pfs, > the qemu process segfaults. With 9p2000.u protocol we use wstat to > change mode bits and client don't send extension information for > chmod. We need to check for size field to check whether extension > info is present or not. > > Signed-off-by: Aneesh Kumar K.V <aneesh.ku...@linux.vnet.ibm.com> > --- > hw/9pfs/virtio-9p.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>