summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2019-05-17 17:34:48 +0200
committerGreg Kurz <groug@kaod.org>2019-05-17 17:34:48 +0200
commit6e4199af73a5f4d03b9d9b3ab005cae33c5c6666 (patch)
tree16137b0b583e0024041bb6e842168e5ed2700ee6 /vl.c
parentaee7f3ecd8b7c3f761fde2ca5d2b4d8c45b6dfa0 (diff)
downloadqemu-6e4199af73a5f4d03b9d9b3ab005cae33c5c6666.zip
vl: Deprecate -virtfs_synth
The synth fsdriver never got used for anything else but the QTest testcase for VirtIO 9P. And even there, QTest uses -fsdev synth and -device virtio-9p-... directly. Signed-off-by: Greg Kurz <groug@kaod.org> Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index b6709514c1..8456f006ed 100644
--- a/vl.c
+++ b/vl.c
@@ -3535,6 +3535,10 @@ int main(int argc, char **argv, char **envp)
QemuOpts *fsdev;
QemuOpts *device;
+ warn_report("'-virtfs_synth' is deprecated, please use "
+ "'-fsdev synth' and '-device virtio-9p-...' "
+ "instead");
+
fsdev = qemu_opts_create(qemu_find_opts("fsdev"), "v_synth",
1, NULL);
if (!fsdev) {