[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix hvmloader xenbus segment array length



# HG changeset patch
# User Paul Durrant <paul.durrant@xxxxxxxxxx>
# Date 1322574403 0
# Node ID 51692288a6e84c941f9e5049c73b7246bab97f70
# Parent  e1e952982cf1d7a0c38a7822a8b5e78ba04b5ba5
Fix hvmloader xenbus segment array length.

c/s acc408d667e1 had this one too short for handling a write. This
incremental patch rectifies the problem.

Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>

diff -r e1e952982cf1 -r 51692288a6e8 tools/firmware/hvmloader/xenbus.c
--- a/tools/firmware/hvmloader/xenbus.c Tue Nov 29 13:41:54 2011 +0000
+++ b/tools/firmware/hvmloader/xenbus.c Tue Nov 29 13:46:43 2011 +0000
@@ -143,7 +143,7 @@ static void ring_read(char *data, uint32
     }
 }
 
-#define MAX_SEGMENTS    3
+#define MAX_SEGMENTS    4
 
 /* Send a request. */
 static void xenbus_send(uint32_t type, ...)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.