c9e3853c04
24448-x86-pt-irq-leak.patch - Upstream patches from Jan 24261-x86-cpuidle-Westmere-EX.patch 24417-amd-erratum-573.patch 24429-mceinj-tool.patch 24447-x86-TXT-INIT-SIPI-delay.patch ioemu-9868-MSI-X.patch - bnc#732884 - remove private runlevel 4 from init scripts xen.no-default-runlevel-4.patch - bnc#727515 - Fragmented packets hang network boot of HVM guest ipxe-gcc45-warnings.patch ipxe-ipv4-fragment.patch ipxe-enable-nics.patch - fate#310510 - fix xenpaging update xenpaging.autostart.patch, make changes with mem-swap-target permanent update xenpaging.doc.patch, mention issues with live migration - fate#310510 - fix xenpaging add xenpaging.evict_mmap_readonly.patch update xenpaging.error-handling.patch, reduce debug output - bnc#736824 - Microcode patches for AMD's 15h processors panic the system 24189-x86-p2m-pod-locking.patch 24412-x86-AMD-errata-model-shift.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=164
32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
Subject: xenpaging/qemu-dm: add command to flush buffer cache.
|
|
|
|
Add support for a xenstore dm command to flush qemu's buffer cache.
|
|
|
|
qemu will just keep mapping pages and not release them, which causes problems
|
|
for the memory pager (since the page is mapped, it won't get paged out). When
|
|
the pager has trouble finding a page to page out, it asks qemu to flush its
|
|
buffer, which releases all the page mappings. This makes it possible to find
|
|
pages to swap out agian.
|
|
|
|
Already-Signed-off-by: Patrick Colp <Patrick.Colp@citrix.com>
|
|
Signed-off-by: Olaf Hering <olaf@aepfle.de>
|
|
|
|
---
|
|
tools/ioemu-qemu-xen/xenstore.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
Index: xen-4.1.2-testing/tools/ioemu-qemu-xen/xenstore.c
|
|
===================================================================
|
|
--- xen-4.1.2-testing.orig/tools/ioemu-qemu-xen/xenstore.c
|
|
+++ xen-4.1.2-testing/tools/ioemu-qemu-xen/xenstore.c
|
|
@@ -1082,6 +1082,9 @@ static void xenstore_process_dm_command_
|
|
do_pci_add(par);
|
|
free(par);
|
|
#endif
|
|
+ } else if (!strncmp(command, "flush-cache", len)) {
|
|
+ fprintf(logfile, "dm-command: flush caches\n");
|
|
+ qemu_invalidate_map_cache();
|
|
} else {
|
|
fprintf(logfile, "dm-command: unknown command\"%*s\"\n", len, command);
|
|
}
|