summaryrefslogtreecommitdiff
path: root/fsdev
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2011-06-01 12:35:13 +0530
committerVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>2011-06-01 10:23:46 -0700
commit8858a68cb7086f0aba871a41db72ccdec95dcbeb (patch)
treee455d4db9190b5a5f53ddaec8befb10a6e675f38 /fsdev
parent1d7a457b65a4ee772719fb253aa613cb8cde8e8b (diff)
downloadqemu-8858a68cb7086f0aba871a41db72ccdec95dcbeb.tar.gz
qemu-8858a68cb7086f0aba871a41db72ccdec95dcbeb.tar.bz2
qemu-8858a68cb7086f0aba871a41db72ccdec95dcbeb.zip
virtio-9p: Don't link to 9p if virtio is not enabled
If virtio is not enabled then we should not pull in virtfs files Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Signed-off-by: Venkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>
Diffstat (limited to 'fsdev')
-rw-r--r--fsdev/qemu-fsdev-dummy.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c
new file mode 100644
index 0000000000..619e163a46
--- /dev/null
+++ b/fsdev/qemu-fsdev-dummy.c
@@ -0,0 +1,20 @@
+/*
+ * Virtio 9p
+ *
+ * Copyright IBM, Corp. 2010
+ *
+ * Authors:
+ * Gautham R Shenoy <ego@in.ibm.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2. See
+ * the COPYING file in the top-level directory.
+ *
+ */
+#include <stdio.h>
+#include <string.h>
+#include "qemu-fsdev.h"
+
+int qemu_fsdev_add(QemuOpts *opts)
+{
+ return 0;
+}