[Xen-ia64-devel] [PATCH 0/7] memory map info

2008-09-29 Thread Isaku Yamahata
Hi. This patch serires is mainly for fixing HVM domain save/restore which Zhang reported. The patch 7, add IA64_dom0VP_add_memdesc hypercall, is not for commit yet because pv_ops balloon driver isn't supported on ia64 yet. The reason why HVM domain save/restore is broken is as follows. Tools

[Xen-ia64-devel] [PATCH 1/7] libxc: improve foreign p2m exposure

2008-09-29 Thread Isaku Yamahata
[IA64] libxc: improve foreign p2m exposure. make foreign p2m exposure _PAGE_IO_BIT aware for robustness. Signed-off-by: Isaku Yamahata [EMAIL PROTECTED] diff -r b0c391acef0d tools/libxc/ia64/xc_ia64_stubs.c --- a/tools/libxc/ia64/xc_ia64_stubs.c Mon Sep 29 20:51:02 2008 +0900 +++

[Xen-ia64-devel] [PATCH 3/7] xc restore: fix domain restore

2008-09-29 Thread Isaku Yamahata
[IA64] xc restore: fix domain restore. Fix domain restore of version one format. Signed-off-by: Isaku Yamahata [EMAIL PROTECTED] 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 +++

[Xen-ia64-devel] [PATCH 2/7] hvm builder: more precisely use of memory size

2008-09-29 Thread Isaku Yamahata
[IA64] hvm builder: more precisely use of memory size. So far, VGA io size is ignored and memory size which assigned to domain is smaller than what user specified by VGA io size. This patch take VGA io size into consideration when memory population. Signed-off-by: Isaku Yamahata [EMAIL

[Xen-ia64-devel] [PATCH 4/7] libxc clean up

2008-09-29 Thread Isaku Yamahata
[IA64] libxc clean up. remove code duplication between xc_ia64_linux_save.c and xc_core_ia64.c by introducing xc_ia64_copy_memmap(). Later xc_ia64_copy_memmap() will be enhanced. Signed-off-by: Isaku Yamahata [EMAIL PROTECTED] diff -r 32d38d693280 tools/libxc/ia64/xc_ia64.h ---

[Xen-ia64-devel] [PATCH 7/7] add IA64_dom0VP_add_memdesc hypercall

2008-09-29 Thread Isaku Yamahata
[IA64] add IA64_dom0VP_add_memdesc hypercall. This hypercall is necessary for pv_ops balloon driver which uses Linux memory hot plug in order to tell the region which will be populated. Signed-off-by: Isaku Yamahata [EMAIL PROTECTED] diff -r d40dfdd3bfdb xen/arch/ia64/xen/dom0_ops.c ---

[Xen-ia64-devel] [PATCH 6/7] libxc: make xc_ia64_copy_memmap aware of sequence lock

2008-09-29 Thread Isaku Yamahata
[IA64] libxc: make xc_ia64_copy_memmap aware of sequence lock. Guest domain's memory map may be updated concurrently so that it is protected sequence lock. This patch makes xc_ia64_copy_memmap() aware of sequence lock. Signed-off-by: Isaku Yamahata [EMAIL PROTECTED] diff -r af0969e7e408

[Xen-ia64-devel] [PATCH 5/7] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn

2008-09-29 Thread Isaku Yamahata
[IA64] fix XENMEM_add_to_physmap with XENMAPSPACE_mfn. This patch fixes HVM domain save/restore. Tools stack is aware of where memory is populated in guest domain. But XENMEM_add_to_physmap with XENMAPSPACE_mfn doesn't update the information related to guest memory map. So guest domain