diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-08 08:52:59 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-09-08 08:52:59 -0500 |
commit | 63236c15e93e18d37ce657171a42af1f809d0aa6 (patch) | |
tree | f1a6f4e1dda9a0f32a034fa82039c2dc872199ca /hw/9pfs/virtio-9p-device.c | |
parent | c82dc29a9112f34e0a51cad9a412cf6d9d05dfb2 (diff) | |
parent | b9cb88b0565c9a292f79a1c7bd387b8e9978e2a6 (diff) | |
download | qemu-63236c15e93e18d37ce657171a42af1f809d0aa6.zip qemu-63236c15e93e18d37ce657171a42af1f809d0aa6.tar.gz qemu-63236c15e93e18d37ce657171a42af1f809d0aa6.tar.bz2 |
Merge remote-tracking branch 'aneesh/for-upstream-3' into staging
Diffstat (limited to 'hw/9pfs/virtio-9p-device.c')
-rw-r--r-- | hw/9pfs/virtio-9p-device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/9pfs/virtio-9p-device.c b/hw/9pfs/virtio-9p-device.c index 9466002..97f2da5 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"); @@ -171,6 +172,7 @@ static PCIDeviceInfo virtio_9p_info = { static void virtio_9p_register_devices(void) { pci_qdev_register(&virtio_9p_info); + virtio_9p_set_fd_limit(); } device_init(virtio_9p_register_devices) |