08a77ed8c4
xenpaging.tools_xenpaging_cleanup.patch - fate#310510 - fix xenpaging xenpaging.mem_event_check_ring-free_requests.patch - install /etc/xen/examples/xentrace_formats.txt to get human readable tracedata if xenalyze is not used - fate#310510 - fix xenpaging xenpaging.autostart_delay.patch xenpaging.blacklist.patch xenpaging.MRU_SIZE.patch remove xenpaging.hacks.patch, realmode works - Upstream patches from Jan including fixes for the following bugs bnc#583568 - Xen kernel is not booting bnc#615206 - Xen kernel fails to boot with IO-APIC problem bnc#640773 - Xen kernel crashing right after grub bnc#643477 - issues with PCI hotplug/hotunplug to Xen driver domain 22223-vtd-igd-workaround.patch 22222-x86-timer-extint.patch 22214-x86-msr-misc-enable.patch 22213-x86-xsave-cpuid-check.patch 22194-tmem-check-pv-mfn.patch 22177-i386-irq-safe-map_domain_page.patch 22175-x86-irq-enter-exit.patch 22174-x86-pmtimer-accuracy.patch 22160-Intel-C6-EOI.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=76
28 lines
850 B
Diff
28 lines
850 B
Diff
Subject: xenpaging: prevent page-out of first 16MB
|
|
|
|
This is more a workaround than a bugfix:
|
|
Don't page out first 16MB of memory.
|
|
When the BIOS does its initialization process and xenpaging removes pages,
|
|
crashes will occour due to lack of support of xenpaging.
|
|
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/xenpaging/policy_default.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- xen-4.0.1-testing.orig/tools/xenpaging/policy_default.c
|
|
+++ xen-4.0.1-testing/tools/xenpaging/policy_default.c
|
|
@@ -60,8 +60,9 @@ int policy_init(xenpaging_t *paging)
|
|
for ( i = 0; i < MRU_SIZE; i++ )
|
|
mru[i] = INVALID_MFN;
|
|
|
|
- /* Don't page out page 0 */
|
|
- set_bit(0, bitmap);
|
|
+ /* Don't page out first 16MB */
|
|
+ for ( i = 0; i < ((16*1024*1024)/4096); i++ )
|
|
+ set_bit(i, bitmap);
|
|
|
|
out:
|
|
return rc;
|