ivshmem server should use the same default values as hw/misc/ivshmem.
Update accordingly.

Signed-off-by: David Marchand <david.march...@6wind.com>
---
 contrib/ivshmem-server/main.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/ivshmem-server/main.c b/contrib/ivshmem-server/main.c
index 1966e71..8792fc8 100644
--- a/contrib/ivshmem-server/main.c
+++ b/contrib/ivshmem-server/main.c
@@ -15,8 +15,8 @@
 #define DEFAULT_PID_FILE       "/var/run/ivshmem-server.pid"
 #define DEFAULT_UNIX_SOCK_PATH "/tmp/ivshmem_socket"
 #define DEFAULT_SHM_PATH       "ivshmem"
-#define DEFAULT_SHM_SIZE       (1024*1024)
-#define DEFAULT_N_VECTORS      16
+#define DEFAULT_SHM_SIZE       (4*1024*1024)
+#define DEFAULT_N_VECTORS      1
 
 /* arguments given by the user */
 typedef struct IvshmemServerArgs {
-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to