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

[Xen-changelog] [xen-unstable] [IA64] xc restore: fix domain restore.



# HG changeset patch
# User Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
# Date 1222936077 -32400
# Node ID 6208fcb4082ffbf457ffde198f3f01ca2a9f64e3
# Parent  0cc0252e74e1d6682f60ec146003a08aaaa90d34
[IA64] xc restore: fix domain restore.

Fix domain restore of version one format.

Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 tools/libxc/ia64/xc_ia64_linux_restore.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 0cc0252e74e1 -r 6208fcb4082f tools/libxc/ia64/xc_ia64_linux_restore.c
--- a/tools/libxc/ia64/xc_ia64_linux_restore.c  Thu Oct 02 17:27:57 2008 +0900
+++ b/tools/libxc/ia64/xc_ia64_linux_restore.c  Thu Oct 02 17:27:57 2008 +0900
@@ -636,7 +636,7 @@ xc_domain_restore(int xc_handle, int io_
         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;
 

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


 


Rackspace

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