From 1c532d92ab9bc2a8180296d7abe14f29d762f612 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Fri, 10 Jun 2011 15:29:11 +0200 Subject: fsdev: Fix archs that dont use fsdev Fix provided by: "Aneesh Kumar K.V" Signed-off-by: Edgar E. Iglesias --- fsdev/qemu-fsdev-dummy.c | 8 ++++++++ 1 file changed, 8 insertions(+) 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 #include #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); -- cgit v1.2.3