ia64/xen-unstable
changeset 18570:6208fcb4082f
[IA64] xc restore: fix domain restore.
Fix domain restore of version one format.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Fix domain restore of version one format.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author | Isaku Yamahata <yamahata@valinux.co.jp> |
---|---|
date | Thu Oct 02 17:27:57 2008 +0900 (2008-10-02) |
parents | 0cc0252e74e1 |
children | c8511a5e9a57 |
files | tools/libxc/ia64/xc_ia64_linux_restore.c |
line diff
1.1 --- a/tools/libxc/ia64/xc_ia64_linux_restore.c Thu Oct 02 17:27:57 2008 +0900 1.2 +++ b/tools/libxc/ia64/xc_ia64_linux_restore.c Thu Oct 02 17:27:57 2008 +0900 1.3 @@ -636,7 +636,7 @@ xc_domain_restore(int xc_handle, int io_ 1.4 memset(buffer, 0, sizeof(buffer)); 1.5 memmap_info = (xen_ia64_memmap_info_t *)buffer; 1.6 memdesc = (efi_memory_desc_t*)&memmap_info->memdesc[0]; 1.7 - memmap_info->efi_memmap_size = sizeof(*memmap_info) + sizeof(*memdesc); 1.8 + memmap_info->efi_memmap_size = sizeof(*memdesc); 1.9 memmap_info->efi_memdesc_size = sizeof(*memdesc); 1.10 memmap_info->efi_memdesc_version = EFI_MEMORY_DESCRIPTOR_VERSION; 1.11