mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Many fixes for save/restore and related areas for PAE in particular. Now
should be able to save/restore successfully on machines with up to 16GB and any size of guest. Signed-off-by: Steven Hand <steven@xensource.com>
This commit is contained in:
1 parent
329d8364e0
commit
4c908cf0e3
13 files changed
+297
-164
No files matched your search
@@ -129,7 +129,7 @@ def restore(xd, fd):
|
||||
l = read_exact(fd, sizeof_unsigned_long,
|
||||
"not a valid guest state file: pfn count read")
|
||||
nr_pfns = unpack("=L", l)[0] # XXX endianess
|
||||
if nr_pfns > 1024*1024: # XXX
|
||||
if nr_pfns > 16*1024*1024: # XXX
|
||||
raise XendError(
|
||||
"not a valid guest state file: pfn count out of range")
|
||||
|
||||
|
||||