Skip to content

xenpaging changes for 4.0

Olaf Hering xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18xenpaging: Fix-up xenpaging tool code.tools/xenpaging/xenpaging.c+18 -40 replies
2/18xenpaging: call pageout policy function in xenpaging_evict_pagetools/xenpaging/xenpaging.c+2 -20 replies
3/18xenpaging: fix fd leak in xenstoretools/xenstore/xs.c+2 -00 replies
4/18xenpaging: break endless loop during inital page-out with large pagefilestools/xenpaging/policy_default.c tools/xenpaging/xenpaging.c+33 -90 replies
5/18xenpaging: Open paging file only if xenpaging_init() succeedstools/xenpaging/xenpaging.c+9 -90 replies
6/18xenpaging: allow only one xenpaging binary per guesttools/xenpaging/xenpaging.c xen/arch/x86/mm/mem_event.c+18 -13 replies
7/18xenpaging/qemu-dm: add command to flush buffer cache.tools/ioemu-remote/xenstore.c+3 -00 replies
8/18xenpaging: handle paged-out pages in XENMEM_* commandstools/firmware/hvmloader/hvmloader.c tools/firmware/hvmloader/util.c tools/include/Makefile +5 more+131 -390 replies
9/18xenpaging: populate only paged-out pagesxen/arch/x86/hvm/emulate.c xen/arch/x86/hvm/hvm.c xen/arch/x86/mm/guest_walk.c +1 more+18 -110 replies
10/18xenpaging: reduce MINIMUM_RESTART_TIMEtools/python/xen/xend/XendConstants.py+1 -10 replies
11/18xenpaging: start xenpaging via config optiontools/examples/xmexample.hvm tools/python/README.XendConfig tools/python/README.sxpcfg +5 more+107 -00 replies
12/18xenpaging: add signal handlingtools/xenpaging/xenpaging.c+31 -80 replies
13/18xenpaging: increase recently used pages from 4MB to 64MBtools/xenpaging/policy_default.c+1 -10 replies
14/18xenpaging: page-in granttable entriesxen/common/grant_table.c+60 -340 replies
15/18xenpaging: handle dying guest in notify_via_xen_event_channelxen/common/event_channel.c+6 -00 replies
16/18xenpaging: prevent page-out of first 16MBtools/xenpaging/policy_default.c+3 -20 replies
17/18xenpaging: add dynamic startup delay for xenpagingtools/python/xen/xend/image.py+28 -00 replies
18/18xenpaging: random debug statements and partial fixestools/firmware/hvmloader/util.c tools/libxc/xc_dom_x86.c tools/libxc/xc_domain.c +17 more+131 -92 replies

Reviews trailers per patch

None of the 18 patches has a Reviewed-by or Acked-by.

PatchPatrick ColpKeir FraserOlaf Hering
1/18Already-Signed-off-by
2/18Already-Acked-by
3/18
4/18Already-Acked-by Already-Acked-by
5/18Already-Acked-by Already-Acked-by
6/18Already-Acked-by Already-Acked-by
7/18Already-Signed-off-by
8/18
9/18
10/18
11/18
12/18
13/18
14/18Already-Acked-by Already-Acked-by
15/18Already-Acked-by Already-Acked-by
16/18
17/18
18/18Presented-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/18] xenpaging changes for 4.0

Here are some changes for xenpaging in the 4.0 branch.

Its just for review and comments. All changes are also needed for xen-unstable, I will prepare a patch queue also for this branch.

There are still issues with xenpaging.
My testsetup is a SLES11 SP1 guest with runlevel 6 as default runlevel to trigger automatic reboot. After a few iterations, there will be MMIO emulation errors. This happens with a startup delay of 15.0 seconds.

Another issue:
If the startup delay is 0.0, and over_allocated in hvmloader mem_alloc is forced to be active, the ASSERT in p2m_remove_page() triggers. This is because the passed mfn and the mfn returned by ->get_entry() do not match. So far I have no idea where the appearently missing set_gpfn_from_mfn() should go to. Normally over_allocated is not set because the XENMEM_populate_physmap call does not fail.

Olaf