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

[Xen-changelog] [xen master] libxc: increase maximum migration stream record length



commit e48e33e219a8b045170bdc78f2eb96408d320f2b
Author:     Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Thu Aug 10 13:24:28 2017 +0200
Commit:     Wei Liu <wei.liu2@xxxxxxxxxx>
CommitDate: Fri Sep 1 17:39:26 2017 +0100

    libxc: increase maximum migration stream record length
    
    Today the maximum record lenth in a migration stream is 8MB. This
    limits the size of a PV domain to a little bit less than 1TB in the
    migration case, as the P2M frame list will exceed 8MB in this case.
    
    Raising the record size limit by a factor of 16 allows for domain
    sizes of nearly 16TB to be migrated. This ought to be enough.
    
    Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxc/xc_sr_stream_format.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/libxc/xc_sr_stream_format.h 
b/tools/libxc/xc_sr_stream_format.h
index 3291b25..15ff1c7 100644
--- a/tools/libxc/xc_sr_stream_format.h
+++ b/tools/libxc/xc_sr_stream_format.h
@@ -57,8 +57,8 @@ struct xc_sr_rhdr
 
 /* All records must be aligned up to an 8 octet boundary */
 #define REC_ALIGN_ORDER               (3U)
-/* Somewhat arbitrary - 8MB */
-#define REC_LENGTH_MAX                (8U << 20)
+/* Somewhat arbitrary - 128MB */
+#define REC_LENGTH_MAX                (128U << 20)
 
 #define REC_TYPE_END                        0x00000000U
 #define REC_TYPE_PAGE_DATA                  0x00000001U
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

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