]> git.proxmox.com Git - qemu.git/blobdiff - cpus.c
net: Warn about "-net nic" options which were ignored
[qemu.git] / cpus.c
diff --git a/cpus.c b/cpus.c
index 1fc34b75c2a3674be317d4ef5d14a5d6e5892bdd..0699f378b127f2ee495e3c31116e14ce4234bd36 100644 (file)
--- a/cpus.c
+++ b/cpus.c
@@ -297,7 +297,7 @@ static void qemu_event_increment(void)
 
     /* EAGAIN is fine, a read must be pending.  */
     if (ret < 0 && errno != EAGAIN) {
-        fprintf(stderr, "qemu_event_increment: write() filed: %s\n",
+        fprintf(stderr, "qemu_event_increment: write() failed: %s\n",
                 strerror(errno));
         exit (1);
     }
@@ -1142,6 +1142,11 @@ void set_cpu_log(const char *optarg)
     cpu_set_log(mask);
 }
 
+void set_cpu_log_filename(const char *optarg)
+{
+    cpu_set_log_filename(optarg);
+}
+
 /* Return the virtual CPU time, based on the instruction counter.  */
 int64_t cpu_get_icount(void)
 {