projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
924f766
)
fsdev: Fix archs that dont use fsdev
author
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Fri, 10 Jun 2011 13:29:11 +0000
(15:29 +0200)
committer
Edgar E. Iglesias
<edgar.iglesias@gmail.com>
Fri, 10 Jun 2011 13:29:11 +0000
(15:29 +0200)
Fix provided by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
fsdev/qemu-fsdev-dummy.c
patch
|
blob
|
history
diff --git
a/fsdev/qemu-fsdev-dummy.c
b/fsdev/qemu-fsdev-dummy.c
index
619e163
..
4e700dd
100644
(file)
--- 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);