hw/9pfs: Don't crash when we get a request with not supported 9p operation
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Wed, 1 Jun 2011 07:05:14 +0000 (12:35 +0530)
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Wed, 1 Jun 2011 17:25:27 +0000 (10:25 -0700)
commit7d38a092a237f0ad3d4e840f9d77f643c753dfde
treed0db67b8f4f3bdb5a77d96be1ed949373d162674
parent31501020d600ed8fb56ac80f3cae54a4ea191fc4
hw/9pfs: Don't crash when we get a request with not supported 9p operation

Return EOPNOTSUPP as error

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
hw/9pfs/virtio-9p.c