virtio-9p: Check the return value of llistxattr.
commit0562c67432991d1cee442615d70fd39e638bec71
authorKusanagi Kouichi <slash@ac.auone-net.jp>
Sat, 30 Oct 2010 02:52:39 +0000 (30 11:52 +0900)
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Fri, 3 Dec 2010 00:08:27 +0000 (2 16:08 -0800)
tree8bf7c936c1e22af74b8b06f4e4bfbfc877ea7e43
parentd04e2826f5509092c8f0c6c3db7fa3232d912f7e
virtio-9p: Check the return value of llistxattr.

If llistxattr returned 0, qemu aborts.

Signed-off-by: Kusanagi Kouichi <slash@ac.auone-net.jp>
Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com>
hw/virtio-9p-xattr.c