Skip to content

xenpaging changes for xen-4.1

Olaf Hering xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xenpaging: correct dropping pages to avoid full ring buffertools/xenpaging/xenpaging.c+11 -110 replies
2/6xenpaging: prevent page-out of first 16MBtools/xenpaging/policy_default.c+3 -20 replies
3/6xenpaging: update machine_to_phys_mapping[] during page deallocationxen/common/page_alloc.c+9 -00 replies
4/6xenpaging: handle HVMCOPY_gfn_paged_out in copy_from/to_userxen/arch/x86/hvm/hvm.c xen/common/memory.c+38 -50 replies
5/6xenpaging: start xenpaging via config optiontools/examples/xmexample.hvm tools/python/README.XendConfig tools/python/README.sxpcfg +5 more+106 -00 replies
6/6xenpaging: document outstanding featuresdocs/misc/xenpaging.txt+20 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] xenpaging changes for xen-4.1

These changes make xenpaging work for me.
The first one is a fix for a bug I introduced shortly before leaving for vacation. Currently the guest will hang because the ring fills up when the balloon driver removes pages.
The second one avoids a crash during BIOS startup.
The third one is another version of the machine_to_phys_mapping[] handling. The fourth is only required when the balloon driver is used in the guest. The fifth implements a config option to allow an automated start of xenpaging for a given guest.
And the last one lists some action items for xenpaging.

As of now, xenpaging will either crash the hypervisor or the guest due to page-out of low memory. Perhaps the building of xenpaging could be disabled in the Makefile?

Olaf