From: Aneesh Kumar K.V Date: Sun, 22 May 2011 10:03:57 +0000 (+0530) Subject: hw/9pfs: init fid list properly X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~1405^2~17^2~1770^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e5b2247eaf56f057402d99285cc76b0d3e8827f;p=sdk%2Femulator%2Fqemu.git hw/9pfs: init fid list properly Signed-off-by: Aneesh Kumar K.V --- diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index 44b9ace0af..97f2da5f0e 100644 --- a/hw/9pfs/virtio-9p-device.c +++ b/hw/9pfs/virtio-9p-device.c @@ -130,6 +130,7 @@ VirtIODevice *virtio_9p_init(DeviceState *dev, V9fsConf *conf) s->config_size = sizeof(struct virtio_9p_config) + s->tag_len; s->vdev.get_config = virtio_9p_get_config; + s->fid_list = NULL; if (v9fs_init_worker_threads() < 0) { fprintf(stderr, "worker thread initialization failed\n");