]> Git Repo - qemu.git/blobdiff - contrib/ivshmem-server/main.c
Merge remote-tracking branch 'remotes/awilliam/tags/vfio-update-20160328.0' into...
[qemu.git] / contrib / ivshmem-server / main.c
index 5afa8eef1130cee99f483ea440cfe01d4574f2a4..45776d8af4775a6b2eb72d22d93c56e6ac69d776 100644 (file)
@@ -7,7 +7,8 @@
  */
 
 #include "qemu/osdep.h"
-#include "qemu-common.h"
+#include "qapi/error.h"
+#include "qemu/cutils.h"
 
 #include "ivshmem-server.h"
 
@@ -200,6 +201,12 @@ main(int argc, char *argv[])
     };
     int ret = 1;
 
+    /*
+     * Do not remove this notice without adding proper error handling!
+     * Start with handling ivshmem_server_send_one_msg() failure.
+     */
+    printf("*** Example code, do not use in production ***\n");
+
     /* parse arguments, will exit on error */
     ivshmem_server_parse_args(&args, argc, argv);
 
This page took 0.024464 seconds and 4 git commands to generate.