|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-ia64-devel] [PATCH 3/7] xc restore: fix domain restore
[IA64] xc restore: fix domain restore.
Fix domain restore of version one format.
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
diff -r 650166b7cf6f tools/libxc/ia64/xc_ia64_linux_restore.c
--- a/tools/libxc/ia64/xc_ia64_linux_restore.c Mon Sep 29 21:09:17 2008 +0900
+++ b/tools/libxc/ia64/xc_ia64_linux_restore.c Mon Sep 29 21:10:11 2008 +0900
@@ -637,7 +637,7 @@
memset(buffer, 0, sizeof(buffer));
memmap_info = (xen_ia64_memmap_info_t *)buffer;
memdesc = (efi_memory_desc_t*)&memmap_info->memdesc[0];
- memmap_info->efi_memmap_size = sizeof(*memmap_info) + sizeof(*memdesc);
+ memmap_info->efi_memmap_size = sizeof(*memdesc);
memmap_info->efi_memdesc_size = sizeof(*memdesc);
memmap_info->efi_memdesc_version = EFI_MEMORY_DESCRIPTOR_VERSION;
Attachment:
fix-hvm-restore-version-one-format.patch _______________________________________________ Xen-ia64-devel mailing list Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ia64-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |