summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fsdev/qemu-fsdev-dummy.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fsdev/qemu-fsdev-dummy.c b/fsdev/qemu-fsdev-dummy.c
index 619e163a46..4e700dd4e4 100644
--- a/fsdev/qemu-fsdev-dummy.c
+++ b/fsdev/qemu-fsdev-dummy.c
@@ -13,8 +13,16 @@
#include <stdio.h>
#include <string.h>
#include "qemu-fsdev.h"
+#include "qemu-config.h"
int qemu_fsdev_add(QemuOpts *opts)
{
return 0;
}
+
+static void fsdev_register_config(void)
+{
+ qemu_add_opts(&qemu_fsdev_opts);
+ qemu_add_opts(&qemu_virtfs_opts);
+}
+machine_init(fsdev_register_config);