# HG changeset patch
# User Paul Durrant <paul.durrant@citrix.com>
# 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@citrix.com>
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, ...)