diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-06-10 15:29:11 +0200 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2011-06-10 15:29:11 +0200 |
commit | 1c532d92ab9bc2a8180296d7abe14f29d762f612 (patch) | |
tree | b60d9d0be3599ffc35c396d525bcd3cf84ed4b15 /fsdev/qemu-fsdev-dummy.c | |
parent | 924f766af9be3ff036a419fc85ed740aa01f8eac (diff) |
fsdev: Fix archs that dont use fsdev
Fix provided by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'fsdev/qemu-fsdev-dummy.c')
-rw-r--r-- | fsdev/qemu-fsdev-dummy.c | 8 |
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); |