]> git.proxmox.com Git - mirror_qemu.git/blobdiff - net/dump.c
net/dump: Issue a warning for the deprecated "-net dump"
[mirror_qemu.git] / net / dump.c
index 89a149b5ddbc8fba055a8f9d70017a04a20c48a8..442eb532f9e054bb61897d491fc663a858cd3536 100644 (file)
@@ -194,6 +194,9 @@ int net_init_dump(const Netdev *netdev, const char *name,
 
     assert(peer);
 
+    error_report("'-net dump' is deprecated. "
+                 "Please use '-object filter-dump' instead.");
+
     if (dump->has_file) {
         file = dump->file;
     } else {